Package xdg-desktop-portal: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | %def_disable snapshot %define _userunitdir %(pkg-config systemd --variable systemduserunitdir) %define _libexecdir %_prefix/libexec %def_disable docs #ERROR: test-portals - Bail out! xdg-desktop-portal:ERROR:tests/camera.c:74:camera_cb: 'ret' should be FALSE %def_disable check Name: xdg-desktop-portal Version: 1.12.1 Release: alt1 Summary: Portal frontend service to Flatpak Group: Graphical desktop/GNOME License: LGPL-2.0 Url: https://github.com/flatpak/%name %if_disabled snapshot Source: %url/releases/download/%version/%name-%version.tar.xz %else Source: %name-%version.tar %endif %define glib_ver 2.60 %define geoclue_ver 2.5.2 %define portal_ver 0.2.90 Requires: dbus Requires: flatpak >= 1.6.0 Requires: /usr/bin/fusermount Requires: pipewire Requires: geoclue2 >= %geoclue_ver BuildRequires: pkgconfig(flatpak) BuildRequires: pkgconfig(fuse) BuildRequires: pkgconfig(gio-unix-2.0) >= %glib_ver BuildRequires: pkgconfig(libpipewire-0.3) BuildRequires: pkgconfig(libgeoclue-2.0) >= %geoclue_ver BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(json-glib-1.0) # since 1.5 BuildRequires: pkgconfig(libportal) >= %portal_ver %{?_enable_docs:BuildRequires: xmlto docbook-dtds docbook-style-xsl} %{?_enable_check:BuildRequires: /proc python3-module-pygobject3 fuse} %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 Group: Development/C BuildArch: noarch Requires: %name = %version-%release %description devel The pkg-config file for %name. %prep %setup %build %autoreconf %configure %{?_disable_docs:--disable-docbook-docs} %make_build %install %makeinstall_std # directory for portals such as xdg-desktop-portal-gtk install -d -m755 %buildroot/%_datadir/%name/portals %find_lang %name %check %make -k check VERBOSE=1 %files -f %name.lang %_libexecdir/%name %_libexecdir/xdg-document-portal %_libexecdir/xdg-permission-store %_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/dbus-1/services/org.freedesktop.portal.Documents.service %_datadir/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service %_datadir/%name/ %_userunitdir/%name.service %_userunitdir/xdg-document-portal.service %_userunitdir/xdg-permission-store.service %doc README.md NEWS %{?_enable_docs:%doc %_docdir/%name} %files devel %_datadir/pkgconfig/%name.pc %changelog * Thu Dec 23 2021 Yuri N. Sedunov <aris@altlinux.org> 1.12.1-alt1 - 1.12.1 * Wed Dec 22 2021 Yuri N. Sedunov <aris@altlinux.org> 1.12.0-alt1 - 1.12.0 * Sun Sep 26 2021 Yuri N. Sedunov <aris@altlinux.org> 1.10.1-alt1 - 1.10.1 * Tue Jul 06 2021 Yuri N. Sedunov <aris@altlinux.org> 1.8.1-alt2.1 - disabled check * Sun Apr 18 2021 Yuri N. Sedunov <aris@altlinux.org> 1.8.1-alt2 - updated to 1.8.1-3-g89d2197 * Thu Feb 18 2021 Yuri N. Sedunov <aris@altlinux.org> 1.8.1-alt1 - 1.8.1 * Tue Sep 15 2020 Yuri N. Sedunov <aris@altlinux.org> 1.8.0-alt1 - 1.8.0 * Sun Apr 05 2020 Yuri N. Sedunov <aris@altlinux.org> 1.7.2-alt1 - 1.7.2 - enabled %%check * Sat Mar 28 2020 Yuri N. Sedunov <aris@altlinux.org> 1.7.1-alt1 - 1.7.1 * Tue Mar 17 2020 Yuri N. Sedunov <aris@altlinux.org> 1.7.0-alt1 - 1.7.0 * Tue Mar 10 2020 Yuri N. Sedunov <aris@altlinux.org> 1.6.0-alt2 - updated to 1.6.0-18-g552a4f3 - built against pipewire-0.3 * Sat Dec 21 2019 Yuri N. Sedunov <aris@altlinux.org> 1.6.0-alt1 - 1.6.0 * Fri Dec 13 2019 Yuri N. Sedunov <aris@altlinux.org> 1.5.4-alt1 - 1.5.4 * Thu Nov 28 2019 Yuri N. Sedunov <aris@altlinux.org> 1.5.3-alt1 - 1.5.3 * Sun Nov 03 2019 Yuri N. Sedunov <aris@altlinux.org> 1.5.2-alt1 - 1.5.2 * Thu May 30 2019 Yuri N. Sedunov <aris@altlinux.org> 1.4.2-alt1 - 1.4.2 * Tue Jan 29 2019 Yuri N. Sedunov <aris@altlinux.org> 1.2.0-alt1 - 1.2.0 * Thu Nov 29 2018 Yuri N. Sedunov <aris@altlinux.org> 1.0.3-alt1 - 1.0.3 * Thu Sep 13 2018 Yuri N. Sedunov <aris@altlinux.org> 1.0.2-alt1 - 1.0.2 * Mon Sep 03 2018 Yuri N. Sedunov <aris@altlinux.org> 1.0.1-alt1 - 1.0.1 * Wed Aug 22 2018 Yuri N. Sedunov <aris@altlinux.org> 1.0-alt1 - 1.0 * Sun May 27 2018 Yuri N. Sedunov <aris@altlinux.org> 0.11-alt1 - first build for Sisyphus |