base-specs/nautilus-open-terminal.spec
author convert-repo
Tue, 28 Sep 2010 11:41:29 +0000
changeset 20122 34a34bffcb68
parent 17865 b7ff02e93f66
child 21960 9d44285cd35f
permissions -rw-r--r--
update tags
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package nautilus-open-terminal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
17274
a95e53dbcc25 2009-01-04 Brian Cameron <[email protected]>
yippi
parents: 16961
diff changeset
     4
# Copyright (c) 2010 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16427
diff changeset
     8
%define owner stephen
16427
63d81b085adb 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16335
diff changeset
     9
17852
edfc096bfd70 2010-04-16 Christian Kelly <[email protected]>
chrisk
parents: 17831
diff changeset
    10
%define OSR LFI#105446 (gnome Exec. summary):n/a
16427
63d81b085adb 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16335
diff changeset
    11
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
Name:         nautilus-open-terminal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
License:      GPL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
Group:        System/GUI/GNOME
17274
a95e53dbcc25 2009-01-04 Brian Cameron <[email protected]>
yippi
parents: 16961
diff changeset
    15
Version:      0.18
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Distribution: Java Desktop System
17865
b7ff02e93f66 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17852
diff changeset
    18
Vendor:       Gnome Community
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Summary:      Nautilus terminal extension
17274
a95e53dbcc25 2009-01-04 Brian Cameron <[email protected]>
yippi
parents: 16961
diff changeset
    20
Source:       http://ftp.gnome.org/pub/GNOME/sources/nautilus-open-terminal/0.18/nautilus-open-terminal-%{version}.tar.bz2
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
#owner:gman date:2005-10-17 type:bug
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    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
b05624b20497 2009-07-29 Stephen Browne <[email protected]>
stephen
parents: 15714
diff changeset
    24
Patch2:      nautilus-open-terminal-02-home-dir.diff
16335
80607b52a18a 2009-08-24 Stephen Browne <[email protected]>
stephen
parents: 16299
diff changeset
    25
#owner:stephen date:2009-08-24 type:branding doo:10803
80607b52a18a 2009-08-24 Stephen Browne <[email protected]>
stephen
parents: 16299
diff changeset
    26
Patch3:      nautilus-open-terminal-03-mc.diff
14985
2097d8b8678b 2009-01-29 Erwann Chenede - <[email protected]>
erwannc
parents: 13094
diff changeset
    27
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
URL:          http://www.gnome.org
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Docdir:       %{_defaultdocdir}/%{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%define nautilus_version 2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%define gnome_desktop_version 2.9.91
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Requires:	nautilus >= %{nautilus_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Requires:	gnome-desktop >= %{gnome_desktop_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
BuildRequires:  nautilus-devel >= %{nautilus_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
BuildRequires:  gnome-desktop-devel >= %{gnome_desktop_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Nautilus extension allowing you to open a terminal in arbitrary folders.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%setup -q
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
%patch1 -p1
11234
747c26bb2d66 2007-11-22 Padraig O'Briain <[email protected]>
padraig
parents: 9514
diff changeset
    47
%patch2 -p1
16335
80607b52a18a 2009-08-24 Stephen Browne <[email protected]>
stephen
parents: 16299
diff changeset
    48
%patch3 -p1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
libtoolize --force
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
aclocal $ACLOCAL_FLAGS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
automake -a -c -f
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
CFLAGS="$RPM_OPT_FLAGS" \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
  ./configure \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
	--prefix=%{_prefix} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
	--sysconfdir=%{_sysconfdir} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
	--mandir=%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
make -j $CPUS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
make -i install DESTDIR=$RPM_BUILD_ROOT
11437
1a69ef164406 2008-01-11 Padraig O'Briain <[email protected]>
padraig
parents: 11234
diff changeset
    76
rm -rf $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-2.0/*.a
1a69ef164406 2008-01-11 Padraig O'Briain <[email protected]>
padraig
parents: 11234
diff changeset
    77
rm -rf $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-2.0/*.la
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%defattr (-, root, root)
11437
1a69ef164406 2008-01-11 Padraig O'Briain <[email protected]>
padraig
parents: 11234
diff changeset
    84
%{_libdir}/nautilus/extensions-2.0/*.so
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%{_datadir}/locale/*/LC_MESSAGES/*.mo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%changelog
17831
cc8cfdade1a1 2010-04-13 Padraig O'Briain <[email protected]>
padraig
parents: 17274
diff changeset
    88
* Tue Apr 13 2008 - [email protected]
cc8cfdade1a1 2010-04-13 Padraig O'Briain <[email protected]>
padraig
parents: 17274
diff changeset
    89
- Remove references to eel to fix d.o.o. 15000
17274
a95e53dbcc25 2009-01-04 Brian Cameron <[email protected]>
yippi
parents: 16961
diff changeset
    90
* Mon Jan 04 2009 - [email protected]
a95e53dbcc25 2009-01-04 Brian Cameron <[email protected]>
yippi
parents: 16961
diff changeset
    91
- Bump to 0.18.  Remove upstream patch
a95e53dbcc25 2009-01-04 Brian Cameron <[email protected]>
yippi
parents: 16961
diff changeset
    92
  nautilus-open-terminal-04-launch-terminal.diff
16961
d9def54f2d60 2009-11-16 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
    93
* Mon Nov 16 2009 - [email protected]
d9def54f2d60 2009-11-16 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
    94
- Add patch nautilus-open-terminal-04-launch-terminal.diff to fix bug that was
17274
a95e53dbcc25 2009-01-04 Brian Cameron <[email protected]>
yippi
parents: 16961
diff changeset
    95
  causing the terminal to not launch when selected from the background
a95e53dbcc25 2009-01-04 Brian Cameron <[email protected]>
yippi
parents: 16961
diff changeset
    96
  right-click menu.
16299
692f29dd0673 2009-08-17 Jeff Cai <[email protected]>
qc161282
parents: 16255
diff changeset
    97
* Mon Aug 17 2009 - [email protected]
16961
d9def54f2d60 2009-11-16 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
    98
- Change the download URL.
16255
93d07c904979 2009-08-12 Christian Kelly <[email protected]>
chrisk
parents: 16169
diff changeset
    99
* Wed Aug 12 2009 - [email protected]
93d07c904979 2009-08-12 Christian Kelly <[email protected]>
chrisk
parents: 16169
diff changeset
   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
5ed1eda560b1 2008-08-08 Padraig O'Briain <[email protected]>
padraig
parents: 11769
diff changeset
   104
- Add patch 03-home-dir so that terminal opens in user's home directory
5ed1eda560b1 2008-08-08 Padraig O'Briain <[email protected]>
padraig
parents: 11769
diff changeset
   105
  by default. Fixed 6725262.
11769
3eed5f1e5130 2008-02-29 Damien Carbery <[email protected]>
dcarbery
parents: 11437
diff changeset
   106
* Fri Feb 29 2008 - [email protected]
3eed5f1e5130 2008-02-29 Damien Carbery <[email protected]>
dcarbery
parents: 11437
diff changeset
   107
- Bump to 0.9. Remove upstream patch 03-dir.
11437
1a69ef164406 2008-01-11 Padraig O'Briain <[email protected]>
padraig
parents: 11234
diff changeset
   108
* Fri Jan 11 2008 - [email protected]
1a69ef164406 2008-01-11 Padraig O'Briain <[email protected]>
padraig
parents: 11234
diff changeset
   109
- Add patch 03-dir until we get new tarball as nautilus has changed location
1a69ef164406 2008-01-11 Padraig O'Briain <[email protected]>
padraig
parents: 11234
diff changeset
   110
  of extensions dir.
11234
747c26bb2d66 2007-11-22 Padraig O'Briain <[email protected]>
padraig
parents: 9514
diff changeset
   111
* Thu Nov 22 2007 - [email protected]
16961
d9def54f2d60 2009-11-16 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
   112
- Add patch 02-lockdown for #6630884.
9514
d0cd953b6983 2007-03-11 Doug Scott <[email protected]>
drdoug
parents: 9440
diff changeset
   113
* Sun Mar 11 2007 - [email protected]
16961
d9def54f2d60 2009-11-16 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
   114
- Fixed URL for nautilus-open-terminal.
9432
977668c8bc55 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   115
* Mon Mar 05 2007 - [email protected]
977668c8bc55 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   116
- Bump to 0.8.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
* Thu Nov 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
- Bump to 0.7 which includes multihead fix for
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
  #6469722.
16961
d9def54f2d60 2009-11-16 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
   120
* Mon Oct 17 2005 - [email protected]
d9def54f2d60 2009-11-16 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
   121
- Add werror patch.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
* Mon Oct 17 2005 - [email protected]
16961
d9def54f2d60 2009-11-16 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
   123
- Initial spec file.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124