File nautilus-share.spec of Package nautilus-share

# spec file for package nautilus-share (Version 0.7.2)
# Copyright (c) 2009 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-share
BuildRequires:  fdupes
BuildRequires:  gnome-patch-translation
BuildRequires:  intltool
BuildRequires:  libglade2-devel
BuildRequires:  nautilus-devel
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
Version:        0.7.2
Release:        79
Group:          Productivity/Networking/Samba
License:        GPL v2 or later
Summary:        A Quick and Easy Way to Share Folders in Nautilus Via Samba
Source:         %{name}-%{version}.tar.bz2
Source1:        %{name}-po.tar.gz 
# PATCH-FIX-UPSTREAM nautilus-share-drop-eel.patch -- Do not use eel nor gnome-vfs anymore, patch sent by mail to the maintainer
Patch0:         nautilus-share-drop-eel.patch
Patch7:         nautilus-share-bnc358451-extension-dir.patch
Requires:       gnome-icon-theme samba >= 3.0.21a-4.2
Requires:       %{name}-lang = %{version}
AutoReqProv:    on
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

    Sebastien Estienne <>
    Ed Catmur <>
    VoJcEK <>
    Michael Kanis <>
    WareKala <>
    Mirko Maischberger <>
    Aaron Kurtz <>
    Lucius Curado <>

%setup -a1 
%patch0 -p1
%patch7 -p1

autoreconf -f -i
make %{?jobs:-j%jobs}

%find_lang %{name}
rm $RPM_BUILD_ROOT%{_libdir}/*/*/*.*a


%defattr (-, root, root)

%files lang -f %{name}.lang

* Mon Feb 16 2009
- Added support for translation-update-upstream (FATE#301344).
* Fri Jan 30 2009
- Add nautilus-share-drop-eel.patch to let us drop eel and
  gnome-vfs dependecies.
- Adjust BuildRequires.
* Mon Jan 12 2009 
- Translations update.
* Sat Dec 06 2008
- Translation update
* Thu Apr 03 2008
- Upgraded to version 0.7.2.
- Removed upstreamed patches:
  * nautilus-share-183413-restore-write-permissions.diff
  * nautilus-share-181811-guest-permissions.diff
  * nautilus-share-170212-restore-modified-permissions.diff
  * nautilus-share-potfiles.patch
  * nautilus-share-new-potfiles.patch
* Tue Mar 11 2008
- Fix build: nautilus modules now go in
* Tue Mar 04 2008
- Added nautilus-share-bnc358451-extension-dir.patch to fix the
  nautilus-share part of - fix the
  directory in which Nautilus extensions get installed.
* Thu Oct 11 2007
- Removed bogus dependency on mDNSResponder.
* Tue Aug 07 2007
- Use %%fdupes
- Split off a -lang subpackage.
* Wed Jan 17 2007
- Prefix changed to /usr.
- Spec file cleanup.
* Sat Oct 14 2006
- Remove dead patches
* Tue Sep 26 2006
- update to version 0.7.0
- Remove the requirements for d-bus and libdaemon
- Remove the smbshared entries; we only need the extension's .so now
* Mon Jun 26 2006
- Added missing file to (#183392).
* Thu Jun 15 2006
- Added nautilus-share-183413-restore-write-permissions.diff to fix  This makes
  nautilus-share remove the write permissions from a usershared folder
  as soon as possible, when the share is modified to be read-only.
* Fri Jun 09 2006
- Added nautilus-share-181811-guest-permissions.diff to fix bug  This will add
  the "guest_ok=y" option to the "net usershare" command line, as well
  as adding group permissions to the shared folder if appropriate.
* Wed May 03 2006
- Added nautilus-share-170212-restore-modified-permissions.diff to fix  We now restore
  the permissions of a folder when unsharing it.
* Wed Feb 22 2006
- Updated nautilus-share-net-usershare.diff to fix  Now we don't
  change the folder's permissions unconditionally; instead, we ask the
  user first.
- Do not install all the obsolete d-bus and smbshared parts; nautilus-share
  now requires just the .so extension and its data files.
* Tue Feb 21 2006
- Do not restart dbus on update (#152554).
* Mon Feb 20 2006
- Updated nautilus-share-net-usershare.diff to fix; nautilus-share
  will now automatically change the permissions of the shared folder
  if they are not enough for sharing.
* Mon Feb 06 2006
- Updated nautilus-share-net-usershare.diff to fix the crash in
* Wed Feb 01 2006
- Use translation compendium gnome-patch-translation.
* Fri Jan 27 2006
- Fix error reporting so that if Samba's "net usershare" is misconfigured,
  nautilus-share will be able to tell you about it.
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006
- Added nautilus-share-net-usershare.diff.  This makes nautilus-share
  use the new "net usershare" command from Samba instead of a
  home-grown scheme for sharing a user's personal files.  This
  requires samba-3.0.21a-4.2 or later.
- Added a build dependency on intltool.
* Wed Nov 02 2005
- don't build as root
* Fri Sep 23 2005
- New SuSE package, version 0.6.4.
openSUSE Build Service is sponsored by