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

# norootforbuild

Name:           nautilus-open-terminal
Version:        0.18
Release:        6
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

This is a nautilus extension that allows you to open a terminal in
arbitrary folders.

%setup -q

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

# 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}


%pre -f %{name}.schemas_pre

%preun -f %{name}.schemas_preun

%posttrans -f %{name}.schemas_posttrans

%files -f %{name}.schemas_list
%defattr (-, root, root)

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by