2024-01-06 04:02:07 +01:00
|
|
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
|
|
|
|
|
|
|
Name: libcppunit
|
2024-01-06 04:02:08 +01:00
|
|
|
Version: 1.15.1
|
2024-05-07 00:46:57 +02:00
|
|
|
Release: 2mamba
|
2024-01-06 04:02:07 +01:00
|
|
|
Summary: C++ Port of JUnit Testing Framework
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-05-07 00:46:57 +02:00
|
|
|
URL: https://www.freedesktop.org/wiki/Software/cppunit/
|
2024-01-06 04:02:07 +01:00
|
|
|
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.
|
2024-05-07 00:46:57 +02:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 04:02:07 +01:00
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Summary: CppUnit API documentation
|
|
|
|
Group: Documentation
|
|
|
|
Requires: gtk-doc
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
CppUnit API documentation.
|
|
|
|
|
2024-05-07 00:46:57 +02:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:02:07 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n cppunit-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--enable-doxygen \
|
2024-01-06 04:02:07 +01:00
|
|
|
--docdir=%{_docdir}/%{name}
|
2024-01-06 04:02:07 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-06 04:02:07 +01:00
|
|
|
%dir %{_docdir}/%{name}
|
|
|
|
%{_docdir}/%{name}/*
|
|
|
|
#%doc BUGS ChangeLog NEWS README THANKS TODO
|
2024-01-06 04:02:07 +01:00
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/cppunit/*
|
|
|
|
|
|
|
|
%changelog
|
2024-05-07 00:46:57 +02:00
|
|
|
* Mon May 06 2024 Automatic Build System <autodist@openmamba.org> 1.15.1-2mamba
|
|
|
|
- rebuilt with debug package and without .la files
|
|
|
|
|
2024-01-06 04:02:08 +01:00
|
|
|
* Fri Dec 27 2019 Automatic Build System <autodist@mambasoft.it> 1.15.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:07 +01:00
|
|
|
* Sat Jun 17 2017 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:02:07 +01:00
|
|
|
* Sat Feb 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.2-3mamba
|
|
|
|
- rebuilt (not fixing gcc 5.3.0 problem on x86)
|
|
|
|
|
2024-01-06 04:02:07 +01:00
|
|
|
* Sat Jan 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.2-2mamba
|
|
|
|
- rebuilt with gcc 5.3
|
|
|
|
|
2024-01-06 04:02:07 +01:00
|
|
|
* 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
|