libcppunit/libcppunit.spec

115 lines
3.1 KiB
RPMSpec
Raw Normal View History

%define majversion %(echo %version | cut -d. -f 1-2)
Name: libcppunit
Version: 1.15.1
Release: 2mamba
Summary: C++ Port of JUnit Testing Framework
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.freedesktop.org/wiki/Software/cppunit/
Source: http://dev-www.libreoffice.org/src/cppunit-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: doxygen
%description
CppUnit is the C++ port of the famous JUnit framework for unit testing.
Test output is in XML for automatic testing and GUI based for supervised tests.
%package devel
Summary: Devel package for CppUnit
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
CppUnit is the C++ port of the famous JUnit framework for unit testing.
This package contains static libraries and header files needed for development.
%package apidocs
Summary: CppUnit API documentation
Group: Documentation
Requires: gtk-doc
%description apidocs
CppUnit API documentation.
%debug_package
%prep
%setup -q -n cppunit-%{version}
%build
%configure \
--enable-doxygen \
--docdir=%{_docdir}/%{name}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libcppunit-%{majversion}.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_bindir}/DllPlugInTester
%dir %{_includedir}/cppunit/
%{_includedir}/cppunit/*
%{_libdir}/libcppunit.a
%{_libdir}/libcppunit.so
%{_libdir}/pkgconfig/cppunit.pc
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/*
#%doc BUGS ChangeLog NEWS README THANKS TODO
%files apidocs
%defattr(-,root,root)
%{_datadir}/cppunit/*
%changelog
* Mon May 06 2024 Automatic Build System <autodist@openmamba.org> 1.15.1-2mamba
- rebuilt with debug package and without .la files
* Fri Dec 27 2019 Automatic Build System <autodist@mambasoft.it> 1.15.1-1mamba
- automatic version update by autodist
* Sat Jun 17 2017 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
- automatic version update by autodist
* Sat Feb 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.2-3mamba
- rebuilt (not fixing gcc 5.3.0 problem on x86)
* Sat Jan 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.2-2mamba
- rebuilt with gcc 5.3
* Sat Nov 09 2013 Automatic Build System <autodist@mambasoft.it> 1.13.2-1mamba
- automatic update by autodist
* Sun Dec 02 2012 Automatic Build System <autodist@mambasoft.it> 1.13.1-1mamba
- update to 1.13.1
* Sat Jan 10 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.1-1mamba
- automatic update by autodist
* Mon Dec 03 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.0-1mamba
- update to 1.12.0
* Thu Jan 25 2007 Davide Madrisan <davide.madrisan@qilinux.it> 1.10.2-1qilnx
- package created by autospec