author | mattman |
Wed, 18 Feb 2009 15:07:13 +0000 | |
changeset 15143 | d2d90ead6862 |
parent 14985 | 2097d8b8678b |
child 15714 | 1b7d6adf5f4b |
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 |
# |
|
15143
d2d90ead6862
* SUNWtgnome-tsoljdsdevmgr.spec : Update Owner format string
mattman
parents:
14985
diff
changeset
|
8 |
# Owner: stephen |
9397 | 9 |
Name: nautilus-open-terminal |
10 |
License: GPL |
|
11 |
Group: System/GUI/GNOME |
|
11769 | 12 |
Version: 0.9 |
9397 | 13 |
Release: 1 |
14 |
Distribution: Java Desktop System |
|
15 |
Vendor: Sun Microsystems, Inc. |
|
16 |
Summary: Nautilus terminal extension |
|
11769 | 17 |
Source: http://ftp.gnome.org/pub/GNOME/sources/nautilus-open-terminal/0.9/nautilus-open-terminal-%{version}.tar.bz2 |
9397 | 18 |
#owner:gman date:2005-10-17 type:bug |
19 |
Patch1: nautilus-open-terminal-01-werror.diff |
|
11234 | 20 |
#owner:padraig date:2007-11-22 type:feature bugzilla:397715 bugster:6630884 |
21 |
Patch2: nautilus-open-terminal-02-lockdown.diff |
|
13094
8980914add2d
Change nautilus-open-terminal-03-home-dir.diff to be a branding patch
padraig
parents:
13086
diff
changeset
|
22 |
#owner:padraig date:2008-08-08 type:branding bugster:6725262 |
13086 | 23 |
Patch3: nautilus-open-terminal-03-home-dir.diff |
14985 | 24 |
#owner:erwannc date:2009-01-29 type:build |
25 |
Patch4: nautilus-open-terminal-04-add-gnomevfs.diff |
|
26 |
||
9397 | 27 |
URL: http://www.gnome.org |
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
29 |
Docdir: %{_defaultdocdir}/%{name} |
|
30 |
Autoreqprov: on |
|
31 |
||
32 |
%define nautilus_version 2.6.0 |
|
33 |
%define eel_version 2.6.0 |
|
34 |
%define gnome_desktop_version 2.9.91 |
|
35 |
||
36 |
Requires: nautilus >= %{nautilus_version} |
|
37 |
Requires: eel >= %{eel_version} |
|
38 |
Requires: gnome-desktop >= %{gnome_desktop_version} |
|
39 |
BuildRequires: nautilus-devel >= %{nautilus_version} |
|
40 |
BuildRequires: eel-devel >= %{eel_version} |
|
41 |
BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} |
|
42 |
||
43 |
%description |
|
44 |
Nautilus extension allowing you to open a terminal in arbitrary folders. |
|
45 |
||
46 |
%prep |
|
47 |
%setup -q |
|
48 |
%patch1 -p1 |
|
11234 | 49 |
%patch2 -p1 |
13086 | 50 |
%patch3 -p1 |
14985 | 51 |
%patch4 -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 |
|
13094
8980914add2d
Change nautilus-open-terminal-03-home-dir.diff to be a branding patch
padraig
parents:
13086
diff
changeset
|
91 |
* 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
|
92 |
- 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
|
93 |
|
8980914add2d
Change nautilus-open-terminal-03-home-dir.diff to be a branding patch
padraig
parents:
13086
diff
changeset
|
94 |
* Fri Aug 08 2008 - [email protected] |
13086 | 95 |
- Add patch 03-home-dir so that terminal opens in user's home directory |
96 |
by default. Fixed 6725262. |
|
97 |
||
11769 | 98 |
* Fri Feb 29 2008 - [email protected] |
99 |
- Bump to 0.9. Remove upstream patch 03-dir. |
|
100 |
||
11437 | 101 |
* Fri Jan 11 2008 - [email protected] |
102 |
- Add patch 03-dir until we get new tarball as nautilus has changed location |
|
103 |
of extensions dir. |
|
104 |
||
11234 | 105 |
* Thu Nov 22 2007 - [email protected] |
106 |
- Add patch 02-lockdown for #6630884 |
|
107 |
||
9514 | 108 |
* Sun Mar 11 2007 - [email protected] |
109 |
- Fixed URL for nautilus-open-terminal |
|
110 |
||
9432 | 111 |
* Mon Mar 05 2007 - [email protected] |
112 |
- Bump to 0.8. |
|
113 |
||
9397 | 114 |
* Thu Nov 30 2006 - [email protected] |
115 |
- Bump to 0.7 which includes multihead fix for |
|
116 |
#6469722. |
|
117 |
||
118 |
* Mon Oct 17 2005 - [email protected] |
|
119 |
- Add werror patch |
|
120 |
||
121 |
* Mon Oct 17 2005 - [email protected] |
|
122 |
- Initial spec file |