Пакет libsecret: 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 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 | %def_enable snapshot %define ver_major 0.19 %define api_ver 1 %def_disable static %def_enable gtk_doc %def_enable introspection %def_enable vala %def_disable check Name: libsecret Version: %ver_major.1 Release: alt2 Summary: A client library for the Secret Service DBus API Group: System/Libraries License: LGPLv2 Url: https://wiki.gnome.org/Projects/Libsecret %if_disabled snapshot Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz %else #VCS: git://git.gnome.org/libsecret Source: %name-%version.tar %endif %define glib_ver 2.44.0 %define vala_ver 0.17.2.12 %define gcrypt_ver 1.4.5 BuildRequires(pre): meson >= 0.50 BuildRequires(pre): rpm-macros-valgrind BuildRequires: libgio-devel >= %glib_ver BuildRequires: libgcrypt-devel >= %gcrypt_ver BuildRequires: gtk-doc xsltproc %{?_enable_introspection:BuildRequires: gobject-introspection-devel} %{?_enable_vala:BuildRequires: vala-tools >= %vala_ver} %{?_enable_check: BuildRequires: /proc dbus-tools-gui python3-module-dbus BuildRequires: python3-module-pygobject python3-module-mock libgjs} %ifarch %valgrind_arches BuildRequires: valgrind-devel %endif %description libsecrets is a client for the Secret Service DBus API. The Secret Service allows storage of passwords in a common way on the desktop. Supported by gnome-keyring and ksecretservice. %package devel Summary: Development files and libraries for %name Group: Development/C Requires: %name = %version-%release %description devel libsecrets is a client for the Secret Service DBus API. The Secret Service allows storage of passwords in a common way on the desktop. Supported by gnome-keyring and ksecretservice. This package provides files for development with %name. %package devel-doc Summary: Development documentaion for %name Group: Development/C BuildArch: noarch Conflicts: %name < %version %description devel-doc libsecrets is a client for the Secret Service DBus API. The Secret Service allows storage of passwords in a common way on the desktop. Supported by gnome-keyring and ksecretservice. This package provides development documentations for %name. %package gir Summary: GObject introspection data for %name Group: System/Libraries Requires: %name = %version-%release %description gir GObject introspection data for the %name library. %package gir-devel Summary: GObject introspection devel data for %name Group: System/Libraries BuildArch: noarch Requires: %name-gir = %version-%release Requires: %name-devel = %version-%release %description gir-devel GObject introspection devel data for %name. %prep %setup find . -name "*.py" -print0 | xargs -r0 sed -i 's|\(#\!/usr/bin/env python\)|\13|' -- %meson \ %{?_disable_gtk_doc:-Dgtk_doc=false} \ %{?_disable_vala:-Dvapi=false} %meson_build %install %meson_install %find_lang %name %check export LD_LIBRARY_PATH=%buildroot%_libdir dbus-run-session %meson_test %files -f %name.lang %_bindir/secret-tool %_libdir/%name-%api_ver.so.* %_man1dir/secret-tool.1.* %doc AUTHORS README* NEWS %files devel %_includedir/%name-%api_ver %_libdir/%name-%api_ver.so %_pkgconfigdir/%name-%api_ver.pc %_pkgconfigdir/%name-unstable.pc %if_enabled vala %_vapidir/%name-%api_ver.vapi %_vapidir/%name-%api_ver.deps %endif %if_enabled gtk_doc %files devel-doc %_datadir/gtk-doc/html/* %endif %if_enabled introspection %files gir %_typelibdir/Secret-%api_ver.typelib %files gir-devel %_girdir/Secret-%api_ver.gir %endif %changelog * Sat Sep 28 2019 Yuri N. Sedunov <aris@altlinux.org> 0.19.1-alt2 - updated to 0.19.1-2-g67680a6 (fixed build w/o valgrind) * Fri Sep 06 2019 Yuri N. Sedunov <aris@altlinux.org> 0.19.1-alt1 - 0.19.1 (ported to Meson build system) * Sat Mar 02 2019 Yuri N. Sedunov <aris@altlinux.org> 0.18.8-alt1 - 0.18.8 * Fri Jan 11 2019 Yuri N. Sedunov <aris@altlinux.org> 0.18.7-alt2 - disabled %%check * Sat Dec 29 2018 Yuri N. Sedunov <aris@altlinux.org> 0.18.7-alt1 - 0.18.7 * Thu Mar 29 2018 Yuri N. Sedunov <aris@altlinux.org> 0.18.6-alt1 - 0.18.6 * Wed Mar 01 2017 Michael Shigorin <mike@altlinux.org> 0.18.5-alt1.1 - BOOTSTRAP: introduce check knob (*off* by default as %%check section is apparently disabled by now) * Fri Mar 25 2016 Yuri N. Sedunov <aris@altlinux.org> 0.18.5-alt1 - 0.18.5 * Tue Jan 19 2016 Yuri N. Sedunov <aris@altlinux.org> 0.18.4-alt1 - 0.18.4 * Mon Aug 03 2015 Yuri N. Sedunov <aris@altlinux.org> 0.18.3-alt1 - 0.18.3 * Tue Apr 14 2015 Yuri N. Sedunov <aris@altlinux.org> 0.18.2-alt1 - 0.18.2 * Fri Oct 17 2014 Yuri N. Sedunov <aris@altlinux.org> 0.18.1-alt1 - after 0.18.1 snapshot (bfe9f3514) * Fri Mar 07 2014 Yuri N. Sedunov <aris@altlinux.org> 0.18-alt1 - 0.18 * Mon Aug 26 2013 Yuri N. Sedunov <aris@altlinux.org> 0.16-alt1 - 0.16 * Fri Apr 12 2013 Yuri N. Sedunov <aris@altlinux.org> 0.15-alt2 - added vala bindigs to -devel subpackage (ALT #28841) * Mon Mar 18 2013 Yuri N. Sedunov <aris@altlinux.org> 0.15-alt1 - 0.15 * Tue Mar 05 2013 Yuri N. Sedunov <aris@altlinux.org> 0.14-alt1 - 0.14 * Sun Feb 17 2013 Yuri N. Sedunov <aris@altlinux.org> 0.13-alt1 - 0.13 - made %%check using xvfb-run * Tue Oct 16 2012 Yuri N. Sedunov <aris@altlinux.org> 0.11-alt1 - 0.11 * Tue Sep 18 2012 Yuri N. Sedunov <aris@altlinux.org> 0.10-alt1 - 0.10 * Thu Sep 06 2012 Yuri N. Sedunov <aris@altlinux.org> 0.9-alt1 - 0.9 * Mon Jun 25 2012 Yuri N. Sedunov <aris@altlinux.org> 0.3-alt1 - 0.3 * Mon Apr 16 2012 Yuri N. Sedunov <aris@altlinux.org> 0.2-alt1 - 0.2 * Sun Mar 25 2012 Yuri N. Sedunov <aris@altlinux.org> 0.1-alt1 - first build for Sisyphus |