File nautilus-terminal.spec of Package nautilus-terminal

#
# spec file for package nautilus-terminal
#
# Copyright (c) 2011 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-terminal
Version:        0.7
Release:        1
License:        GPLv3+
Summary:        Integrated Terminal for the Nautilus File Browser
Url:            http://software.flogisoft.com/nautilus-terminal/
Group:          System/GUI/GNOME
Source:         http://download.flogisoft.com/files/Software/nautilus-terminal/%{name}_%{version}_src.tar.gz
# For directory ownership:
BuildRequires:  python-nautilus
Requires:       nautilus
Requires:       python-nautilus
Requires:       python-vte
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Nautilus Terminal is an integrated terminal for the Nautilus file browser.

%lang_package
%prep
%setup -q
# AUTHORS is o+x...
chmod -x AUTHORS
sed -i '
s:/usr/share/doc:%{_docdir}/%{name}:
s:/usr/share:%{_datadir}:
s:/usr/lib:%{_libdir}:
' install.sh

%build

%install
./install.sh --package %{buildroot}
%find_lang %{name}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc %{_docdir}/%{name}/
%{_libdir}/nautilus/extensions-2.0/python/nautilus-terminal.py
%{_datadir}/nautilus-terminal/

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by