a75d37d
%global apiversion 1.15
18c0540
f3fb374
Name: cppunit
904ab9d
Version: 1.15.1
d93745d
Release: 4%{?dist}
f3fb374
f3fb374
Summary: C++ unit testing framework
8c7ba06
# no license in files
8c7ba06
License: LGPLv2+
b8f63c4
Url: https://www.freedesktop.org/wiki/Software/cppunit/
e73ee23
Source: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.gz
f3fb374
c5a3ce0
BuildRequires: doxygen
19ca701
BuildRequires: gcc-c++
c5a3ce0
BuildRequires: graphviz
b8c4740
BuildRequires: make
f3fb374
f3fb374
%description
f3fb374
CppUnit is the C++ port of the famous JUnit framework for unit testing.
d5cd56c
Test output is in XML for automatic testing and GUI based for supervised 
d5cd56c
tests.
f3fb374
f3fb374
%package devel
f3fb374
Summary: Libraries and headers for cppunit development
a6e107e
Requires: %{name}%{?_isa} = %{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
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
b45c735
%autosetup -p1
f3fb374
f3fb374
%build
b8f63c4
%configure --enable-doxygen --disable-static --disable-silent-rules
c2bb421
sed -i \
c2bb421
    -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
c2bb421
    -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
c2bb421
    libtool
a6e107e
a6e107e
%make_build
f3fb374
f3fb374
%install
a6e107e
%make_install
a6e107e
c0f9286
rm %{buildroot}%{_libdir}/*.la
f3fb374
# remove double of doc
c0f9286
rm -rf %{buildroot}%{_datadir}/doc/cppunit %{buildroot}%{_datadir}/%{name}/html
3418da0
dcf0684
# clean up examples
8c7ba06
rm -rf __dist-examples __dist-examples-dir
8c7ba06
cp -a examples __dist-examples
8c7ba06
make -C __dist-examples distclean
dcf0684
# Makefile.am files are left as documentation
904ab9d
find __dist-examples \( -name Makefile.in -o -name .gitignore -o -name '*.opt' -o -name '*.sln' -o -name '*.vcproj' \) -exec rm {} \;
8c7ba06
mkdir __dist-examples-dir
8c7ba06
mv __dist-examples __dist-examples-dir/examples
f3fb374
f3fb374
a6e107e
%ldconfig_scriptlets
f3fb374
f3fb374
%files
ba4d893
%doc AUTHORS NEWS README THANKS TODO BUGS doc/FAQ
debb4ed
%license COPYING
f3fb374
%{_bindir}/DllPlugInTester
904ab9d
%{_libdir}/libcppunit-%{apiversion}.so.1
904ab9d
%{_libdir}/libcppunit-%{apiversion}.so.1.*
f3fb374
f3fb374
%files devel
f3fb374
%{_includedir}/cppunit
f3fb374
%{_libdir}/libcppunit.so
53f2a12
%{_libdir}/pkgconfig/cppunit.pc
f3fb374
f3fb374
%files doc
b282903
%license COPYING
8c7ba06
%doc __dist-examples-dir/examples/
d5cd56c
%doc doc/html
f3fb374
f3fb374
%changelog
d93745d
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.1-4
d93745d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d93745d
57d72f0
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.1-3
57d72f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
57d72f0
3726984
* Wed Dec 25 2019 David Tardon <dtardon@redhat.com> - 1.15.1-2
3726984
- try again
3726984
904ab9d
* Wed Dec 25 2019 David Tardon <dtardon@redhat.com> - 1.15.1-1
904ab9d
- new upstream release
904ab9d
a75d37d
* Sat Dec 21 2019 David Tardon <dtardon@redhat.com> - 1.15.0-1
a75d37d
- new upstream release
a75d37d
4f6ea11
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-8
4f6ea11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4f6ea11
7f6d5e4
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-7
7f6d5e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
7f6d5e4
0f84045
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-6
0f84045
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0f84045
a6e107e
* Thu Jun 28 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.14.0-5
a6e107e
- use %%make_build %%make_install %%ldconfig_scriptlets
a6e107e
- -devel: tighten dep on main pkg with %%_isa
a6e107e
904fe72
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-4
904fe72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
904fe72
f860376
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-3
f860376
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f860376
fb35d7b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-2
fb35d7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fb35d7b
e73ee23
* Tue May 02 2017 David Tardon <dtardon@redhat.com> - 1.14.0-1
e73ee23
- new upstream release
e73ee23
759d964
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.2-3
759d964
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
759d964
178f2e9
* Sat Feb 13 2016 David Tardon <dtardon@redhat.com> - 1.13.2-2
178f2e9
- drop obsolete cppunit-config
178f2e9
b8f63c4
* Sat Feb 13 2016 David Tardon <dtardon@redhat.com> - 1.13.2-1
b8f63c4
- switch to new upstream
b8f63c4
d477b49
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-17
d477b49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d477b49
04d85d7
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-16
04d85d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
04d85d7
c44b992
* Sat Apr 11 2015 David Tardon <dtardon@redhat.com> - 1.12.1-15
c44b992
- rebuild for yet another C++ ABI break
c44b992
98c35b8
* Fri Feb 20 2015 David Tardon <dtardon@redhat.com> - 1.12.1-14
98c35b8
- rebuild for C++ stdlib ABI change in gcc5
98c35b8
41f0a43
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-13
41f0a43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
41f0a43
66a023b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-12
66a023b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
66a023b
a771b91
* Tue May 20 2014 David Tardon <dtardon@redhat.com> - 1.12.1-11
a771b91
- rhbz#925193 add support for aarch64
a771b91
ee74cae
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-10
ee74cae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ee74cae
e48ccc9
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-9
e48ccc9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e48ccc9
a31b7f1
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-8
a31b7f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a31b7f1
da2f429
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-7
da2f429
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
da2f429
721d701
* Wed Oct 05 2011 Caolán McNamara <caolanm@redhat.com> - 1.12.1-6
721d701
- add sf#2912630 fix for unused argument warnings
721d701
Steven M. Parrish f817b66
* Tue Jun 28 2011 Steven M. Parrish <smparrish@gmail.com> - 1.12.1-5
Steven M. Parrish f817b66
- Fix for bug 452340
Steven M. Parrish f817b66
d119d32
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-4
d119d32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d119d32
2dfd823
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-3
2dfd823
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2dfd823
4c6c138
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.1-2
4c6c138
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4c6c138
d5cd56c
* Thu Sep 18 2008 Patrice Dumas <pertusus@free.fr> 1.12.1-1
d5cd56c
- Update to 1.12.1
d5cd56c
7d0afa0
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.12.0-5
7d0afa0
- Autorebuild for GCC 4.3
7d0afa0
3418da0
* Mon Dec 17 2007 Patrice Dumas <pertusus@free.fr> 1.12.0-4
8c7ba06
- remove libdir reference to cppunit-config, should fix multiarch conflict
8c7ba06
  (#340951)
8c7ba06
- fix encoding and remove windows related files in examples
3418da0
- keep timestamps
8c7ba06
8c7ba06
* Mon Jan 29 2007 Patrice Dumas <pertusus@free.fr> 1.12.0-3
dcf0684
- add rightly files to -devel (#224106)
dcf0684
- add necessary requires for -devel (#224106)
dcf0684
- ship examples
dcf0684
79e6a42
* Sun Sep 10 2006 Patrice Dumas <pertusus@free.fr> 1.12.0-2
79e6a42
- rebuild for FC6
79e6a42
79e6a42
* Wed Jul  5 2006 Patrice Dumas <pertusus@free.fr> 1.12.0-1
e19ad39
- update to 1.12
e19ad39
79e6a42
* Sun May 21 2006 Patrice Dumas <pertusus@free.fr> 1.11.6-1
53f2a12
- update to 1.11.6
938a781
79e6a42
* Wed Dec 21 2005 Patrice Dumas <pertusus@free.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
79e6a42
* Mon Jul  4 2005 Patrice Dumas <pertusus@free.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