base-specs/nautilus-open-terminal.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 16427 63d81b085adb
child 16961 d9def54f2d60
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
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
#
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
63d81b085adb 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16335
diff changeset
    10
%define OSR gnome.org:0
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
16255
93d07c904979 2009-08-12 Christian Kelly <[email protected]>
chrisk
parents: 16169
diff changeset
    15
Version:      0.17
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Vendor:       Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Summary:      Nautilus terminal extension
16299
692f29dd0673 2009-08-17 Jeff Cai <[email protected]>
qc161282
parents: 16255
diff changeset
    20
Source:       http://ftp.gnome.org/pub/GNOME/sources/nautilus-open-terminal/0.17/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 eel_version 2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%define gnome_desktop_version 2.9.91
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Requires:	nautilus >= %{nautilus_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Requires:	eel >= %{eel_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
Requires:	gnome-desktop >= %{gnome_desktop_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
BuildRequires:  nautilus-devel >= %{nautilus_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
BuildRequires:  eel-devel >= %{eel_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
BuildRequires:  gnome-desktop-devel >= %{gnome_desktop_version}
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
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
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
    46
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%setup -q
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%patch1 -p1
11234
747c26bb2d66 2007-11-22 Padraig O'Briain <[email protected]>
padraig
parents: 9514
diff changeset
    50
%patch2 -p1
16335
80607b52a18a 2009-08-24 Stephen Browne <[email protected]>
stephen
parents: 16299
diff changeset
    51
%patch3 -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
16299
692f29dd0673 2009-08-17 Jeff Cai <[email protected]>
qc161282
parents: 16255
diff changeset
    91
* Mon Aug 17 2009 - [email protected]
692f29dd0673 2009-08-17 Jeff Cai <[email protected]>
qc161282
parents: 16255
diff changeset
    92
- Change the download url
16255
93d07c904979 2009-08-12 Christian Kelly <[email protected]>
chrisk
parents: 16169
diff changeset
    93
* Wed Aug 12 2009 - [email protected]
93d07c904979 2009-08-12 Christian Kelly <[email protected]>
chrisk
parents: 16169
diff changeset
    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
5ed1eda560b1 2008-08-08 Padraig O'Briain <[email protected]>
padraig
parents: 11769
diff changeset
    99
- 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
   100
  by default. Fixed 6725262.
5ed1eda560b1 2008-08-08 Padraig O'Briain <[email protected]>
padraig
parents: 11769
diff changeset
   101
11769
3eed5f1e5130 2008-02-29 Damien Carbery <[email protected]>
dcarbery
parents: 11437
diff changeset
   102
* Fri Feb 29 2008 - [email protected]
3eed5f1e5130 2008-02-29 Damien Carbery <[email protected]>
dcarbery
parents: 11437
diff changeset
   103
- Bump to 0.9. Remove upstream patch 03-dir.
3eed5f1e5130 2008-02-29 Damien Carbery <[email protected]>
dcarbery
parents: 11437
diff changeset
   104
11437
1a69ef164406 2008-01-11 Padraig O'Briain <[email protected]>
padraig
parents: 11234
diff changeset
   105
* Fri Jan 11 2008 - [email protected]
1a69ef164406 2008-01-11 Padraig O'Briain <[email protected]>
padraig
parents: 11234
diff changeset
   106
- 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
   107
  of extensions dir.
1a69ef164406 2008-01-11 Padraig O'Briain <[email protected]>
padraig
parents: 11234
diff changeset
   108
11234
747c26bb2d66 2007-11-22 Padraig O'Briain <[email protected]>
padraig
parents: 9514
diff changeset
   109
* Thu Nov 22 2007 - [email protected]
747c26bb2d66 2007-11-22 Padraig O'Briain <[email protected]>
padraig
parents: 9514
diff changeset
   110
- Add patch 02-lockdown for #6630884
747c26bb2d66 2007-11-22 Padraig O'Briain <[email protected]>
padraig
parents: 9514
diff changeset
   111
9514
d0cd953b6983 2007-03-11 Doug Scott <[email protected]>
drdoug
parents: 9440
diff changeset
   112
* Sun Mar 11 2007 - [email protected]
d0cd953b6983 2007-03-11 Doug Scott <[email protected]>
drdoug
parents: 9440
diff changeset
   113
- Fixed URL for nautilus-open-terminal
d0cd953b6983 2007-03-11 Doug Scott <[email protected]>
drdoug
parents: 9440
diff changeset
   114
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.
977668c8bc55 2007-03-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   117
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
* Thu Nov 30 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
- Bump to 0.7 which includes multihead fix for
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
  #6469722.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
* Mon Oct 17 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
- Add werror patch
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
* Mon Oct 17 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
- Initial spec file