File nautilus-open-terminal.spec of Package nautilus-open-terminal
#
# spec file for package nautilus-open-terminal
#
# Copyright (c) 2012 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/
#
Name: nautilus-open-terminal
Version: 0.19
Release: 0
Url: http://manny.cluecoder.org/packages/nautilus-open-terminal/
Summary: Nautilus Extension to Open Terminal in Folders
License: GPL-2.0+
Group: System/GUI/GNOME
Source: %{name}-%{version}.tar.bz2
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: translation-update-upstream
BuildRequires: pkgconfig(gconf-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gnome-desktop-3.0)
BuildRequires: pkgconfig(libnautilus-extension)
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq
%description
This is a nautilus extension that allows you to open a terminal in
arbitrary folders.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure \
--disable-schemas-install \
--disable-static
%__make %{?jobs:-j%jobs}
%install
%makeinstall
rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.*a
%find_lang %{name}
%find_gconf_schemas
%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-3.0/*.so
%files lang -f %{name}.lang
%changelog