f3fb374
Name: cppunit
1edb804
Version: 1.11.4
1edb804
Release: 1%{?dist}
f3fb374
f3fb374
Summary: C++ unit testing framework
f3fb374
License: LGPL
f3fb374
Group: Development/Libraries
f3fb374
Url: http://cppunit.sourceforge.net/
f3fb374
Source: http://dl.sourceforge.net/sourceforge/cppunit/cppunit-%{version}.tar.gz
f3fb374
f3fb374
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f3fb374
BuildRequires: doxygen, graphviz
f3fb374
f3fb374
%description
f3fb374
CppUnit is the C++ port of the famous JUnit framework for unit testing.
f3fb374
Test output is in XML for automatic testing and GUI based for supervised tests.
f3fb374
f3fb374
%package devel
f3fb374
Summary: Libraries and headers for cppunit development
f3fb374
Group: Development/Libraries
f3fb374
Requires: %{name} = %{version}-%{release}
f3fb374
f3fb374
%description devel
f3fb374
This package contains the libraries and headers necessary for developing
f3fb374
programs that use cppunit.
f3fb374
f3fb374
%package doc
f3fb374
Summary: HTML formatted API documention for cppunit
f3fb374
Group: Documentation
f3fb374
Requires: %{name} = %{version}-%{release}
f3fb374
f3fb374
%description doc
f3fb374
The cppunit-doc package contains HTML formatted API documention generated by
f3fb374
the popular doxygen documentation generation tool.
f3fb374
f3fb374
%prep
f3fb374
%setup -q
f3fb374
f3fb374
%build
f3fb374
%configure --enable-doxygen
f3fb374
make %{?_smp_mflags}
f3fb374
f3fb374
%install
f3fb374
rm -rf $RPM_BUILD_ROOT
f3fb374
make install DESTDIR=$RPM_BUILD_ROOT
f3fb374
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
f3fb374
# remove double of doc
f3fb374
rm -rf $RPM_BUILD_ROOT/%{_datadir}/cppunit
f3fb374
f3fb374
%clean
f3fb374
rm -rf $RPM_BUILD_ROOT
f3fb374
f3fb374
%post -p /sbin/ldconfig
f3fb374
f3fb374
%postun -p /sbin/ldconfig
f3fb374
f3fb374
%files
f3fb374
%defattr(-,root,root,-)
f3fb374
%{_bindir}/DllPlugInTester
f3fb374
%{_mandir}/man1/*
f3fb374
%{_datadir}/aclocal/*
f3fb374
%{_libdir}/libcppunit*.so.*
f3fb374
%doc AUTHORS COPYING NEWS README THANKS ChangeLog TODO BUGS doc/FAQ
f3fb374
f3fb374
%files devel
f3fb374
%defattr(-,root,root,-)
f3fb374
%{_bindir}/cppunit-config
f3fb374
%{_includedir}/cppunit
f3fb374
%{_libdir}/libcppunit.a
f3fb374
%{_libdir}/libcppunit.so
f3fb374
f3fb374
%files doc
f3fb374
%defattr(-,root,root,-)
f3fb374
%doc doc/html/*
f3fb374
f3fb374
%changelog
1edb804
* Wed Dec 21 2005 Patrice Dumas <dumas@centre-cired.fr> 1.11.4-1
1edb804
- update
1edb804
f3fb374
* Mon Aug 15 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.11.0-2
f3fb374
- various cleanups
f3fb374
f3fb374
* Mon Jul  4 2005 Patrice Dumas <dumas@centre-cired.fr> 1.11.0-1
f3fb374
- update using the fedora template 
f3fb374
 
f3fb374
* Sat Apr 14 2001 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
f3fb374
- Initial release