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

#
# spec file for package nautilus-open-terminal (Version 0.18)
#
# Copyright (c) 2010 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
Version:        0.18
Release:        6
Url:            http://manny.cluecoder.org/packages/nautilus-open-terminal/
Group:          System/GUI/GNOME
License:        GPLv2+
Summary:        Nautilus Extension to Open Terminal in Folders
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-2.0)
BuildRequires:  pkgconfig(libnautilus-extension)
Requires:       %{name}-lang = %{version}
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
# Change sr@Latn to sr@latin
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.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-2.0/*.so

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by