rebuilt with cmake [release 3.0.2.20200229git-2mamba;Fri May 07 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 20:46:29 +01:00
parent b92e72efd7
commit 0d5f2da239

View File

@ -1,21 +1,19 @@
Name: bcunit
Epoch: 1
Version: 3.0.2.20200229git
Release: 1mamba
Release: 2mamba
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.
@ -36,22 +34,22 @@ 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
touch README
./autogen.sh
%build
%configure
%cmake -d build \
-DENABLE_DOC=ON \
-DENABLE_STATIC=OFF
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall docdir=%{_docdir}/BCUnit
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -70,16 +68,20 @@ touch README
%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/*
%dir %{_datadir}/BCunit
%dir %{_datadir}/BCunit/cmake
%{_datadir}/BCunit/cmake/BcUnit*.cmake
%doc ChangeLog NEWS README TODO
%changelog
* Fri May 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2.20200229git-2mamba
- rebuilt with cmake
* Sat Feb 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2.20200229git-1mamba
- update to 3.0.2.20200229git