Package libumockdev: 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 216 217 218 | %def_disable snapshot %define _name umockdev %define api_ver 1.0 %def_enable gtk_doc # /sys/devices/ required %def_disable check Name: lib%_name Version: 0.17.3 Release: alt1 Summary: Hardware devices mocking library for creating unit tests and bug reporting Group: System/Libraries License: LGPL-2.1-or-later Url: https://launchpad.net/%_name %if_disabled snapshot Source: https://github.com/martinpitt/%_name/releases/download/%version/%_name-%version.tar.xz %else Vcs: https://github.com/martinpitt/umockdev.git Source: %_name-%version.tar %endif %define glib_ver 2.32 BuildRequires(pre): rpm-macros-meson rpm-build-gir rpm-build-vala BuildRequires: meson vala-tools BuildRequires: libgio-devel >= %glib_ver BuildRequires: libudev-devel libgudev-devel BuildRequires: libpcap-devel BuildRequires: gobject-introspection-devel %{?_enable_gtk_doc:BuildRequires: gtk-doc} %{?_enable_check: BuildRequires: /proc /dev/pts udev valgrind BuildRequires: python3-module-pygobject3 libgudev-gir-devel BuildRequires: xorg-server xorg-drv-dummy gphoto2 evtest} %description umockdev mocks Linux devices for creating integration tests for hardware related libraries and programs. It also provides tools to record the properties and behaviour of particular devices, and to run a program or test suite under a test bed with the previously recorded devices loaded. This allows developers of software like gphoto or libmtp to receive these records in bug reports and recreate the problem on their system without having access to the affected hardware. %package devel Summary: Development files for %name Group: Development/C Requires: /proc Requires: %name = %version-%release %description devel This package contains libraries, header files and documentation for developing applications that use %name. %package devel-doc Summary: Development documentation for %_name Group: Development/Documentation Conflicts: %name < %version-%release BuildArch: noarch %description devel-doc This package contains development documentation for %_name. %package gir Summary: GObject introspection data for the %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 the %name Group: Development/Other BuildArch: noarch Requires: %name-gir = %version-%release Requires: %name-devel = %version-%release %description gir-devel GObject introspection devel data for the %_name library. %define pkg_docdir %_defaultdocdir/%name-%version %prep %setup -n %_name-%version %build %meson \ %{?_enable_gtk_doc:-Dgtk_doc=true} %nil %meson_build %install %meson_install install -pD -m644 NEWS %buildroot%pkg_docdir %check export PATH=/sbin:$PATH %__meson_test %files %_bindir/%_name-record %_bindir/%_name-run %_bindir/%_name-wrapper %_libdir/%name.so.* %_libdir/%name-preload.so.* %doc %pkg_docdir %files devel %_includedir/%_name-%api_ver/ %_libdir/%name.so %_libdir/%name-preload.so %_pkgconfigdir/%_name-%api_ver.pc %_vapidir/%_name-%api_ver.vapi %if_enabled gtk_doc %files devel-doc %_datadir/gtk-doc/html/%_name/ %endif %files gir %_typelibdir/UMockdev-%api_ver.typelib %files gir-devel %_girdir/UMockdev-%api_ver.gir %changelog * Wed Jan 12 2022 Yuri N. Sedunov <aris@altlinux.org> 0.17.3-alt1 - 0.17.3 * Mon Jan 10 2022 Yuri N. Sedunov <aris@altlinux.org> 0.17.2-alt1 - 0.17.2 * Sat Dec 25 2021 Yuri N. Sedunov <aris@altlinux.org> 0.17.1-alt1 - 0.17.1 * Thu Sep 16 2021 Yuri N. Sedunov <aris@altlinux.org> 0.16.3-alt1 - 0.16.3 * Wed Aug 25 2021 Yuri N. Sedunov <aris@altlinux.org> 0.16.2-alt1 - 0.16.2 * Sun Jul 04 2021 Yuri N. Sedunov <aris@altlinux.org> 0.16.1-alt1 - 0.16.1 * Thu Jul 01 2021 Yuri N. Sedunov <aris@altlinux.org> 0.16.0-alt1 - 0.16.0 * Mon May 03 2021 Yuri N. Sedunov <aris@altlinux.org> 0.15.5-alt1 - 0.15.5 * Sat Apr 24 2021 Yuri N. Sedunov <aris@altlinux.org> 0.15.4-alt2 - updated to 0.15.4-14-gbc2bf0b * Mon Jan 04 2021 Yuri N. Sedunov <aris@altlinux.org> 0.15.4-alt1 - 0.15.4 * Fri Jan 01 2021 Yuri N. Sedunov <aris@altlinux.org> 0.15.3-alt1 - 0.15.3 * Thu Nov 26 2020 Yuri N. Sedunov <aris@altlinux.org> 0.15.2-alt1 - 0.15.2 * Tue Nov 17 2020 Yuri N. Sedunov <aris@altlinux.org> 0.15.1-alt1 - 0.15.1 (ported to Meson build system) * Wed Oct 28 2020 Yuri N. Sedunov <aris@altlinux.org> 0.14.4-alt1 - 0.14.4 * Mon Aug 24 2020 Yuri N. Sedunov <aris@altlinux.org> 0.14.3-alt1 - 0.14.3 * Thu Jul 30 2020 Yuri N. Sedunov <aris@altlinux.org> 0.14.2-alt1 - 0.14.2 * Wed Feb 12 2020 Yuri N. Sedunov <aris@altlinux.org> 0.14.1-alt1 - 0.14.1 * Tue Feb 11 2020 Yuri N. Sedunov <aris@altlinux.org> 0.14-alt1 - 0.14 - fixed License tag * Wed Aug 28 2019 Yuri N. Sedunov <aris@altlinux.org> 0.13.2-alt1 - 0.13.2 * Mon Jul 22 2019 Yuri N. Sedunov <aris@altlinux.org> 0.13.1-alt1 - 0.13.1 * Thu Nov 22 2018 Yuri N. Sedunov <aris@altlinux.org> 0.12.1-alt1 - 0.12.1 * Tue Aug 28 2018 Yuri N. Sedunov <aris@altlinux.org> 0.12-alt1 - 0.12 * Fri May 11 2018 Yuri N. Sedunov <aris@altlinux.org> 0.11.3-alt1 - 0.11.3 * Wed Apr 04 2018 Yuri N. Sedunov <aris@altlinux.org> 0.11.2-alt1 - 0.11.2 * Thu Mar 01 2018 Yuri N. Sedunov <aris@altlinux.org> 0.11.1-alt1 - 0.11.1 * Tue Feb 27 2018 Yuri N. Sedunov <aris@altlinux.org> 0.11-alt1 - 0.11 * Fri Jan 19 2018 Yuri N. Sedunov <aris@altlinux.org> 0.10-alt1 - 0.10 * Sun Sep 24 2017 Yuri N. Sedunov <aris@altlinux.org> 0.9.3-alt1 - 0.9.3 * Mon Feb 13 2017 Yuri N. Sedunov <aris@altlinux.org> 0.8.13-alt1 - first build for Sisyphus |