1c261c
%global apiversion 1.15
d97884
d97884
Name: cppunit
1c261c
Version: 1.15.1
1c261c
Release: 5%{?dist}
d97884
d97884
Summary: C++ unit testing framework
d97884
# no license in files
d97884
License: LGPLv2+
d97884
Url: https://www.freedesktop.org/wiki/Software/cppunit/
d97884
Source: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.gz
d97884
d97884
BuildRequires: doxygen
1c261c
BuildRequires: gcc-c++
d97884
BuildRequires: graphviz
1c261c
BuildRequires: make
d97884
d97884
%description
d97884
CppUnit is the C++ port of the famous JUnit framework for unit testing.
d97884
Test output is in XML for automatic testing and GUI based for supervised 
d97884
tests.
d97884
d97884
%package devel
d97884
Summary: Libraries and headers for cppunit development
1c261c
Requires: %{name}%{?_isa} = %{version}-%{release}
d97884
d97884
%description devel
d97884
This package contains the libraries and headers necessary for developing
d97884
programs that use cppunit.
d97884
d97884
%package doc
d97884
Summary: HTML formatted API documention for cppunit
d97884
d97884
%description doc
d97884
The cppunit-doc package contains HTML formatted API documention generated by
d97884
the popular doxygen documentation generation tool.
d97884
d97884
%prep
d97884
%autosetup -p1
d97884
d97884
%build
d97884
%configure --enable-doxygen --disable-static --disable-silent-rules
d97884
sed -i \
d97884
    -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
d97884
    -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
d97884
    libtool
1c261c
1c261c
%make_build
d97884
d97884
%install
1c261c
%make_install
1c261c
d97884
rm %{buildroot}%{_libdir}/*.la
d97884
# remove double of doc
d97884
rm -rf %{buildroot}%{_datadir}/doc/cppunit %{buildroot}%{_datadir}/%{name}/html
d97884
d97884
# clean up examples
d97884
rm -rf __dist-examples __dist-examples-dir
d97884
cp -a examples __dist-examples
d97884
make -C __dist-examples distclean
d97884
# Makefile.am files are left as documentation
1c261c
find __dist-examples \( -name Makefile.in -o -name .gitignore -o -name '*.opt' -o -name '*.sln' -o -name '*.vcproj' \) -exec rm {} \;
d97884
mkdir __dist-examples-dir
d97884
mv __dist-examples __dist-examples-dir/examples
d97884
d97884
1c261c
%ldconfig_scriptlets
d97884
d97884
%files
d97884
%doc AUTHORS NEWS README THANKS TODO BUGS doc/FAQ
d97884
%license COPYING
d97884
%{_bindir}/DllPlugInTester
1c261c
%{_libdir}/libcppunit-%{apiversion}.so.1
1c261c
%{_libdir}/libcppunit-%{apiversion}.so.1.*
d97884
d97884
%files devel
d97884
%{_includedir}/cppunit
d97884
%{_libdir}/libcppunit.so
d97884
%{_libdir}/pkgconfig/cppunit.pc
d97884
d97884
%files doc
d97884
%license COPYING
d97884
%doc __dist-examples-dir/examples/
d97884
%doc doc/html
d97884
d97884
%changelog
1c261c
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.1-5
1c261c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1c261c
1c261c
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.1-4
1c261c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1c261c
1c261c
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.1-3
1c261c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1c261c
1c261c
* Wed Dec 25 2019 David Tardon <dtardon@redhat.com> - 1.15.1-2
1c261c
- try again
1c261c
1c261c
* Wed Dec 25 2019 David Tardon <dtardon@redhat.com> - 1.15.1-1
1c261c
- new upstream release
1c261c
1c261c
* Sat Dec 21 2019 David Tardon <dtardon@redhat.com> - 1.15.0-1
1c261c
- new upstream release
1c261c
1c261c
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-8
1c261c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1c261c
1c261c
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-7
1c261c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1c261c
1c261c
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-6
1c261c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1c261c
1c261c
* Thu Jun 28 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.14.0-5
1c261c
- use %%make_build %%make_install %%ldconfig_scriptlets
1c261c
- -devel: tighten dep on main pkg with %%_isa
1c261c
d97884
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-4
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d97884
d97884
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-3
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
d97884
d97884
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-2
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d97884
d97884
* Tue May 02 2017 David Tardon <dtardon@redhat.com> - 1.14.0-1
d97884
- new upstream release
d97884
d97884
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.2-3
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d97884
d97884
* Sat Feb 13 2016 David Tardon <dtardon@redhat.com> - 1.13.2-2
d97884
- drop obsolete cppunit-config
d97884
d97884
* Sat Feb 13 2016 David Tardon <dtardon@redhat.com> - 1.13.2-1
d97884
- switch to new upstream
d97884
d97884
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-17
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d97884
d97884
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-16
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d97884
d97884
* Sat Apr 11 2015 David Tardon <dtardon@redhat.com> - 1.12.1-15
d97884
- rebuild for yet another C++ ABI break
d97884
d97884
* Fri Feb 20 2015 David Tardon <dtardon@redhat.com> - 1.12.1-14
d97884
- rebuild for C++ stdlib ABI change in gcc5
d97884
d97884
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-13
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d97884
d97884
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-12
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d97884
d97884
* Tue May 20 2014 David Tardon <dtardon@redhat.com> - 1.12.1-11
d97884
- rhbz#925193 add support for aarch64
d97884
d97884
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-10
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d97884
d97884
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-9
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d97884
d97884
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-8
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d97884
d97884
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-7
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d97884
d97884
* Wed Oct 05 2011 Caolán McNamara <caolanm@redhat.com> - 1.12.1-6
d97884
- add sf#2912630 fix for unused argument warnings
d97884
d97884
* Tue Jun 28 2011 Steven M. Parrish <smparrish@gmail.com> - 1.12.1-5
d97884
- Fix for bug 452340
d97884
d97884
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-4
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d97884
d97884
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-3
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d97884
d97884
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-2
d97884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d97884
d97884
* Thu Sep 18 2008 Patrice Dumas <pertusus@free.fr> 1.12.1-1
d97884
- Update to 1.12.1
d97884
d97884
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.12.0-5
d97884
- Autorebuild for GCC 4.3
d97884
d97884
* Mon Dec 17 2007 Patrice Dumas <pertusus@free.fr> 1.12.0-4
d97884
- remove libdir reference to cppunit-config, should fix multiarch conflict
d97884
  (#340951)
d97884
- fix encoding and remove windows related files in examples
d97884
- keep timestamps
d97884
d97884
* Mon Jan 29 2007 Patrice Dumas <pertusus@free.fr> 1.12.0-3
d97884
- add rightly files to -devel (#224106)
d97884
- add necessary requires for -devel (#224106)
d97884
- ship examples
d97884
d97884
* Sun Sep 10 2006 Patrice Dumas <pertusus@free.fr> 1.12.0-2
d97884
- rebuild for FC6
d97884
d97884
* Wed Jul  5 2006 Patrice Dumas <pertusus@free.fr> 1.12.0-1
d97884
- update to 1.12
d97884
d97884
* Sun May 21 2006 Patrice Dumas <pertusus@free.fr> 1.11.6-1
d97884
- update to 1.11.6
d97884
d97884
* Wed Dec 21 2005 Patrice Dumas <pertusus@free.fr> 1.11.4-1
d97884
- update
d97884
d97884
* Mon Aug 15 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.11.0-2
d97884
- various cleanups
d97884
d97884
* Mon Jul  4 2005 Patrice Dumas <pertusus@free.fr> 1.11.0-1
d97884
- update using the fedora template 
d97884
 
d97884
* Sat Apr 14 2001 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
d97884
- Initial release