base-specs/nautilus-sendto.spec
author chrisk
Tue, 20 Apr 2010 16:20:31 +0000
changeset 17881 1eaaaad29d9a
parent 17865 b7ff02e93f66
child 20266 8bea88f4b589
permissions -rw-r--r--
2010-04-20 Christian Kelly <[email protected]> * SUNWlibgee.spec, SUNWGParted.spec, base-specs/libdiscid.spec, base-specs/cairomm.spec, base-specs/gir-repository.spec, base-specs/sqlite.spec, base-specs/brltty.spec, base-specs/gok.spec, base-specs/dmz-cursor-aa.spec, base-specs/gnome-python-desktop.spec, base-specs/dmz-cursor.spec, base-specs/gtkimageview.spec, base-specs/mousetweaks.spec, base-specs/java-atk-wrapper.spec, base-specs/gegl.spec, base-specs/acroread.spec, base-specs/nautilus-sendto.spec, base-specs/dogtail.spec, base-specs/libchamplain.spec, base-specs/vala.spec, base-specs/clutter.spec, base-specs/libgdata.spec, base-specs/gobject-introspection.spec, base-specs/eog-plugins.spec, base-specs/opensolaris-gdm-themes.spec, base-specs/opensolaris-backgrounds.spec, base-specs/thunderbird.spec, base-specs/firefox.spec, base-specs/nwam-manager.spec, base-specs/gedit-plugins.spec, SUNWgnome-dtlogin-integration.spec, closed/SUNWgnome-solaris-branding.spec, closed/SUNWflash-player-plugin.spec, SUNWgnome-themes.spec, SUNWmyspell-dictionary-l10n.spec, SUNWespeak.spec: Fix Vendor/OSR/License fields.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17317
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     1
#
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     2
# spec file for package nautilus-sendto
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     3
#
17838
e011c05147cc 2010-04-14 Halton Huo <[email protected]>
halton
parents: 17779
diff changeset
     4
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
17317
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     6
# package are under the same license as the package itself.
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     7
#
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     8
# Owner:halton
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
     9
#
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    10
17881
1eaaaad29d9a 2010-04-20 Christian Kelly <[email protected]>
chrisk
parents: 17865
diff changeset
    11
%define owner halton
1eaaaad29d9a 2010-04-20 Christian Kelly <[email protected]>
chrisk
parents: 17865
diff changeset
    12
1eaaaad29d9a 2010-04-20 Christian Kelly <[email protected]>
chrisk
parents: 17865
diff changeset
    13
%define OSR LFI#105446 (gnome Exec. summary):n/a
1eaaaad29d9a 2010-04-20 Christian Kelly <[email protected]>
chrisk
parents: 17865
diff changeset
    14
17317
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    15
Name:		nautilus-sendto
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    16
License:	GPL v2
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    17
Group:		Development/Libraries
17779
35779053d023 2010-03-30 Halton Huo <[email protected]>
halton
parents: 17722
diff changeset
    18
Version:	2.28.4
17317
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    19
Release:	1
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    20
Distribution:   Java Desktop System
17865
b7ff02e93f66 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17838
diff changeset
    21
Vendor:         Gnome Community
17317
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    22
URL:		http://www.gnome.org/
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    23
Summary:	Nautilus context menu for sending files
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    24
Source:		http://download.gnome.org/sources/%{name}/2.28/%{name}-%{version}.tar.bz2
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    25
BuildRoot:      %{_tmppath}/%{name}-%{version}-root
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    26
17369
8dab43c76945 2010-01-17 Christian Kelly <[email protected]>
chrisk
parents: 17317
diff changeset
    27
# date:2010-01-17 owner:chrisk type:bug
8dab43c76945 2010-01-17 Christian Kelly <[email protected]>
chrisk
parents: 17317
diff changeset
    28
Patch1:         nautilus-sendto-01-fixxref-modules.diff
17838
e011c05147cc 2010-04-14 Halton Huo <[email protected]>
halton
parents: 17779
diff changeset
    29
# date:2010-04-14 owner:halton type:bug doo:15332 bugzilla:614222
e011c05147cc 2010-04-14 Halton Huo <[email protected]>
halton
parents: 17779
diff changeset
    30
Patch2:         nautilus-sendto-02-mailcmd.diff
e011c05147cc 2010-04-14 Halton Huo <[email protected]>
halton
parents: 17779
diff changeset
    31
# date:2010-04-14 owner:halton type:bug doo:15112 bugzilla:608126
e011c05147cc 2010-04-14 Halton Huo <[email protected]>
halton
parents: 17779
diff changeset
    32
Patch3:         nautilus-sendto-03-unload-pidgin.diff
17369
8dab43c76945 2010-01-17 Christian Kelly <[email protected]>
chrisk
parents: 17317
diff changeset
    33
17317
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    34
BuildRequires:  gtk2-devel
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    35
BuildRequires:  libglade2-devel
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    36
BuildRequires:  evolution-data-server-devel >= 1.9.1
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    37
BuildRequires:  libgnomeui-devel
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    38
BuildRequires:  nautilus-devel >= 2.5.4
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    39
BuildRequires:  pidgin-devel >= 2.0.0
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    40
BuildRequires:  gettext
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    41
BuildRequires:  perl-XML-Parser intltool
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    42
BuildRequires:  dbus-glib-devel >= 0.70
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    43
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    44
%description
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    45
The nautilus-sendto package provides a Nautilus context menu for
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    46
sending files via other desktop applications.  These functions are
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    47
implemented as plugins, so nautilus-sendto can be extended with
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    48
additional features.  This package provides a default plugin for
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    49
Evolution integration.
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    50
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    51
%prep
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    52
%setup -q
17369
8dab43c76945 2010-01-17 Christian Kelly <[email protected]>
chrisk
parents: 17317
diff changeset
    53
%patch1 -p1
17838
e011c05147cc 2010-04-14 Halton Huo <[email protected]>
halton
parents: 17779
diff changeset
    54
%patch2 -p1
e011c05147cc 2010-04-14 Halton Huo <[email protected]>
halton
parents: 17779
diff changeset
    55
%patch3 -p1
17317
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    56
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    57
%build
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    58
%ifos linux
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    59
if [ -x /usr/bin/getconf ]; then
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    60
  CPUS=`getconf _NPROCESSORS_ONLN`
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    61
fi
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    62
%else
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    63
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    64
%endif
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    65
if test "x$CPUS" = "x" -o $CPUS = 0; then
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    66
  CPUS=1
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    67
fi
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    68
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    69
libtoolize --force
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    70
aclocal $ACLOCAL_FLAGS
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    71
autoheader
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    72
automake -a -c -f
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    73
autoconf
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    74
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    75
./configure --prefix=%{_prefix} \
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    76
	    --bindir=%{_bindir} \
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    77
	    --mandir=%{_mandir} \
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    78
	    --libdir=%{_libdir} \
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    79
	    --datadir=%{_datadir} \
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    80
	    --includedir=%{_includedir} \
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    81
	    --sysconfdir=%{_sysconfdir} \
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    82
	    %gtk_doc_option \
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    83
%if %debug_build
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    84
	    --enable-debug=yes \
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    85
%else
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    86
	    --enable-debug=no \
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    87
%endif
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    88
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    89
make -j $CPUS
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    90
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    91
%install
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    92
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    93
make -i install DESTDIR=$RPM_BUILD_ROOT
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    94
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    95
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    96
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    97
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    98
%clean
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
    99
rm -rf $RPM_BUILD_ROOT
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   100
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   101
%files
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   102
%defattr(-,root,root)
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   103
%doc AUTHORS ChangeLog COPYING NEWS
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   104
%{_libdir}/nautilus/extensions-2.0/libnautilus-sendto.so
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   105
%{_libdir}/nautilus-sendto
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   106
%{_datadir}/nautilus-sendto
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   107
%{_bindir}/nautilus-sendto
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   108
%{_sysconfdir}/gconf/schemas/nst.schemas
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   109
%{_mandir}/man1/nautilus-sendto.1.gz
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   110
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   111
%changelog
17838
e011c05147cc 2010-04-14 Halton Huo <[email protected]>
halton
parents: 17779
diff changeset
   112
* Wed Apr 14 2010 - [email protected]
e011c05147cc 2010-04-14 Halton Huo <[email protected]>
halton
parents: 17779
diff changeset
   113
- Add to 02-mailcmd.diff fix doo #15332 
e011c05147cc 2010-04-14 Halton Huo <[email protected]>
halton
parents: 17779
diff changeset
   114
- Add to 03-unload-pidgin.diff fix doo #15112
17779
35779053d023 2010-03-30 Halton Huo <[email protected]>
halton
parents: 17722
diff changeset
   115
* Tue Mar 30 2009 - [email protected]
35779053d023 2010-03-30 Halton Huo <[email protected]>
halton
parents: 17722
diff changeset
   116
- Bump to 2.28.4
17722
511e9ab2214b 2010-03-16 Halton Huo <[email protected]>
halton
parents: 17369
diff changeset
   117
* Tue Mar 16 2009 - [email protected]
511e9ab2214b 2010-03-16 Halton Huo <[email protected]>
halton
parents: 17369
diff changeset
   118
- Bump to 2.28.3
17369
8dab43c76945 2010-01-17 Christian Kelly <[email protected]>
chrisk
parents: 17317
diff changeset
   119
* Sun Jan 17 2010 - [email protected]
8dab43c76945 2010-01-17 Christian Kelly <[email protected]>
chrisk
parents: 17317
diff changeset
   120
- Add nautilus-sendto-01-fixxref-modules.
17317
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   121
* Wed Nov 18 2009 - [email protected]
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   122
- Bump to 2.28.2
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   123
- Remove upstramed patch gthread.diff
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   124
* Thu Nov 12 2009 - [email protected]
f4c0bbeaa386 2010-01-13 Halton Huo <[email protected]>
halton
parents:
diff changeset
   125
- Initial spec.