80 lines
1.9 KiB
RPMSpec
80 lines
1.9 KiB
RPMSpec
|
%global systemd_unit gnome-remote-desktop.service
|
||
|
|
||
|
Name: gnome-remote-desktop
|
||
|
Version: 0.1.2
|
||
|
Release: 3%{?dist}
|
||
|
Summary: GNOME Remote Desktop screen share service
|
||
|
|
||
|
License: GPLv2+
|
||
|
URL: https://gitlab.gnome.org/jadahl/gnome-remote-desktop
|
||
|
Source0: https://gitlab.gnome.org/jadahl/gnome-remote-desktop/uploads/7d3cc32efb12ca84284532f947487067/gnome-remote-desktop-0.1.2.tar.xz
|
||
|
|
||
|
BuildRequires: meson >= 0.36.0
|
||
|
BuildRequires: pkgconfig
|
||
|
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||
|
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.32
|
||
|
BuildRequires: pkgconfig(gstreamer-1.0) >= 1.10.0
|
||
|
BuildRequires: pkgconfig(gstreamer-video-1.0) >= 1.10.0
|
||
|
BuildRequires: pkgconfig(libvncserver) >= 0.9.11
|
||
|
|
||
|
%{?systemd_requires}
|
||
|
BuildRequires: systemd
|
||
|
|
||
|
Requires: pipewire >= 0.1.3
|
||
|
|
||
|
%description
|
||
|
GNOME Remote Desktop is a remote desktop and screen sharing service for the
|
||
|
GNOME desktop environment.
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%autosetup
|
||
|
|
||
|
|
||
|
%build
|
||
|
%meson
|
||
|
%meson_build
|
||
|
|
||
|
|
||
|
%install
|
||
|
%meson_install
|
||
|
|
||
|
|
||
|
%post
|
||
|
%systemd_user_post %{systemd_unit}
|
||
|
|
||
|
|
||
|
%preun
|
||
|
%systemd_user_preun %{systemd_unit}
|
||
|
|
||
|
|
||
|
%postun
|
||
|
%systemd_user_postun_with_restart %{systemd_unit}
|
||
|
|
||
|
|
||
|
%files
|
||
|
%license COPYING
|
||
|
%doc README
|
||
|
%{_libexecdir}/gnome-remote-desktop-daemon
|
||
|
%{_userunitdir}/gnome-remote-desktop.service
|
||
|
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.remote-desktop.gschema.xml
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Tue Aug 29 2017 Jonas Ådahl <jadahl@redhat.com> - 0.1.2-3
|
||
|
- Use %autosetup
|
||
|
- Install licence file
|
||
|
|
||
|
* Tue Aug 22 2017 Jonas Ådahl <jadahl@redhat.com> - 0.1.2-2
|
||
|
- Remove gschema compilation step as that had been deprecated
|
||
|
|
||
|
* Mon Aug 21 2017 Jonas Ådahl <jadahl@redhat.com> - 0.1.2-1
|
||
|
- Update to 0.1.2
|
||
|
- Changed tabs to spaces
|
||
|
- Added systemd user macros
|
||
|
- Install to correct systemd user unit directory
|
||
|
- Compile gsettings schemas after install and uninstall
|
||
|
|
||
|
* Mon Aug 21 2017 Jonas Ådahl <jadahl@redhat.com> - 0.1.1-1
|
||
|
- First packaged version
|