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