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