package created using the webbuild interface [release 3.0.20161217git-1mamba;Sat Dec 17 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 20:46:29 +01:00
parent bddbcc895b
commit 90f2ef0fd2
2 changed files with 84 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# bcunit # bcunit
A fork of the defunct project CUnit, with several fixes and patches applied.

82
bcunit.spec Normal file
View File

@ -0,0 +1,82 @@
Name: bcunit
Version: 3.0.20161217git
Release: 1mamba
Summary: A fork of the defunct project CUnit, with several fixes and patches applied
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://linphone.org
## GITSOURCE https://github.com/BelledonneCommunications/bcunit.git 3.0
Source: https://github.com/BelledonneCommunications/bcunit.git/master/bcunit-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A fork of the defunct project CUnit, with several fixes and patches applied.
%package -n lib%{name}
Group: System/Libraries
Summary: A fork of the defunct project CUnit, with several fixes and patches applied
%description -n lib%{name}
A fork of the defunct project CUnit, with several fixes and patches applied.
%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
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall docdir=%{_docdir}/BCUnit
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%dir %{_datadir}/BCUnit
%{_datadir}/BCUnit/*
%{_libdir}/libbcunit.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/BCUnit
%{_includedir}/BCUnit/*.h
%{_libdir}/libbcunit.la
%{_libdir}/libbcunit.so
%{_libdir}/pkgconfig/bcunit.pc
%{_mandir}/man3/BCUnit.3*
%dir %{_docdir}/BCUnit
%{_docdir}/BCUnit/*
%doc ChangeLog NEWS README TODO
%changelog
* Sat Dec 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.20161217git-1mamba
- package created using the webbuild interface