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

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