代码拉取完成,页面将自动刷新
Name: umockdev
Version: 0.19.0
Release: 1
Summary: Mock hardware devices
License: LGPL-2.1-or-later
URL: https://github.com/martinpitt/%{name}
Source0: https://github.com/martinpitt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: meson
BuildRequires: pkgconfig(gio-2.0) >= 2.32.0
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.32.0
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
BuildRequires: pkgconfig(gobject-2.0) >= 2.32.0
BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: pkgconfig(libpcap)
BuildRequires: pkgconfig(libudev)
BuildRequires: libselinux-devel
BuildRequires: /usr/bin/g-ir-compiler
BuildRequires: /usr/bin/gtkdoc-scan
BuildRequires: /usr/bin/python3
BuildRequires: /usr/bin/vala
%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.
%package devel
Summary: umockdev development kit.
Requires: %{name} = %{version}-%{release}
Conflicts: %{name} < 0.19.0
%description devel
The umockdev-devel package contains umockdev development library.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson -Dgtk_doc=true
%meson_build
%install
%meson_install
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/umockdev
%files
%license COPYING
%doc README.md
%{_bindir}/umockdev-*
%{_libdir}/libumockdev.so.*
%{_libdir}/libumockdev-preload.so.*
%{_libdir}/girepository-1.0/UMockdev-1.0.typelib
%files devel
%doc docs/script-format.txt docs/examples/battery.c docs/examples/battery.py
%{_libdir}/libumockdev.so
%{_libdir}/libumockdev-preload.so
%{_libdir}/pkgconfig/umockdev-1.0.pc
%{_datadir}/gir-1.0/UMockdev-1.0.gir
%{_includedir}/umockdev-1.0
%{_datadir}/gtk-doc/html/umockdev/
%{_datadir}/vala/vapi/umockdev-1.0.vapi
%changelog
* Sat Dec 28 2024 Funda Wang <fundawang@yeah.net> - 0.19.0-1
- update to 0.19.0
- move libumockdev-preload.so into devel package, it is not used under runtime
* Wed Aug 23 2023 yaoxin <yao_xin001@hoperun.com> - 0.17.18-1
- Update to 0.17.18
* Mon Jul 17 2023 chenchen <chen_aka_jan@163.com> - 0.17.17-1
- update to 0.17.17
* Mon Apr 25 2022 caodongxia <caodongxia@h-partners.com> - 0.17.9-1
- update to 0.17.9
* Wed Aug 4 2021 wutao <tushenmei@huawei.com> - 0.11.3-5
- bugfix-of-gcc10.patch
* Sat Jun 26 2021 wutao <wutao61@huawei.com> - 0.11.3-4
- fix build error due to glibc update
* Mon Jan 07 2019 yangjian<yangjian79@huawei.com> - 0.11.3-3
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。