xdg-desktop-portal/xdg-desktop-portal.spec

137 lines
4.1 KiB
RPMSpec
Raw Normal View History

Name: xdg-desktop-portal
2018-04-25 05:58:45 +00:00
Version: 0.11
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: gcc
BuildRequires: pkgconfig(flatpak)
2018-02-14 13:39:25 +00:00
BuildRequires: pkgconfig(fuse)
BuildRequires: pkgconfig(gio-unix-2.0)
2018-02-14 13:39:25 +00:00
BuildRequires: pkgconfig(libpipewire-0.1)
BuildRequires: /usr/bin/xmlto
2017-03-31 13:23:28 +00:00
%{?systemd_requires}
BuildRequires: systemd
Requires: dbus
2018-02-14 13:39:25 +00:00
# Required version due to the move of the document portal.
Requires: flatpak >= 0.11.1
# Required for the document portal.
Requires: /usr/bin/fusermount
%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}.
2016-07-13 11:44:19 +00:00
%prep
%setup -q
2016-07-13 11:44:19 +00:00
%build
2016-09-02 11:18:35 +00:00
%configure --enable-docbook-docs
%make_build
2016-07-13 11:44:19 +00:00
%install
%make_install
2016-07-13 11:44:19 +00:00
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
2016-07-29 13:00:57 +00:00
%find_lang %{name}
2016-07-29 13:00:57 +00:00
2017-03-31 13:23:28 +00:00
%post
%systemd_user_post %{name}.service
2018-02-14 13:39:25 +00:00
%systemd_user_post xdg-document-portal.service
%systemd_user_post xdg-permission-store.service
2017-03-31 13:23:28 +00:00
%preun
%systemd_user_preun %{name}.service
2018-02-14 13:39:25 +00:00
%systemd_user_preun xdg-document-portal.service
%systemd_user_preun xdg-permission-store.service
2017-03-31 13:23:28 +00:00
2016-07-29 13:00:57 +00:00
%files -f %{name}.lang
%doc %{_pkgdocdir}
%license COPYING
%{_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
2018-02-14 13:39:25 +00:00
%{_datadir}/dbus-1/services/org.freedesktop.portal.Documents.service
%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service
2016-07-13 11:44:19 +00:00
%{_datadir}/%{name}
2018-02-14 13:39:25 +00:00
%{_libexecdir}/xdg-desktop-portal
%{_libexecdir}/xdg-document-portal
%{_libexecdir}/xdg-permission-store
2017-03-31 13:23:28 +00:00
%{_userunitdir}/%{name}.service
2018-02-14 13:39:25 +00:00
%{_userunitdir}/xdg-document-portal.service
%{_userunitdir}/xdg-permission-store.service
%files devel
2017-11-19 22:05:33 +00:00
%{_datadir}/pkgconfig/xdg-desktop-portal.pc
2016-07-13 11:44:19 +00:00
%changelog
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-04-25 05:58:45 +00:00
* Wed Apr 25 2018 David King <amigadave@amigadave.com> - 0.11-1
- Update to 0.11 (#1545225)
2018-02-14 13:39:25 +00:00
* Wed Feb 14 2018 David King <amigadave@amigadave.com> - 0.10-1
- Update to 0.10 (#1545225)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2017-11-19 22:05:33 +00:00
* Sun Nov 19 2017 David King <amigadave@amigadave.com> - 0.9-1
- Update to 0.9 (#1514774)
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-06-06 09:24:12 +00:00
* Tue Jun 06 2017 David King <amigadave@amigadave.com> - 0.8-1
- Update to 0.8 (#1458969)
2017-03-31 13:23:28 +00:00
* Fri Mar 31 2017 David King <amigadave@amigadave.com> - 0.6-1
- Update to 0.6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-01-18 20:27:15 +00:00
* Wed Jan 18 2017 David King <amigadave@amigadave.com> - 0.5-1
- Update to 0.5
2016-12-01 13:47:49 +00:00
* Thu Dec 01 2016 David King <amigadave@amigadave.com> - 0.4-1
- Update to 0.4
2016-09-02 11:18:35 +00:00
* Fri Sep 02 2016 David King <amigadave@amigadave.com> - 0.3-1
- Update to 0.3
2016-07-29 13:00:57 +00:00
* Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1
- Update to 0.2 (#1361575)
2016-07-13 11:44:19 +00:00
* Tue Jul 12 2016 David King <amigadave@amigadave.com> - 0.1-2
- Own the portals directory
* Mon Jul 11 2016 David King <amigadave@amigadave.com> - 0.1-1
- Initial Fedora packaging