10139N/A#
10139N/A# spec file for package nautilus-open-terminal
10139N/A#
10139N/A# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner stephen
10139N/A
10139N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
10139N/A
10139N/AName: nautilus-open-terminal
11416N/ALicense: GPL
10139N/AGroup: System/GUI/GNOME
10139N/AVersion: 0.19
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
11257N/AVendor: Gnome Community
10977N/ASummary: Nautilus terminal extension
11066N/ASource: http://ftp.gnome.org/pub/GNOME/sources/nautilus-open-terminal/0.19/nautilus-open-terminal-%{version}.tar.bz2
10139N/A#owner:gman date:2005-10-17 type:bug
10139N/APatch1: nautilus-open-terminal-01-werror.diff
10139N/A#owner:padraig date:2008-08-08 type:branding bugster:6725262
10139N/APatch2: nautilus-open-terminal-02-home-dir.diff
10139N/A#owner:stephen date:2009-08-24 type:branding doo:10803
10139N/APatch3: nautilus-open-terminal-03-mc.diff
10139N/A
10139N/AURL: http://www.gnome.org
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_defaultdocdir}/%{name}
10139N/AAutoreqprov: on
10139N/A
10139N/A%define nautilus_version 2.6.0
10139N/A%define gnome_desktop_version 2.9.91
10139N/A
10139N/ARequires: nautilus >= %{nautilus_version}
10139N/ARequires: gnome-desktop >= %{gnome_desktop_version}
10139N/ABuildRequires: nautilus-devel >= %{nautilus_version}
10139N/ABuildRequires: gnome-desktop-devel >= %{gnome_desktop_version}
10139N/A
10139N/A%description
10139N/ANautilus extension allowing you to open a terminal in arbitrary folders.
10139N/A
10139N/A%prep
10139N/A%setup -q
10139N/A%patch1 -p1
10139N/A%patch2 -p1
10139N/A%patch3 -p1
10139N/A
10139N/A%build
10139N/Alibtoolize --force
10139N/Aaclocal $ACLOCAL_FLAGS
10139N/Aautomake -a -c -f
10139N/Aautoconf
10139N/A
10139N/A%ifos linux
10139N/Aif [ -x /usr/bin/getconf ]; then
10139N/A CPUS=`getconf _NPROCESSORS_ONLN`
10139N/Afi
10139N/A%else
10139N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/A%endif
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
11191N/ACFLAGS="$RPM_OPT_FLAGS" \
10139N/A ./configure \
10139N/A --prefix=%{_prefix} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A --mandir=%{_mandir}
10139N/Amake -j $CPUS
10139N/A
10139N/A%install
10139N/Amake -i install DESTDIR=$RPM_BUILD_ROOT
10139N/Arm -rf $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-2.0/*.a
10139N/Arm -rf $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-2.0/*.la
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
10139N/A%defattr (-, root, root)
10139N/A%{_libdir}/nautilus/extensions-2.0/*.so
10139N/A%{_datadir}/locale/*/LC_MESSAGES/*.mo
10139N/A
10139N/A%changelog
10139N/A* Thu Jul 07 2011 - brian.cameron@oracle.com
10139N/A- Bump to 0.19.
10139N/A* Tue Apr 13 2008 - padraig.obriain@sun.com
10139N/A- Remove references to eel to fix d.o.o. 15000
11204N/A* Mon Jan 04 2009 - brian.cameron@sun.com
10139N/A- Bump to 0.18. Remove upstream patch
10139N/A nautilus-open-terminal-04-launch-terminal.diff
10139N/A* Mon Nov 16 2009 - brian.cameron@sun.com
10139N/A- Add patch nautilus-open-terminal-04-launch-terminal.diff to fix bug that was
10139N/A causing the terminal to not launch when selected from the background
10139N/A right-click menu.
10139N/A* Mon Aug 17 2009 - jeff.cai@sun.com
10139N/A- Change the download URL.
10139N/A* Wed Aug 12 2009 - christian.kelly@sun.com
10139N/A- Bump to 0.17.
10139N/A* Mon Aug 11 2008 - padraig.obriain@sun.com
10139N/A- Changed patch 03-home-dir to be a branding patch.
10139N/A* Fri Aug 08 2008 - padraig.obriain@sun.com
10139N/A- Add patch 03-home-dir so that terminal opens in user's home directory
10139N/A by default. Fixed 6725262.
10139N/A* Fri Feb 29 2008 - damien.carbery@sun.com
10139N/A- Bump to 0.9. Remove upstream patch 03-dir.
10139N/A* Fri Jan 11 2008 - padraig.obriain@sun.sun
10139N/A- Add patch 03-dir until we get new tarball as nautilus has changed location
10139N/A of extensions dir.
10139N/A* Thu Nov 22 2007 - padraig.obriain@sun.sun
10139N/A- Add patch 02-lockdown for #6630884.
10139N/A* Sun Mar 11 2007 - dougs@truemail.co.th
10139N/A- Fixed URL for nautilus-open-terminal.
10139N/A* Mon Mar 05 2007 - damien.carbery@sun.com
10139N/A- Bump to 0.8.
10139N/A* Thu Nov 30 2006 - glynn.foster@sun.com
10139N/A- Bump to 0.7 which includes multihead fix for
10139N/A #6469722.
10139N/A* Mon Oct 17 2005 - glynn.foster@sun.com
10139N/A- Add werror patch.
10139N/A* Mon Oct 17 2005 - glynn.foster@sun.com
11416N/A- Initial spec file.
11417N/A
11416N/A