base-specs/nautilus-open-terminal.spec
author mattman
Wed, 18 Feb 2009 15:07:13 +0000
changeset 15143 d2d90ead6862
parent 14985 2097d8b8678b
child 15714 1b7d6adf5f4b
permissions -rw-r--r--
* SUNWtgnome-tsoljdsdevmgr.spec : Update Owner format string * SUNWtgnome-tsol-libs.spec : Update Owner format string * SUNWPython25.spec : Update Owner format string * SUNWdesktop-search.spec : Update Owner format string * SUNWlibtasn1.spec : Update Owner format string * SUNWtelepathy-glib.spec : Update Owner format string * SUNWtgnome-xagent.spec : Update Owner format string * SUNWlibgsf.spec : Update Owner format string * SUNWw3m.spec : Update Owner format string * SUNWtgnome-tsoljdslabel.spec : Update Owner format string * SUNWlibgc.spec : Update Owner format string * SUNWmission-control.spec : Update Owner format string * SUNWfirefox.spec : Update Owner format string * SUNWtgnome-tstripe.spec : Update Owner format string * SUNWtgnome-tsoljdsselmgr.spec : Update Owner format string * SUNWlibgmime.spec : Update Owner format string * SUNWlibtelepathy.spec : Update Owner format string * SUNWPython26.spec : Update Owner format string * base-specs/nautilus-open-terminal.spec : Update Owner format string * base-specs/brltty.spec : Update Owner format string * base-specs/dmz-cursor-aa.spec : Update Owner format string * base-specs/telepathy-mission-control.spec : Update Owner format string * base-specs/libIDL.spec : Update Owner format string * base-specs/dmz-cursor.spec : Update Owner format string * base-specs/w3m.spec : Update Owner format string * base-specs/tracker.spec : Update Owner format string * base-specs/gmime.spec : Update Owner format string * base-specs/nautilus.spec : Update Owner format string * base-specs/libgsf.spec : Update Owner format string * base-specs/vinagre.spec : Update Owner format string * base-specs/gnome-volume-manager.spec : Update Owner format string * base-specs/GConf.spec : Update Owner format string * base-specs/gnome-mount.spec : Update Owner format string * base-specs/libtelepathy.spec : Update Owner format string * base-specs/gtk-vnc.spec : Update Owner format string * base-specs/telepathy-glib.spec : Update Owner format string * base-specs/eel.spec : Update Owner format string * base-specs/ORBit2.spec : Update Owner format string * base-specs/unique.spec : Update Owner format string * base-specs/libgc.spec : Update Owner format string
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
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
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
#
15143
d2d90ead6862 * SUNWtgnome-tsoljdsdevmgr.spec : Update Owner format string
mattman
parents: 14985
diff changeset
     8
# Owner: stephen
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
Name:         nautilus-open-terminal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
License:      GPL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
Group:        System/GUI/GNOME
11769
3eed5f1e5130 2008-02-29 Damien Carbery <[email protected]>
dcarbery
parents: 11437
diff changeset
    12
Version:      0.9
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
Distribution: Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Vendor:       Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Summary:      Nautilus terminal extension
11769
3eed5f1e5130 2008-02-29 Damien Carbery <[email protected]>
dcarbery
parents: 11437
diff changeset
    17
Source:       http://ftp.gnome.org/pub/GNOME/sources/nautilus-open-terminal/0.9/nautilus-open-terminal-%{version}.tar.bz2
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
#owner:gman date:2005-10-17 type:bug
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Patch1:       nautilus-open-terminal-01-werror.diff
11234
747c26bb2d66 2007-11-22 Padraig O'Briain <[email protected]>
padraig
parents: 9514
diff changeset
    20
#owner:padraig date:2007-11-22 type:feature bugzilla:397715 bugster:6630884
747c26bb2d66 2007-11-22 Padraig O'Briain <[email protected]>
padraig
parents: 9514
diff changeset
    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
5ed1eda560b1 2008-08-08 Padraig O'Briain <[email protected]>
padraig
parents: 11769
diff changeset
    23
Patch3:      nautilus-open-terminal-03-home-dir.diff
14985
2097d8b8678b 2009-01-29 Erwann Chenede - <[email protected]>
erwannc
parents: 13094
diff changeset
    24
#owner:erwannc date:2009-01-29 type:build
2097d8b8678b 2009-01-29 Erwann Chenede - <[email protected]>
erwannc
parents: 13094
diff changeset
    25
Patch4:	     nautilus-open-terminal-04-add-gnomevfs.diff
2097d8b8678b 2009-01-29 Erwann Chenede - <[email protected]>
erwannc
parents: 13094
diff changeset
    26
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
URL:          http://www.gnome.org
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Docdir:       %{_defaultdocdir}/%{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
%define nautilus_version 2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%define eel_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:	eel >= %{eel_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Requires:	gnome-desktop >= %{gnome_desktop_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
BuildRequires:  nautilus-devel >= %{nautilus_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
BuildRequires:  eel-devel >= %{eel_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
BuildRequires:  gnome-desktop-devel >= %{gnome_desktop_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
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
    45
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%setup -q
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%patch1 -p1
11234
747c26bb2d66 2007-11-22 Padraig O'Briain <[email protected]>
padraig
parents: 9514
diff changeset
    49
%patch2 -p1
13086
5ed1eda560b1 2008-08-08 Padraig O'Briain <[email protected]>
padraig
parents: 11769
diff changeset
    50
%patch3 -p1
14985
2097d8b8678b 2009-01-29 Erwann Chenede - <[email protected]>
erwannc
parents: 13094
diff changeset
    51
%patch4 -p1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
libtoolize --force
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
aclocal $ACLOCAL_FLAGS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
automake -a -c -f
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
  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
    65
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
CFLAGS="$RPM_OPT_FLAGS" \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
  ./configure \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
	--prefix=%{_prefix} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
	--sysconfdir=%{_sysconfdir} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
	--mandir=%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
make -j $CPUS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
make -i install DESTDIR=$RPM_BUILD_ROOT
11437
1a69ef164406 2008-01-11 Padraig O'Briain <[email protected]>
padraig
parents: 11234
diff changeset
    79
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
    80
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
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%defattr (-, root, root)
11437
1a69ef164406 2008-01-11 Padraig O'Briain <[email protected]>
padraig
parents: 11234
diff changeset
    87
%{_libdir}/nautilus/extensions-2.0/*.so
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%{_datadir}/locale/*/LC_MESSAGES/*.mo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    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
5ed1eda560b1 2008-08-08 Padraig O'Briain <[email protected]>
padraig
parents: 11769
diff changeset
    95
- 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
    96
  by default. Fixed 6725262.
5ed1eda560b1 2008-08-08 Padraig O'Briain <[email protected]>
padraig
parents: 11769
diff changeset
    97
11769
3eed5f1e5130 2008-02-29 Damien Carbery <[email protected]>
dcarbery
parents: 11437
diff changeset
    98
* Fri Feb 29 2008 - [email protected]
3eed5f1e5130 2008-02-29 Damien Carbery <[email protected]>
dcarbery
parents: 11437
diff changeset
    99
- Bump to 0.9. Remove upstream patch 03-dir.
3eed5f1e5130 2008-02-29 Damien Carbery <[email protected]>
dcarbery
parents: 11437
diff changeset
   100
11437
1a69ef164406 2008-01-11 Padraig O'Briain <[email protected]>
padraig
parents: 11234
diff changeset
   101
* Fri Jan 11 2008 - [email protected]
1a69ef164406 2008-01-11 Padraig O'Briain <[email protected]>
padraig
parents: 11234
diff changeset
   102
- 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
   103
  of extensions dir.
1a69ef164406 2008-01-11 Padraig O'Briain <[email protected]>
padraig
parents: 11234
diff changeset
   104
11234
747c26bb2d66 2007-11-22 Padraig O'Briain <[email protected]>
padraig
parents: 9514
diff changeset
   105
* Thu Nov 22 2007 - [email protected]
747c26bb2d66 2007-11-22 Padraig O'Briain <[email protected]>
padraig
parents: 9514
diff changeset
   106
- Add patch 02-lockdown for #6630884
747c26bb2d66 2007-11-22 Padraig O'Briain <[email protected]>
padraig
parents: 9514
diff changeset
   107
9514
d0cd953b6983 2007-03-11 Doug Scott <[email protected]>
drdoug
parents: 9440
diff changeset
   108
* Sun Mar 11 2007 - [email protected]
d0cd953b6983 2007-03-11 Doug Scott <[email protected]>
drdoug
parents: 9440
diff changeset
   109
- Fixed URL for nautilus-open-terminal
d0cd953b6983 2007-03-11 Doug Scott <[email protected]>
drdoug
parents: 9440
diff changeset
   110
9432
977668c8bc55 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   111
* Mon Mar 05 2007 - [email protected]
977668c8bc55 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   112
- Bump to 0.8.
977668c8bc55 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   113
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
* Thu Nov 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
- Bump to 0.7 which includes multihead fix for
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
  #6469722.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
* Mon Oct 17 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
- Add werror patch
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
* Mon Oct 17 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
- Initial spec file