2008-11-24 04:35:01 +01:00
|
|
|
#
|
2011-02-14 01:28:52 +01:00
|
|
|
# spec file for package gnome-user-share
|
2008-11-24 04:35:01 +01:00
|
|
|
#
|
2011-02-14 01:28:52 +01:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-11-24 04:35:01 +01:00
|
|
|
#
|
|
|
|
# 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
|
2010-09-28 21:20:17 +02:00
|
|
|
Version: 2.30.1
|
2011-02-14 01:28:52 +01:00
|
|
|
Release: 3
|
2009-12-24 16:27:33 +01:00
|
|
|
License: GPLv2+
|
2008-11-24 04:35:01 +01:00
|
|
|
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
|
2009-02-12 16:03:47 +01:00
|
|
|
BuildRequires: fdupes
|
2009-09-22 23:07:26 +02:00
|
|
|
BuildRequires: gnome-bluetooth-devel
|
2009-02-12 16:03:47 +01:00
|
|
|
BuildRequires: gnome-doc-utils-devel
|
2008-11-24 04:35:01 +01:00
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: intltool
|
2009-12-24 16:27:33 +01:00
|
|
|
BuildRequires: libcanberra-devel
|
2008-11-24 04:35:01 +01:00
|
|
|
BuildRequires: libnotify-devel
|
2009-12-30 00:21:08 +01:00
|
|
|
BuildRequires: libunique-devel
|
2010-03-05 11:11:05 +01:00
|
|
|
BuildRequires: nautilus-devel
|
2008-11-24 04:35:01 +01:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
Requires: obex-data-server
|
2011-02-13 22:11:37 +01:00
|
|
|
Recommends: %{name}-lang
|
2008-11-24 04:35:01 +01:00
|
|
|
Suggests: apache2-prefork
|
|
|
|
Suggests: apache2-worker
|
2009-05-21 01:43:09 +02:00
|
|
|
Suggests: apache2-mod_dnssd
|
2008-11-24 04:35:01 +01:00
|
|
|
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.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch3 -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2008-11-25 16:19:32 +01:00
|
|
|
--with-modules-path=%{_libdir}/apache2/ \
|
2008-11-24 04:35:01 +01:00
|
|
|
--disable-schemas-install \
|
2009-02-12 16:03:47 +01:00
|
|
|
--disable-scrollkeeper \
|
2008-11-24 04:35:01 +01:00
|
|
|
--libexecdir=%{_libexecdir}/gnome-user-share
|
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2010-08-05 23:26:37 +02:00
|
|
|
%if 0%{?suse_version} <= 1120
|
|
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
|
|
%endif
|
2010-03-05 11:11:05 +01:00
|
|
|
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
2010-09-13 14:00:48 +02:00
|
|
|
# X-GNOME-NetworkSettings is okay upstream, but it makes the item appear misplaced with our menu structure
|
|
|
|
grep -q X-GNOME-NetworkSettings %{buildroot}%{_datadir}/applications/gnome-user-share-properties.desktop
|
|
|
|
%suse_update_desktop_file -r gnome-user-share-properties GNOME Settings X-GNOME-PersonalSettings X-SuSE-ControlCenter-Personal
|
2008-11-24 04:35:01 +01:00
|
|
|
%suse_update_desktop_file gnome-user-share
|
2011-02-13 22:11:37 +01:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2008-11-24 04:35:01 +01:00
|
|
|
%find_gconf_schemas
|
2009-02-12 16:03:47 +01:00
|
|
|
%fdupes $RPM_BUILD_ROOT
|
2008-11-24 04:35:01 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%pre -f %{name}.schemas_pre
|
2009-09-22 23:07:26 +02:00
|
|
|
|
2011-02-13 22:11:37 +01:00
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
|
2008-11-24 04:35:01 +01:00
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
|
|
|
|
%preun -f %{name}.schemas_preun
|
|
|
|
|
2011-02-13 22:11:37 +01:00
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
|
|
|
|
%files -f %{name}.schemas_list
|
2008-11-24 04:35:01 +01:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README COPYING NEWS
|
2011-02-13 22:11:37 +01:00
|
|
|
%dir %{_datadir}/gnome/
|
|
|
|
%dir %{_datadir}/gnome/help/
|
|
|
|
%dir %{_datadir}/gnome/help/%{name}/
|
|
|
|
%doc %{_datadir}/gnome/help/%{name}/C/
|
|
|
|
%dir %{_datadir}/omf/
|
|
|
|
%dir %{_datadir}/omf/%{name}/
|
|
|
|
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
|
2008-11-24 04:35:01 +01:00
|
|
|
%{_bindir}/*
|
2009-02-12 16:03:47 +01:00
|
|
|
%{_libexecdir}/gnome-user-share
|
2008-11-24 04:35:01 +01:00
|
|
|
%{_datadir}/applications/*
|
|
|
|
%{_datadir}/gnome-user-share
|
2010-03-05 11:11:05 +01:00
|
|
|
%{_libdir}/nautilus/extensions-2.0/libnautilus-share-extension.so
|
2008-11-24 04:35:01 +01:00
|
|
|
%{_sysconfdir}/xdg/autostart/gnome-user-share.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/gnome-obex-server.png
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|