1
0
gnome-user-share/gnome-user-share.spec
Vincent Untz 3db5f11212 Accepting request 36040 from home:vuntz:branches:GNOME:Factory
Copy from home:vuntz:branches:GNOME:Factory/gnome-user-share via accept of submit request 36040 revision 2.
Request was accepted with message:
ok

OBS-URL: https://build.opensuse.org/request/show/36040
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-user-share?expand=0&rev=31
2010-03-30 03:58:43 +00:00

119 lines
3.6 KiB
RPMSpec

#
# spec file for package gnome-user-share (Version 2.30.0)
#
# Copyright (c) 2010 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: 2.30.0
Release: 1
License: GPLv2+
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: fdupes
BuildRequires: gnome-bluetooth-devel
BuildRequires: gnome-doc-utils-devel
BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: libcanberra-devel
BuildRequires: libnotify-devel
BuildRequires: libunique-devel
BuildRequires: nautilus-devel
BuildRequires: update-desktop-files
Requires: obex-data-server
Requires: %{name}-lang = %{version}
Suggests: apache2-prefork
Suggests: apache2-worker
Suggests: apache2-mod_dnssd
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
%configure \
--with-modules-path=%{_libdir}/apache2/ \
--disable-schemas-install \
--disable-scrollkeeper \
--libexecdir=%{_libexecdir}/gnome-user-share
make %{?jobs:-j%jobs}
%install
%makeinstall
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
%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
%fdupes $RPM_BUILD_ROOT
%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}/*
%{_libexecdir}/gnome-user-share
%{_datadir}/applications/*
%{_datadir}/gnome-user-share
%{_libdir}/nautilus/extensions-2.0/libnautilus-share-extension.so
%{_sysconfdir}/xdg/autostart/gnome-user-share.desktop
%{_datadir}/icons/hicolor/*/apps/gnome-obex-server.png
%files lang -f %{name}.lang
%changelog