diff --git a/.gitignore b/.gitignore index e69de29..0bd634d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/xdg-desktop-portal-gtk-0.1.tar.xz diff --git a/sources b/sources index e69de29..e1c2479 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c6659f5dac1750e22271af6f210d7ae1 xdg-desktop-portal-gtk-0.1.tar.xz diff --git a/xdg-desktop-portal-gtk.spec b/xdg-desktop-portal-gtk.spec new file mode 100644 index 0000000..155fc56 --- /dev/null +++ b/xdg-desktop-portal-gtk.spec @@ -0,0 +1,40 @@ +Name: xdg-desktop-portal-gtk +Version: 0.1 +Release: 1%{?dist} +Summary: Backend implementation for xdg-desktop-portal using GTK+ + +License: LGPLv2+ +URL: https://github.com/flatpak/%{name} +Source0: %{url}/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 + +%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 +%autosetup + +%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 +* Wed Jul 13 2016 David King - 0.1-1 +- Initial Fedora packaging