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

%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
Group:          Productivity/Networking/Samba
# PATCH-FEATURE-SLE nautilus-share-ar-plural.patch bsc1087116 -- 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

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

%setup -q
%patch -p1

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

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

rm -rf %{buildroot}

%defattr (-, root, root)

%files lang -f %{name}.lang