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
|
|
|
#
|
2013-03-13 23:53:01 +01:00
|
|
|
# Copyright (c) 2013 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
|
2013-03-25 16:49:00 +01:00
|
|
|
Version: 3.8.0
|
2012-09-07 23:54:24 +02:00
|
|
|
Release: 0
|
2008-11-24 04:35:01 +01:00
|
|
|
Summary: GNOME user file sharing
|
2011-12-06 18:14:52 +01:00
|
|
|
License: GPL-2.0+
|
2008-11-24 04:35:01 +01:00
|
|
|
Group: Productivity/Networking/File-Sharing
|
2012-09-07 23:54:24 +02:00
|
|
|
Url: http://www.gnome.org/
|
2013-03-25 16:49:00 +01:00
|
|
|
Source: http://download.gnome.org/sources/gnome-user-share/3.8/%{name}-%{version}.tar.xz
|
2009-02-12 16:03:47 +01:00
|
|
|
BuildRequires: fdupes
|
2008-11-24 04:35:01 +01:00
|
|
|
BuildRequires: intltool
|
2011-02-16 08:51:05 +01:00
|
|
|
BuildRequires: translation-update-upstream
|
2008-11-24 04:35:01 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2012-09-07 23:56:01 +02:00
|
|
|
BuildRequires: yelp-tools
|
2013-03-13 23:53:01 +01:00
|
|
|
BuildRequires: pkgconfig(dbus-1) >= 1.1.1
|
2011-04-25 19:44:54 +02:00
|
|
|
BuildRequires: pkgconfig(dbus-glib-1)
|
2012-03-26 10:01:11 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.28
|
2013-03-13 23:53:01 +01:00
|
|
|
BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 2.91.5
|
2011-04-25 19:44:54 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
|
|
|
BuildRequires: pkgconfig(libnautilus-extension)
|
|
|
|
BuildRequires: pkgconfig(libnotify)
|
2008-11-24 04:35:01 +01:00
|
|
|
Requires: obex-data-server
|
2011-02-13 22:11:37 +01:00
|
|
|
Recommends: %{name}-lang
|
2012-09-07 23:54:24 +02:00
|
|
|
Suggests: apache2-mod_dnssd
|
2008-11-24 04:35:01 +01:00
|
|
|
Suggests: apache2-prefork
|
|
|
|
Suggests: apache2-worker
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-09-07 23:54:24 +02:00
|
|
|
%glib2_gsettings_schema_requires
|
2008-11-24 04:35:01 +01:00
|
|
|
|
|
|
|
%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
|
2011-02-16 08:51:05 +01:00
|
|
|
translation-update-upstream
|
2008-11-24 04:35:01 +01:00
|
|
|
|
|
|
|
%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
|
2012-09-07 23:54:24 +02:00
|
|
|
make %{?_smp_mflags}
|
2008-11-24 04:35:01 +01:00
|
|
|
|
|
|
|
%install
|
2012-09-07 23:54:24 +02:00
|
|
|
%make_install
|
2010-08-05 23:26:37 +02:00
|
|
|
%if 0%{?suse_version} <= 1120
|
2012-09-07 23:54:24 +02:00
|
|
|
rm %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
2010-08-05 23:26:37 +02:00
|
|
|
%endif
|
2010-03-05 11:11:05 +01:00
|
|
|
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
|
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}
|
2012-09-07 23:54:24 +02:00
|
|
|
%fdupes %{buildroot}
|
2008-11-24 04:35:01 +01:00
|
|
|
|
|
|
|
%clean
|
2012-09-07 23:54:24 +02:00
|
|
|
rm -rf %{buildroot}
|
2009-09-22 23:07:26 +02:00
|
|
|
|
2011-02-13 22:11:37 +01:00
|
|
|
%post
|
2012-09-07 23:54:24 +02:00
|
|
|
%glib2_gsettings_schema_post
|
2011-02-13 22:11:37 +01:00
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
|
|
|
|
%postun
|
2012-09-07 23:54:24 +02:00
|
|
|
%glib2_gsettings_schema_postun
|
2011-02-13 22:11:37 +01:00
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
|
2012-09-07 23:54:24 +02:00
|
|
|
%files
|
2008-11-24 04:35:01 +01:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README COPYING NEWS
|
2012-09-07 23:54:24 +02:00
|
|
|
%doc %{_datadir}/help/C/%{name}/
|
2009-02-12 16:03:47 +01:00
|
|
|
%{_libexecdir}/gnome-user-share
|
2008-11-24 04:35:01 +01:00
|
|
|
%{_datadir}/gnome-user-share
|
2011-04-25 19:38:23 +02:00
|
|
|
%{_libdir}/nautilus/extensions-3.0/libnautilus-share-extension.so
|
2008-11-24 04:35:01 +01:00
|
|
|
%{_sysconfdir}/xdg/autostart/gnome-user-share.desktop
|
2012-09-07 23:54:24 +02:00
|
|
|
%{_datadir}/GConf/gsettings/gnome-user-share.convert
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.file-sharing.gschema.xml
|
2012-09-07 23:56:01 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/gnome-obex-server.png
|
2008-11-24 04:35:01 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|