xdg-desktop-portal-gtk/xdg-desktop-portal-gtk.spec
Kalev Lember b304d703e7 Use rich deps to pull in this package when flatpak and gtk3 are both installed
Thanks to rdieter for help with rich deps syntax!
2017-02-17 18:15:53 +01:00

66 lines
1.8 KiB
RPMSpec

Name: xdg-desktop-portal-gtk
Version: 0.5
Release: 3%{?dist}
Summary: Backend implementation for xdg-desktop-portal using GTK+
License: LGPLv2+
URL: https://github.com/flatpak/%{name}
Source0: https://github.com/flatpak/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig(gtk+-unix-print-3.0)
BuildRequires: pkgconfig(xdg-desktop-portal)
Requires: dbus
Requires: xdg-desktop-portal
%if 0%{?fedora}
# Use rich deps to pull in this package when flatpak and gtk3 are both installed
Supplements: (flatpak and gtk3)
%endif
%description
A backend implementation for xdg-desktop-portal that is using GTK+ and various
pieces of GNOME infrastructure, such as the org.gnome.Shell.Screenshot or
org.gnome.SessionManager D-Bus interfaces.
%prep
%setup -q
%build
%configure --disable-silent-rules
%make_build
%install
%make_install
%find_lang %{name}
%files -f %{name}.lang
%license COPYING
%doc NEWS
%{_libexecdir}/%{name}
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gtk.service
%{_datadir}/xdg-desktop-portal/portals/gtk.portal
%changelog
* Fri Feb 17 2017 Kalev Lember <klember@redhat.com> - 0.5-3
- Use rich deps to pull in this package when flatpak and gtk3 are both installed
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Jan 18 2017 David King <amigadave@amigadave.com> - 0.5-1
- Update to 0.5
* Fri Sep 02 2016 David King <amigadave@amigadave.com> - 0.3-1
- Update to 0.3
* Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1
- Update to 0.2 (#1361576)
* Wed Jul 13 2016 David King <amigadave@amigadave.com> - 0.1-1
- Initial Fedora packaging