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