Blame SPECS/xdg-desktop-portal-gtk.spec

882f54
%global xdg_desktop_portal_version 1.0.2
882f54
882f54
Name:           xdg-desktop-portal-gtk
882f54
Version:        1.0.2
882f54
Release:        1%{?dist}
882f54
Summary:        Backend implementation for xdg-desktop-portal using GTK+
882f54
882f54
License:        LGPLv2+
882f54
URL:            https://github.com/flatpak/%{name}
882f54
Source0:        https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
882f54
882f54
BuildRequires:  gcc
882f54
BuildRequires:  gettext
882f54
BuildRequires:  pkgconfig(gtk+-unix-print-3.0)
882f54
BuildRequires:  pkgconfig(xdg-desktop-portal) >= %{xdg_desktop_portal_version}
882f54
%{?systemd_requires}
882f54
BuildRequires:  systemd
882f54
Requires:       dbus
882f54
Requires:       xdg-desktop-portal >= %{xdg_desktop_portal_version}
882f54
882f54
%description
882f54
A backend implementation for xdg-desktop-portal that is using GTK+ and various
882f54
pieces of GNOME infrastructure, such as the org.gnome.Shell.Screenshot or
882f54
org.gnome.SessionManager D-Bus interfaces.
882f54
882f54
882f54
%prep
882f54
%setup -q
882f54
882f54
882f54
%build
882f54
%configure --disable-silent-rules
882f54
%make_build
882f54
882f54
882f54
%install
882f54
%make_install
882f54
%find_lang %{name}
882f54
882f54
882f54
%post
882f54
%systemd_user_post %{name}.service
882f54
882f54
882f54
%preun
882f54
%systemd_user_preun %{name}.service
882f54
882f54
882f54
%files -f %{name}.lang
882f54
%license COPYING
882f54
%doc NEWS
882f54
%{_libexecdir}/%{name}
882f54
%{_datadir}/applications/%{name}.desktop
882f54
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gtk.service
882f54
%{_datadir}/xdg-desktop-portal/portals/gtk.portal
882f54
%{_userunitdir}/%{name}.service
882f54
882f54
882f54
882f54
%changelog
882f54
* Wed Sep 12 2018 David King <dking@redhat.com> - 1.0.2-1
882f54
- Update to 1.0.2 (#1570030)
882f54
882f54
* Wed Jan 18 2017 David King <amigadave@amigadave.com> - 0.5-1
882f54
- Update to 0.5
882f54
882f54
* Fri Sep 02 2016 David King <amigadave@amigadave.com> - 0.3-1
882f54
- Update to 0.3
882f54
882f54
* Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1
882f54
- Update to 0.2 (#1361576)
882f54
882f54
* Wed Jul 13 2016 David King <amigadave@amigadave.com> - 0.1-1
882f54
- Initial Fedora packaging