package created using the webbuild interface [release 0.9.4-1mamba;Sun Nov 19 2017]
This commit is contained in:
parent
ae3655a627
commit
503aafd2c0
@ -1,2 +1,4 @@
|
||||
# umockdev
|
||||
|
||||
Mock hardware devices for creating unit tests and bug reporting.
|
||||
|
||||
|
103
umockdev.spec
Normal file
103
umockdev.spec
Normal file
@ -0,0 +1,103 @@
|
||||
Name: umockdev
|
||||
Version: 0.9.4
|
||||
Release: 1mamba
|
||||
Summary: Mock hardware devices for creating unit tests and bug reporting
|
||||
Group: System/Kernel and hardware
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://launchpad.net/umockdev
|
||||
## GITSOURCE https://github.com/martinpitt/umockdev.git 0.9.4
|
||||
Source: https://github.com/martinpitt/umockdev.git/%{version}/umockdev-%{version}.tar.bz2
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libblkid-devel
|
||||
BuildRequires: libcap-devel
|
||||
BuildRequires: libdw-devel
|
||||
BuildRequires: libffi-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgudev-devel
|
||||
BuildRequires: libmount-devel
|
||||
BuildRequires: libpcre-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: libsepol-devel
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Mock hardware devices for creating unit tests and bug reporting.
|
||||
|
||||
%package -n lib%{name}
|
||||
Group: System/Libraries
|
||||
Summary: Shared libraries for %{name}
|
||||
|
||||
%description -n lib%{name}
|
||||
This package contains shared libraries for %{name}.
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: pkg-config
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure \
|
||||
--disable-static
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
rm -f %{buildroot}%{_libdir}/libumockdev.la
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/umockdev-record
|
||||
%{_bindir}/umockdev-run
|
||||
%{_bindir}/umockdev-wrapper
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libumockdev-preload.so.*
|
||||
%{_libdir}/libumockdev.so.*
|
||||
%{_libdir}/girepository-1.0/UMockdev-1.0.typelib
|
||||
%doc COPYING
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/umockdev-1.0
|
||||
%{_includedir}/umockdev-1.0/*
|
||||
%{_libdir}/libumockdev.so
|
||||
%{_libdir}/pkgconfig/umockdev-1.0.pc
|
||||
%dir %{_datadir}/doc/umockdev
|
||||
%{_datadir}/doc/umockdev/*
|
||||
%{_datadir}/gir-1.0/UMockdev-1.0.gir
|
||||
%{_datadir}/vala/vapi/umockdev-1.0.vapi
|
||||
%doc NEWS README.rst
|
||||
|
||||
%changelog
|
||||
* Sun Nov 19 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.4-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user