1 Star 0 Fork 10

caodongxia/umockdev

forked from src-openEuler/umockdev 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
umockdev.spec 2.13 KB
一键复制 编辑 原始数据 按行查看 历史
caodongxia 提交于 2022-04-25 15:05 . update to 0.17.9
Name: umockdev
Version: 0.17.9
Release: 1
Summary: Mock hardware devices
License: LGPLv2+
URL: https://github.com/martinpitt/%{name}
Source0: https://github.com/martinpitt/%{name}/archive/%{version}.tar.gz
BuildRequires: autoconf automake libtool gtk-doc gobject-introspection-devel glib2-devel
BuildRequires: libgudev1-devel systemd-devel vala chrpath python3 gphoto2
BuildRequires: meson libpcap-devel
%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}
%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
%delete_la
chrpath --delete %{buildroot}%{_bindir}/{umockdev-record,umockdev-run}
chrpath --delete %{buildroot}%{_libdir}/{libumockdev.so.*,libumockdev-preload.so.*}
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/umockdev
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%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}/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
* Mon Apr 25 2022 caodongxia <[email protected]> - 0.17.9-1
- update to 0.17.9
* Wed Aug 4 2021 wutao <[email protected]> - 0.11.3-5
- bugfix-of-gcc10.patch
* Sat Jun 26 2021 wutao <[email protected]> - 0.11.3-4
- fix build error due to glibc update
* Tue Jan 07 2019 yangjian<[email protected]> - 0.11.3-3
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/caodongxia/umockdev.git
[email protected]:caodongxia/umockdev.git
caodongxia
umockdev
umockdev
master

搜索帮助