From 272ab58149250eecaf69b20156d36d9059362df9 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 04:02:07 +0100 Subject: [PATCH] automatic update by autodist [release 1.13.2-1mamba;Sat Nov 09 2013] --- README.md | 3 ++ libcppunit.spec | 106 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 libcppunit.spec diff --git a/README.md b/README.md index 7a58a64..5d591de 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libcppunit +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. + diff --git a/libcppunit.spec b/libcppunit.spec new file mode 100644 index 0000000..b717acf --- /dev/null +++ b/libcppunit.spec @@ -0,0 +1,106 @@ +%define majversion %(echo %version | cut -d. -f 1-2) + +Name: libcppunit +Version: 1.13.2 +Release: 1mamba +Summary: C++ Port of JUnit Testing Framework +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.freedesktop.org/wiki/Software/cppunit +Source: http://dev-www.libreoffice.org/src/cppunit-%{version}.tar.gz +#Source: http://downloads.sourceforge.net/sourceforge/cppunit/cppunit-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: bash +BuildRequires: glibc-devel +BuildRequires: gtk-doc +BuildRequires: ldconfig +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: doxygen +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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. +Test output is in XML for automatic testing and GUI based for supervised tests. + +This package contains static libraries and header files need for development. + +%package apidocs +Summary: CppUnit API documentation +Group: Documentation +Requires: gtk-doc + +%description apidocs +CppUnit API documentation. + +%prep +%setup -q -n cppunit-%{version} + +%build +%configure \ + --enable-doxygen \ + --docdir=%{_docdir} + +%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 +%{_bindir}/cppunit-config +%dir %{_includedir}/cppunit/ +%{_includedir}/cppunit/* +%{_libdir}/libcppunit.a +%{_libdir}/libcppunit.la +%{_libdir}/libcppunit.so +%{_libdir}/pkgconfig/cppunit.pc +%{_datadir}/aclocal/cppunit.m4 +%{_mandir}/man1/cppunit-config.* +%doc BUGS ChangeLog NEWS README THANKS TODO + +%files apidocs +%defattr(-,root,root) +%{_datadir}/cppunit/* + +%changelog +* Sat Nov 09 2013 Automatic Build System 1.13.2-1mamba +- automatic update by autodist + +* Sun Dec 02 2012 Automatic Build System 1.13.1-1mamba +- update to 1.13.1 + +* Sat Jan 10 2009 Silvan Calarco 1.12.1-1mamba +- automatic update by autodist + +* Mon Dec 03 2007 Silvan Calarco 1.12.0-1mamba +- update to 1.12.0 + +* Thu Jan 25 2007 Davide Madrisan 1.10.2-1qilnx +- package created by autospec