# # spec file for package gnome-user-share (Version 0.40) # # Copyright (c) 2008 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: gnome-user-share Summary: GNOME user file sharing Version: 0.40 Release: 5 License: GPL v2 or later Group: Productivity/Networking/File-Sharing Source: %{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM gnome-user-share-bluez4.patch -- Port to bluez4 API, taken from Fedora. Patch1: gnome-user-share-bluez4.patch # PATCH-FIX-OPENSUSE gnome-user-share-httpd-detection.patch vuntz@novell.com -- Detect the right binary for apache Patch2: gnome-user-share-httpd-detection.patch # PATCH-FIX-OPENSUSE gnome-user-share-soft-dep-apache.patch vuntz@novell.com -- Hide apache option in the UI if it's not available Patch3: gnome-user-share-soft-dep-apache.patch Url: http://www.gnome.org/ BuildRequires: gconf2-devel BuildRequires: dbus-1-glib-devel BuildRequires: gtk2-devel # We need some apache2 binary during the build. Let's use the prefork one, # although which one doesn't really matter. BuildRequires: apache2-prefork BuildRequires: intltool BuildRequires: libavahi-glib-devel BuildRequires: libnotify-devel BuildRequires: update-desktop-files Requires: obex-data-server Requires: %{name}-lang = %{version} Suggests: apache2-prefork Suggests: apache2-worker BuildRoot: %{_tmppath}/%{name}-%{version}-build %gconf_schemas_prereq %description gnome-user-share is a small package that binds together various free software projects to bring easy to use user-level file sharing to the masses. The program is meant to run in the background when the user is logged in, and when file sharing is enabled a webdav server is started that shares the $HOME/Public folder. The share is then published to all computers on the local network using mDNS/rendezvous, so that it shows up in the Network location in GNOME. The program also allows to share files using ObexFTP over Bluetooth. Authors: -------- Alexander Larsson Bastien Nocera %lang_package %prep %setup -q %patch1 -p0 %patch2 -p1 %patch3 -p1 %build autoreconf -f -i %configure \ --with-modules-path=%{_libdir}/apache2/ \ --disable-schemas-install \ --libexecdir=%{_libexecdir}/gnome-user-share make %{?jobs:-j%jobs} %install %makeinstall %suse_update_desktop_file gnome-user-share-properties GTK System X-SuSE-ControlCenter-System %suse_update_desktop_file gnome-user-share %find_lang %{name} %find_gconf_schemas cat %{name}.schemas_list >%{name}.lst %clean rm -rf $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %files -f %{name}.lst %defattr(-,root,root,-) %doc README COPYING NEWS %{_bindir}/* %dir %{_libexecdir}/gnome-user-share %{_libexecdir}/gnome-user-share/gnome-user-share %{_datadir}/applications/* %{_datadir}/gnome-user-share %{_sysconfdir}/xdg/autostart/gnome-user-share.desktop #%{_sysconfdir}/gconf/schemas/* %{_datadir}/icons/hicolor/*/apps/gnome-obex-server.png %files lang -f %{name}.lang %changelog * Tue Dec 16 2008 coolo@suse.de - require lang subpackage * Mon Nov 24 2008 vuntz@novell.com - Use %%{_libdir} for the httpd module directory. Fix bnc#448129. * Sat Nov 22 2008 aj@suse.de - Fix package list to fix build. - gnome-user-share helper is a binary, put it into libexecdir. * Thu Nov 20 2008 vuntz@novell.com - Import package, based on the one from Fedora. Required to fix bnc#402048.