File nautilus-open-terminal.spec of Package nautilus-open-terminal

#
# spec file for package nautilus-open-terminal (Version 0.9)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           nautilus-open-terminal
BuildRequires:  fdupes gnome-desktop-devel gnutls-devel intltool libglade2-devel libgnomeprintui-devel libwnck-devel nautilus-devel perl-XML-Parser update-desktop-files
Version:        0.9
Release:        1
Url:            http://manny.cluecoder.org/packages/nautilus-open-terminal/
Group:          System/GUI/GNOME
License:        GPL v2 or later
Summary:        Nautilus Open Terminal
Source:         %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM nautilus-open-terminal-lockdown.patch dave@novell.com -- Mailed author directly, no bugzilla
Patch1:         %{name}-lockdown.patch
# PATCH-FIX-UPSTREAM nautilus-open-terminal-gcc-43.patch jpr@novell.com -- Mailed author directly, no bugzilla
Patch2:         %{name}-gcc-43.patch
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       %{name}-lang = %{version}
%gconf_schemas_prereq

%description
Nautilus extension that allows you to open a terminal in arbitrary
local folders.



Authors:
--------
    Christian Neumair <chris@gnome-de.org>

%lang_package
%prep
%setup
%patch1 -p1
%patch2 -p1

%build
%configure \
    --disable-schemas-install
%__make %{?jobs:-j%jobs}

%install
%makeinstall
%find_lang %{name}
%find_gconf_schemas
rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.*a
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre

%preun -f %{name}.schemas_preun
%posttrans -f %{name}.schemas_posttrans

%files -f %{name}.schemas_list
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_libdir}/nautilus/extensions-2.0/*.so

%files lang -f %{name}.lang

%changelog
* Thu Feb 28 2008 jpr@suse.de
-Update to 0.9
  * Use GIO instead of GnomeVFS.
  * Add GConf key for deciding whether right-clicking the desktop
  opens home directory or desktop directory.
  Use g_get_user_special_dir() to determine the desktop directory,
  and falls back to ~/Desktop (#468955).
  * Use remote $SHELL instead of /bin/sh for SFTP terminals.
  * Use Nautilus extension directory from libnautilus-extension.pc
  * Fix bug where an empty terminal "exec" GConf key wasn't handled
  properly (launchpad #133837).
  * Reference file info when creating terminal icon (GNOME #519111).
  * Depend on Nautilus 2.17.2
  * Use activation URI of selected files for determining URI. This
  allows to use the extension for your Desktop bookmarks.
  * Also deal with "ssh" URIs and treat them like "sftp" URIs.
  * Use open() and cwd() to switch directries. Should fix troubles
  with blocked media ejection.
  * Translations
-Remove nautilus-open-terminal-decl.patch, the code was fixed to
  remove the warning
-Remove nautilus-open-terminal-fix-freeze.patch, it was upstreamed
* Thu Oct 18 2007 maw@suse.de
- Add nautilus-open-terminal-fix-freeze.patch (#334400).
* Thu Oct 11 2007 sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage.
* Mon Dec 18 2006 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Tue Sep 26 2006 jhargadon@suse.de
- update to version 0.7
- Remove unused declaration
- setenv DISPLAY before spawning child processes, unset it afterwards
- New and updated translations
* Fri May 19 2006 dave@suse.de
- Added support for the disable_command_line lockdown key.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 18 2006 sbrabec@suse.cz
- Updated to version 0.6.
* Thu Aug 11 2005 sbrabec@suse.cz
- New SuSE package (#103995, #99703).
openSUSE Build Service is sponsored by