File nautilus-share.spec of Package nautilus-share

#
# spec file for package nautilus-share
#
# 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/
#


%define         nautilusextdir %(pkg-config --variable=extensiondir libnautilus-extension)

Name:           nautilus-share
Version:        0.7.3
Release:        1
License:        GPL-2.0+
Summary:        A Quick and Easy Way to Share Folders in Nautilus Via Samba
Url:            http://git.gnome.org/nautilus-share
Group:          Productivity/Networking/Samba
Source:         http://download.gnome.org/sources/nautilus-share/0.7/%{name}-%{version}.tar.bz2
# PATCH-FEATURE-SLE nautilus-share-ar-plural.patch bsc1087116 sbrabec@suse.com -- Use current Arabic plural form.
Patch:          nautilus-share-ar-plural.patch
BuildRequires:  intltool
BuildRequires:  libtool
BuildRequires:  nautilus-devel
BuildRequires:  translation-update-upstream
Requires:       gnome-icon-theme
Requires:       samba >= 3.0.23
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Application for the GNOME desktop integrated in Nautilus, that allows
simple use of Nautilus shares without signing in as root.

Features: * A new entry in your Nautilus right-click menu with a
   nice icon.

* A simple dialog to share your folder, which allows you to choose a
   name and decide whether to make it read-only.

* Possibility to access it from the Properties tab of your folder.

* Possibility to see whether a share name already exists by simply
   typing it.

* Nautilus displays a palm icon to visually show you which folders are
shared.

%lang_package
%prep
%setup -q
%patch -p1
translation-update-upstream

%build
autoreconf -f -i
%configure --disable-static
make %{?_smp_mflags}

%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%find_lang %{name}

%clean
rm -rf %{buildroot}

%files
%defattr (-, root, root)
%doc AUTHORS COPYING README
%{_datadir}/nautilus-share/
%{nautilusextdir}/*.so

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by