From d27d95a7e2ba6c3d8ce4eec51e5ff743db612f89 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2017 03:52:02 +0000 Subject: import xdg-desktop-portal-0.5-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..be2f580 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/xdg-desktop-portal-0.5.tar.xz diff --git a/.xdg-desktop-portal.metadata b/.xdg-desktop-portal.metadata new file mode 100644 index 0000000..6ff7c4e --- /dev/null +++ b/.xdg-desktop-portal.metadata @@ -0,0 +1 @@ +bb4db1dc99400b845f1d4ad9e160c4896b87bb5d SOURCES/xdg-desktop-portal-0.5.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.spec b/SPECS/xdg-desktop-portal.spec new file mode 100644 index 0000000..9f55f58 --- /dev/null +++ b/SPECS/xdg-desktop-portal.spec @@ -0,0 +1,83 @@ +Name: xdg-desktop-portal +Version: 0.5 +Release: 2%{?dist} +Summary: Portal frontend service to flatpak + +License: LGPLv2+ +URL: https://github.com/flatpak/xdg-desktop-portal/ +Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{version}/%{name}-%{version}.tar.xz + +BuildRequires: pkgconfig(flatpak) +BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: /usr/bin/xmlto +Requires: dbus + +%description +xdg-desktop-portal works by exposing a series of D-Bus interfaces known as +portals under a well-known name (org.freedesktop.portal.Desktop) and object +path (/org/freedesktop/portal/desktop). The portal interfaces include APIs for +file access, opening URIs, printing and others. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The pkg-config file for %{name}. + + +%prep +%setup -q + + +%build +# Generate consistent IDs between runs to avoid multilib problems. +export XMLTO_FLAGS="--stringparam generate.consistent.ids=1" +%configure --enable-docbook-docs +%make_build + + +%install +%make_install +install -dm 755 %{buildroot}/%{_pkgdocdir} +install -pm 644 README.md %{buildroot}/%{_pkgdocdir} +# This directory is used by implementations such as xdg-desktop-portal-gtk. +install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals + +%find_lang %{name} + + +%files -f %{name}.lang +%doc %{_pkgdocdir} +%license COPYING +%{_libexecdir}/xdg-desktop-portal +%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.*.xml +%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.*.xml +%{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service +%{_datadir}/%{name} + +%files devel +%{_libdir}/pkgconfig/xdg-desktop-portal.pc + + +%changelog +* Fri Mar 10 2017 David King - 0.5-2 +- Fix multilib issues with XML-based documentation + +* Wed Jan 18 2017 David King - 0.5-1 +- Update to 0.5 + +* Thu Dec 01 2016 David King - 0.4-1 +- Update to 0.4 + +* 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 (#1361575) + +* Tue Jul 12 2016 David King - 0.1-2 +- Own the portals directory + +* Mon Jul 11 2016 David King - 0.1-1 +- Initial Fedora packaging