File gnome-user-share.spec of Package gnome-user-share

# spec file for package gnome-user-share
# Copyright (c) 2021 SUSE LLC
# 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

Name:           gnome-user-share
Version:        3.34.0
Release:        0
Summary:        GNOME user file sharing
License:        GPL-2.0-or-later
Group:          Productivity/Networking/File-Sharing

BuildRequires:  fdupes
BuildRequires:  meson >= 0.50.0
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  yelp-tools
BuildRequires:  pkgconfig(glib-2.0) >= 2.58
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(libcanberra-gtk3)
BuildRequires:  pkgconfig(libnautilus-extension) >= 3.27.90
BuildRequires:  pkgconfig(libnotify)
BuildRequires:  pkgconfig(systemd)
Suggests:       apache2-mod_dnssd
Suggests:       apache2-prefork
Suggests:       apache2-worker

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

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.


%autosetup -p1

%meson \
	-Dmodules_path=%{_libdir}/apache2/ \
	--libexecdir=%{_libexecdir}/gnome-user-share \
	-Dsystemduserunitdir=%{_userunitdir} \


find %{buildroot} -type f -name "*.la" -delete -print
%suse_update_desktop_file gnome-user-share-webdav Network FileTransfer
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{_prefix}

%license COPYING

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by