Blame xdg-desktop-portal.spec

Igor Gnatenko 3a76d2b
Name:    xdg-desktop-portal
313c1ae
Version: 0.2
313c1ae
Release: 1%{?dist}
Igor Gnatenko 3a76d2b
Summary: Portal frontend service to flatpak
Igor Gnatenko 3a76d2b
Igor Gnatenko 3a76d2b
License: LGPLv2+
Igor Gnatenko 3a76d2b
URL:     https://github.com/flatpak/xdg-desktop-portal/
Igor Gnatenko 3a76d2b
Source0: https://github.com/flatpak/xdg-desktop-portal/releases/download/%{version}/%{name}-%{version}.tar.xz
Igor Gnatenko 3a76d2b
Igor Gnatenko 3a76d2b
BuildRequires: pkgconfig(flatpak)
Igor Gnatenko 3a76d2b
BuildRequires: pkgconfig(gio-unix-2.0)
Igor Gnatenko 3a76d2b
BuildRequires: /usr/bin/xmlto
Igor Gnatenko 3a76d2b
Requires:      dbus
Igor Gnatenko 3a76d2b
Igor Gnatenko 3a76d2b
%description
Igor Gnatenko 3a76d2b
xdg-desktop-portal works by exposing a series of D-Bus interfaces known as
Igor Gnatenko 3a76d2b
portals under a well-known name (org.freedesktop.portal.Desktop) and object
Igor Gnatenko 3a76d2b
path (/org/freedesktop/portal/desktop). The portal interfaces include APIs for
Igor Gnatenko 3a76d2b
file access, opening URIs, printing and others.
Igor Gnatenko 3a76d2b
Igor Gnatenko 3a76d2b
%package  devel
Igor Gnatenko 3a76d2b
Summary:  Development files for %{name}
Igor Gnatenko 3a76d2b
Requires: %{name}%{?_isa} = %{version}-%{release}
Igor Gnatenko 3a76d2b
Igor Gnatenko 3a76d2b
%description devel
Igor Gnatenko 3a76d2b
The pkg-config file for %{name}.
Igor Gnatenko 3a76d2b
2a2b28b
Igor Gnatenko 3a76d2b
%prep
Igor Gnatenko 3a76d2b
%setup -q
Igor Gnatenko 3a76d2b
2a2b28b
Igor Gnatenko 3a76d2b
%build
Igor Gnatenko 3a76d2b
%configure --enable-dockbook-docs
Igor Gnatenko 37466d9
%make_build
Igor Gnatenko 3a76d2b
2a2b28b
Igor Gnatenko 3a76d2b
%install
Igor Gnatenko 3a76d2b
%make_install
2a2b28b
install -dm 755 %{buildroot}/%{_pkgdocdir}
2a2b28b
install -pm 644 README.md %{buildroot}/%{_pkgdocdir}
2a2b28b
# This directory is used by implementations such as xdg-desktop-portal-gtk.
2a2b28b
install -dm 755 %{buildroot}/%{_datadir}/%{name}/portals
2a2b28b
313c1ae
%find_lang %{name}
Igor Gnatenko 3a76d2b
313c1ae
313c1ae
%files -f %{name}.lang
Igor Gnatenko 3a76d2b
%doc %{_pkgdocdir}
Igor Gnatenko 3a76d2b
%license COPYING
Igor Gnatenko 3a76d2b
%{_libexecdir}/xdg-desktop-portal
Igor Gnatenko 3a76d2b
%{_datadir}/dbus-1/interfaces/org.freedesktop.portal.*.xml
Igor Gnatenko 3a76d2b
%{_datadir}/dbus-1/interfaces/org.freedesktop.impl.portal.*.xml
Igor Gnatenko 3a76d2b
%{_datadir}/dbus-1/services/org.freedesktop.portal.Desktop.service
2a2b28b
%{_datadir}/%{name}
Igor Gnatenko 3a76d2b
Igor Gnatenko 3a76d2b
%files devel
Igor Gnatenko 3a76d2b
%{_libdir}/pkgconfig/xdg-desktop-portal.pc
Igor Gnatenko 3a76d2b
2a2b28b
Igor Gnatenko 3a76d2b
%changelog
313c1ae
* Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1
313c1ae
- Update to 0.2 (#1361575)
313c1ae
2a2b28b
* Tue Jul 12 2016 David King <amigadave@amigadave.com> - 0.1-2
2a2b28b
- Own the portals directory
2a2b28b
Igor Gnatenko 3a76d2b
* Mon Jul 11 2016 David King <amigadave@amigadave.com> - 0.1-1
Igor Gnatenko 3a76d2b
- Initial Fedora packaging