File nautilus-open-terminal.spec of Package nautilus-open-terminal
#
# spec file for package nautilus-open-terminal (Version 0.17)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: nautilus-open-terminal
BuildRequires: fdupes
BuildRequires: gconf2-devel
BuildRequires: gnome-desktop-devel
BuildRequires: intltool
BuildRequires: nautilus-devel
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
Version: 0.17
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
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 -q
translation-update-upstream
%build
%configure \
--disable-schemas-install \
--disable-static
%__make %{?jobs:-j%jobs}
%install
%makeinstall
# Change sr@Latn to sr@latin
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
%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