1
0
gnome-user-share/gnome-user-share.spec
Dominique Leuenberger 922b9553f2 Accepting request 607047 from home:fcrozat:branches:GNOME:Factory
- Remove dependency on bluez and adapt description, 
  gnome-user-share doesn't handle OBEX anymore, it is done by 
  gnome-bluetooth nowadays.

OBS-URL: https://build.opensuse.org/request/show/607047
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-user-share?expand=0&rev=99
2018-05-14 12:21:35 +00:00

102 lines
3.1 KiB
RPMSpec

#
# spec file for package gnome-user-share
#
# Copyright (c) 2018 SUSE LINUX 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
Version: 3.28.0
Release: 0
Summary: GNOME user file sharing
License: GPL-2.0-or-later
Group: Productivity/Networking/File-Sharing
URL: http://www.gnome.org/
Source: http://download.gnome.org/sources/gnome-user-share/3.28/%{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: pkgconfig
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
BuildRequires: pkgconfig(glib-2.0) >= 2.28
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(libnautilus-extension) >= 3.27.90
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(systemd)
Recommends: %{name}-lang
Suggests: apache2-mod_dnssd
Suggests: apache2-prefork
Suggests: apache2-worker
%glib2_gsettings_schema_requires
%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.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure \
--with-modules-path=%{_libdir}/apache2/ \
--libexecdir=%{_libexecdir}/gnome-user-share
make %{?_smp_mflags}
%install
%make_install
%if 0%{?suse_version} <= 1120
rm %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
find %{buildroot} -type f -name "*.la" -delete -print
%suse_update_desktop_file gnome-user-share-webdav
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}
%post
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%postun
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_postun
%files
%license COPYING
%doc README NEWS
%{_libexecdir}/gnome-user-share
%{_datadir}/gnome-user-share
%{_datadir}/applications/gnome-user-share-webdav.desktop
%{_libdir}/nautilus/extensions-3.0/libnautilus-share-extension.so
%{_datadir}/GConf/gsettings/gnome-user-share.convert
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.file-sharing.gschema.xml
%{_userunitdir}/gnome-user-share-webdav.service
%files lang -f %{name}.lang
%changelog