1 Star 0 Fork 10

sigui/umockdev

forked from src-openEuler/umockdev 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
umockdev.spec 1.84 KB
一键复制 编辑 原始数据 按行查看 历史
fun_yang 提交于 2020-01-10 10:05 . package init
Name: umockdev
Version: 0.11.3
Release: 3
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
%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
NOCONFIGURE=1 ./autogen.sh
%configure --disable-static --enable-gtk-doc
%make_build
%install
%make_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.rst
%{_bindir}/umockdev-*
%{_libdir}/*.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
* Tue Jan 07 2019 yangjian<[email protected]> - 0.11.3-3
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/si-gui/umockdev.git
[email protected]:si-gui/umockdev.git
si-gui
umockdev
umockdev
master

搜索帮助