author | chrisk |
Mon, 31 Aug 2009 16:23:04 +0000 | |
changeset 16434 | f21f22550fe9 |
parent 16427 | 63d81b085adb |
child 16961 | d9def54f2d60 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package nautilus-open-terminal |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
16434 | 8 |
%define owner stephen |
16427 | 9 |
|
10 |
%define OSR gnome.org:0 |
|
11 |
||
9397 | 12 |
Name: nautilus-open-terminal |
13 |
License: GPL |
|
14 |
Group: System/GUI/GNOME |
|
16255 | 15 |
Version: 0.17 |
9397 | 16 |
Release: 1 |
17 |
Distribution: Java Desktop System |
|
18 |
Vendor: Sun Microsystems, Inc. |
|
19 |
Summary: Nautilus terminal extension |
|
16299 | 20 |
Source: http://ftp.gnome.org/pub/GNOME/sources/nautilus-open-terminal/0.17/nautilus-open-terminal-%{version}.tar.bz2 |
9397 | 21 |
#owner:gman date:2005-10-17 type:bug |
22 |
Patch1: nautilus-open-terminal-01-werror.diff |
|
13094
8980914add2d
Change nautilus-open-terminal-03-home-dir.diff to be a branding patch
padraig
parents:
13086
diff
changeset
|
23 |
#owner:padraig date:2008-08-08 type:branding bugster:6725262 |
16169 | 24 |
Patch2: nautilus-open-terminal-02-home-dir.diff |
16335 | 25 |
#owner:stephen date:2009-08-24 type:branding doo:10803 |
26 |
Patch3: nautilus-open-terminal-03-mc.diff |
|
14985 | 27 |
|
9397 | 28 |
URL: http://www.gnome.org |
29 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
30 |
Docdir: %{_defaultdocdir}/%{name} |
|
31 |
Autoreqprov: on |
|
32 |
||
33 |
%define nautilus_version 2.6.0 |
|
34 |
%define eel_version 2.6.0 |
|
35 |
%define gnome_desktop_version 2.9.91 |
|
36 |
||
37 |
Requires: nautilus >= %{nautilus_version} |
|
38 |
Requires: eel >= %{eel_version} |
|
39 |
Requires: gnome-desktop >= %{gnome_desktop_version} |
|
40 |
BuildRequires: nautilus-devel >= %{nautilus_version} |
|
41 |
BuildRequires: eel-devel >= %{eel_version} |
|
42 |
BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} |
|
43 |
||
44 |
%description |
|
45 |
Nautilus extension allowing you to open a terminal in arbitrary folders. |
|
46 |
||
47 |
%prep |
|
48 |
%setup -q |
|
49 |
%patch1 -p1 |
|
11234 | 50 |
%patch2 -p1 |
16335 | 51 |
%patch3 -p1 |
9397 | 52 |
|
53 |
%build |
|
54 |
libtoolize --force |
|
55 |
aclocal $ACLOCAL_FLAGS |
|
56 |
automake -a -c -f |
|
57 |
autoconf |
|
58 |
||
59 |
%ifos linux |
|
60 |
if [ -x /usr/bin/getconf ]; then |
|
61 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
62 |
fi |
|
63 |
%else |
|
64 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
65 |
%endif |
|
66 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
67 |
CPUS=1 |
|
68 |
fi |
|
69 |
||
70 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
71 |
./configure \ |
|
72 |
--prefix=%{_prefix} \ |
|
73 |
--sysconfdir=%{_sysconfdir} \ |
|
74 |
--mandir=%{_mandir} |
|
75 |
make -j $CPUS |
|
76 |
||
77 |
%install |
|
78 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
11437 | 79 |
rm -rf $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-2.0/*.a |
80 |
rm -rf $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-2.0/*.la |
|
9397 | 81 |
|
82 |
%clean |
|
83 |
rm -rf $RPM_BUILD_ROOT |
|
84 |
||
85 |
%files |
|
86 |
%defattr (-, root, root) |
|
11437 | 87 |
%{_libdir}/nautilus/extensions-2.0/*.so |
9397 | 88 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
89 |
||
90 |
%changelog |
|
16299 | 91 |
* Mon Aug 17 2009 - [email protected] |
92 |
- Change the download url |
|
16255 | 93 |
* Wed Aug 12 2009 - [email protected] |
94 |
- Bump to 0.17. |
|
13094
8980914add2d
Change nautilus-open-terminal-03-home-dir.diff to be a branding patch
padraig
parents:
13086
diff
changeset
|
95 |
* Mon Aug 11 2008 - [email protected] |
8980914add2d
Change nautilus-open-terminal-03-home-dir.diff to be a branding patch
padraig
parents:
13086
diff
changeset
|
96 |
- Changed patch 03-home-dir to be a branding patch. |
8980914add2d
Change nautilus-open-terminal-03-home-dir.diff to be a branding patch
padraig
parents:
13086
diff
changeset
|
97 |
|
8980914add2d
Change nautilus-open-terminal-03-home-dir.diff to be a branding patch
padraig
parents:
13086
diff
changeset
|
98 |
* Fri Aug 08 2008 - [email protected] |
13086 | 99 |
- Add patch 03-home-dir so that terminal opens in user's home directory |
100 |
by default. Fixed 6725262. |
|
101 |
||
11769 | 102 |
* Fri Feb 29 2008 - [email protected] |
103 |
- Bump to 0.9. Remove upstream patch 03-dir. |
|
104 |
||
11437 | 105 |
* Fri Jan 11 2008 - [email protected] |
106 |
- Add patch 03-dir until we get new tarball as nautilus has changed location |
|
107 |
of extensions dir. |
|
108 |
||
11234 | 109 |
* Thu Nov 22 2007 - [email protected] |
110 |
- Add patch 02-lockdown for #6630884 |
|
111 |
||
9514 | 112 |
* Sun Mar 11 2007 - [email protected] |
113 |
- Fixed URL for nautilus-open-terminal |
|
114 |
||
9432 | 115 |
* Mon Mar 05 2007 - [email protected] |
116 |
- Bump to 0.8. |
|
117 |
||
9397 | 118 |
* Thu Nov 30 2006 - [email protected] |
119 |
- Bump to 0.7 which includes multihead fix for |
|
120 |
#6469722. |
|
121 |
||
122 |
* Mon Oct 17 2005 - [email protected] |
|
123 |
- Add werror patch |
|
124 |
||
125 |
* Mon Oct 17 2005 - [email protected] |
|
126 |
- Initial spec file |