1
0
gnome-user-share/gnome-user-share.spec

128 lines
4.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package gnome-user-share (Version 0.41)
#
# 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 http://bugs.opensuse.org/
#
Name: gnome-user-share
Summary: GNOME user file sharing
Version: 0.41
Release: 1
License: GPL v2 or later
Group: Productivity/Networking/File-Sharing
Source: %{name}-%{version}.tar.bz2
# 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 <alexl@redhat.com>
Bastien Nocera <hadess@hadess.net>
%lang_package
%prep
%setup -q
%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
* Sat Dec 20 2008 mboman@suse.de
- Update to version 0.41:
+ Port to BlueZ 4.x API
+ UI fixes in the preferences dialogue
+ Fix web file sharing on some distributions
- Remove gnome-user-share-bluez4.patch. Fixed upstream
- Remove gnome-user-share-httpd-detection.patch. Fixed upstream
* 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.
* Wed Nov 19 2008 vuntz@novell.com
- Import package, based on the one from Fedora. Required to fix
bnc#402048.