gnome-user-share/gnome-user-share.spec
2023-02-01 11:02:53 +08:00

75 lines
2.0 KiB
RPMSpec

Name: gnome-user-share
Version: 43.0
Release: 1
Summary: Gnome user file sharing
License: GPLv2+
URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/%{name}/43/%{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: httpd
#BuildRequires: mod_dnssd
BuildRequires: meson
BuildRequires: desktop-file-utils
BuildRequires: glib2-devel
BuildRequires: libselinux-devel
BuildRequires: gettext
BuildRequires: systemd-devel
BuildRequires: systemd
Requires: httpd
#Requires: mod_dnssd
%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.
%prep
%autosetup -p1 -n %{name}-%{version}
%build
%meson
%meson_build
%install
%meson_install
%find_lang gnome-user-share --with-gnome
%post
%systemd_user_post gnome-user-share-webdav.service
%preun
%systemd_user_preun gnome-user-share-webdav.service
%files -f gnome-user-share.lang
%license COPYING
%doc README NEWS
%{_libexecdir}/*
%{_datadir}/gnome-user-share
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.file-sharing.gschema.xml
%{_datadir}/GConf/gsettings/gnome-user-share.convert
%{_datadir}/applications/gnome-user-share-webdav.desktop
%{_userunitdir}/gnome-user-share-webdav.service
%changelog
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.0-1
- Update to 43.0
* Mon Jun 20 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 3.34.0-3
- fix build when Meson >= 0.61.5
- add patch fix-i18n-merge-file.patch
* Mon Apr 18 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 3.34.0-2
- Add gnome-user-share.yaml
* Mon Jun 7 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.34.0-1
- Package gnome-user-share init with version 3.34.0