From 344ae08a7a978a4c38d5110e8233d3bf69bc4d6f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 30 2018 05:49:28 +0000 Subject: import xdg-desktop-portal-gtk-1.0.2-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ce7b8fc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/xdg-desktop-portal-gtk-1.0.2.tar.xz diff --git a/.xdg-desktop-portal-gtk.metadata b/.xdg-desktop-portal-gtk.metadata new file mode 100644 index 0000000..49d1e22 --- /dev/null +++ b/.xdg-desktop-portal-gtk.metadata @@ -0,0 +1 @@ +727c6cb8e38170d6d969128be9c9837cc1ece792 SOURCES/xdg-desktop-portal-gtk-1.0.2.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/xdg-desktop-portal-gtk.spec b/SPECS/xdg-desktop-portal-gtk.spec new file mode 100644 index 0000000..dff03fb --- /dev/null +++ b/SPECS/xdg-desktop-portal-gtk.spec @@ -0,0 +1,74 @@ +%global xdg_desktop_portal_version 1.0.2 + +Name: xdg-desktop-portal-gtk +Version: 1.0.2 +Release: 1%{?dist} +Summary: Backend implementation for xdg-desktop-portal using GTK+ + +License: LGPLv2+ +URL: https://github.com/flatpak/%{name} +Source0: https://github.com/flatpak/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz + +BuildRequires: gcc +BuildRequires: gettext +BuildRequires: pkgconfig(gtk+-unix-print-3.0) +BuildRequires: pkgconfig(xdg-desktop-portal) >= %{xdg_desktop_portal_version} +%{?systemd_requires} +BuildRequires: systemd +Requires: dbus +Requires: xdg-desktop-portal >= %{xdg_desktop_portal_version} + +%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} + + +%post +%systemd_user_post %{name}.service + + +%preun +%systemd_user_preun %{name}.service + + +%files -f %{name}.lang +%license COPYING +%doc NEWS +%{_libexecdir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.gtk.service +%{_datadir}/xdg-desktop-portal/portals/gtk.portal +%{_userunitdir}/%{name}.service + + + +%changelog +* Wed Sep 12 2018 David King - 1.0.2-1 +- Update to 1.0.2 (#1570030) + +* Wed Jan 18 2017 David King - 0.5-1 +- Update to 0.5 + +* Fri Sep 02 2016 David King - 0.3-1 +- Update to 0.3 + +* Fri Jul 29 2016 David King - 0.2-1 +- Update to 0.2 (#1361576) + +* Wed Jul 13 2016 David King - 0.1-1 +- Initial Fedora packaging