author | convert-repo |
Tue, 28 Sep 2010 11:41:29 +0000 | |
changeset 20122 | 34a34bffcb68 |
parent 17865 | b7ff02e93f66 |
child 21960 | 9d44285cd35f |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package nautilus-open-terminal |
|
3 |
# |
|
17274 | 4 |
# Copyright (c) 2010 Sun Microsystems, Inc. |
9397 | 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 |
|
17852 | 10 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
16427 | 11 |
|
9397 | 12 |
Name: nautilus-open-terminal |
13 |
License: GPL |
|
14 |
Group: System/GUI/GNOME |
|
17274 | 15 |
Version: 0.18 |
9397 | 16 |
Release: 1 |
17 |
Distribution: Java Desktop System |
|
17865 | 18 |
Vendor: Gnome Community |
9397 | 19 |
Summary: Nautilus terminal extension |
17274 | 20 |
Source: http://ftp.gnome.org/pub/GNOME/sources/nautilus-open-terminal/0.18/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 gnome_desktop_version 2.9.91 |
|
35 |
||
36 |
Requires: nautilus >= %{nautilus_version} |
|
37 |
Requires: gnome-desktop >= %{gnome_desktop_version} |
|
38 |
BuildRequires: nautilus-devel >= %{nautilus_version} |
|
39 |
BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} |
|
40 |
||
41 |
%description |
|
42 |
Nautilus extension allowing you to open a terminal in arbitrary folders. |
|
43 |
||
44 |
%prep |
|
45 |
%setup -q |
|
46 |
%patch1 -p1 |
|
11234 | 47 |
%patch2 -p1 |
16335 | 48 |
%patch3 -p1 |
9397 | 49 |
|
50 |
%build |
|
51 |
libtoolize --force |
|
52 |
aclocal $ACLOCAL_FLAGS |
|
53 |
automake -a -c -f |
|
54 |
autoconf |
|
55 |
||
56 |
%ifos linux |
|
57 |
if [ -x /usr/bin/getconf ]; then |
|
58 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
59 |
fi |
|
60 |
%else |
|
61 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
62 |
%endif |
|
63 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
64 |
CPUS=1 |
|
65 |
fi |
|
66 |
||
67 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
68 |
./configure \ |
|
69 |
--prefix=%{_prefix} \ |
|
70 |
--sysconfdir=%{_sysconfdir} \ |
|
71 |
--mandir=%{_mandir} |
|
72 |
make -j $CPUS |
|
73 |
||
74 |
%install |
|
75 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
11437 | 76 |
rm -rf $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-2.0/*.a |
77 |
rm -rf $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-2.0/*.la |
|
9397 | 78 |
|
79 |
%clean |
|
80 |
rm -rf $RPM_BUILD_ROOT |
|
81 |
||
82 |
%files |
|
83 |
%defattr (-, root, root) |
|
11437 | 84 |
%{_libdir}/nautilus/extensions-2.0/*.so |
9397 | 85 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
86 |
||
87 |
%changelog |
|
17831 | 88 |
* Tue Apr 13 2008 - [email protected] |
89 |
- Remove references to eel to fix d.o.o. 15000 |
|
17274 | 90 |
* Mon Jan 04 2009 - [email protected] |
91 |
- Bump to 0.18. Remove upstream patch |
|
92 |
nautilus-open-terminal-04-launch-terminal.diff |
|
16961 | 93 |
* Mon Nov 16 2009 - [email protected] |
94 |
- Add patch nautilus-open-terminal-04-launch-terminal.diff to fix bug that was |
|
17274 | 95 |
causing the terminal to not launch when selected from the background |
96 |
right-click menu. |
|
16299 | 97 |
* Mon Aug 17 2009 - [email protected] |
16961 | 98 |
- Change the download URL. |
16255 | 99 |
* Wed Aug 12 2009 - [email protected] |
100 |
- Bump to 0.17. |
|
13094
8980914add2d
Change nautilus-open-terminal-03-home-dir.diff to be a branding patch
padraig
parents:
13086
diff
changeset
|
101 |
* 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
|
102 |
- 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
|
103 |
* Fri Aug 08 2008 - [email protected] |
13086 | 104 |
- Add patch 03-home-dir so that terminal opens in user's home directory |
105 |
by default. Fixed 6725262. |
|
11769 | 106 |
* Fri Feb 29 2008 - [email protected] |
107 |
- Bump to 0.9. Remove upstream patch 03-dir. |
|
11437 | 108 |
* Fri Jan 11 2008 - [email protected] |
109 |
- Add patch 03-dir until we get new tarball as nautilus has changed location |
|
110 |
of extensions dir. |
|
11234 | 111 |
* Thu Nov 22 2007 - [email protected] |
16961 | 112 |
- Add patch 02-lockdown for #6630884. |
9514 | 113 |
* Sun Mar 11 2007 - [email protected] |
16961 | 114 |
- Fixed URL for nautilus-open-terminal. |
9432 | 115 |
* Mon Mar 05 2007 - [email protected] |
116 |
- Bump to 0.8. |
|
9397 | 117 |
* Thu Nov 30 2006 - [email protected] |
118 |
- Bump to 0.7 which includes multihead fix for |
|
119 |
#6469722. |
|
16961 | 120 |
* Mon Oct 17 2005 - [email protected] |
121 |
- Add werror patch. |
|
9397 | 122 |
* Mon Oct 17 2005 - [email protected] |
16961 | 123 |
- Initial spec file. |
9397 | 124 |