|
|
2b0edb |
Name: cpptest
|
|
|
2b0edb |
Version: 1.1.1
|
|
|
2b0edb |
Release: 9%{?dist}
|
|
|
2b0edb |
Summary: A portable and powerful and simple unit testing framework for C++
|
|
|
2b0edb |
|
|
|
2b0edb |
Group: System Environment/Libraries
|
|
|
2b0edb |
License: LGPLv2+
|
|
|
2b0edb |
URL: http://%{name}.sourceforge.net/
|
|
|
2b0edb |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
2b0edb |
Patch0: cpptest-1.1.0-libcpptest_pc_in.patch
|
|
|
2b0edb |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
2b0edb |
BuildRequires: doxygen
|
|
|
2b0edb |
|
|
|
2b0edb |
#Fix RHBZ 925192
|
|
|
2b0edb |
Patch1: cpptest-aarch64.patch
|
|
|
2b0edb |
|
|
|
2b0edb |
%description
|
|
|
2b0edb |
CppTest is a portable and powerful, yet simple, unit testing framework
|
|
|
2b0edb |
for handling automated tests in C++. The focus lies on usability and
|
|
|
2b0edb |
extendability.
|
|
|
2b0edb |
|
|
|
2b0edb |
%package devel
|
|
|
2b0edb |
Summary: Development files for %{name}
|
|
|
2b0edb |
Group: Development/Libraries
|
|
|
2b0edb |
Requires: %{name} = %{version}-%{release}, pkgconfig
|
|
|
2b0edb |
|
|
|
2b0edb |
%description devel
|
|
|
2b0edb |
The %{name}-devel package contains libraries and header files for
|
|
|
2b0edb |
developing applications that use %{name}.
|
|
|
2b0edb |
|
|
|
2b0edb |
|
|
|
2b0edb |
%prep
|
|
|
2b0edb |
%setup -q
|
|
|
2b0edb |
%patch0 -p1 -b .libcpptest_pc_in
|
|
|
2b0edb |
%patch1 -p1
|
|
|
2b0edb |
%build
|
|
|
2b0edb |
%configure --disable-static --enable-doc
|
|
|
2b0edb |
make %{?_smp_mflags} V=1
|
|
|
2b0edb |
|
|
|
2b0edb |
|
|
|
2b0edb |
%install
|
|
|
2b0edb |
rm -rf $RPM_BUILD_ROOT
|
|
|
2b0edb |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
2b0edb |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
2b0edb |
|
|
|
2b0edb |
# Not useful. Aready present in html and images folder
|
|
|
2b0edb |
rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/html/screenshot*png
|
|
|
2b0edb |
rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/html/index.html
|
|
|
2b0edb |
rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/html/html-example.html
|
|
|
2b0edb |
|
|
|
2b0edb |
|
|
|
2b0edb |
%clean
|
|
|
2b0edb |
rm -rf $RPM_BUILD_ROOT
|
|
|
2b0edb |
|
|
|
2b0edb |
|
|
|
2b0edb |
%post -p /sbin/ldconfig
|
|
|
2b0edb |
|
|
|
2b0edb |
%postun -p /sbin/ldconfig
|
|
|
2b0edb |
|
|
|
2b0edb |
|
|
|
2b0edb |
%files
|
|
|
2b0edb |
%defattr(-,root,root,-)
|
|
|
2b0edb |
%doc NEWS COPYING AUTHORS ChangeLog
|
|
|
2b0edb |
%{_libdir}/*.so.*
|
|
|
2b0edb |
|
|
|
2b0edb |
%files devel
|
|
|
2b0edb |
%defattr(-,root,root,-)
|
|
|
2b0edb |
%doc doc/html
|
|
|
2b0edb |
%{_includedir}/*
|
|
|
2b0edb |
%{_libdir}/*.so
|
|
|
2b0edb |
%{_libdir}/pkgconfig/*.pc
|
|
|
2b0edb |
|
|
|
2b0edb |
|
|
|
2b0edb |
%changelog
|
|
|
2b0edb |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.1.1-9
|
|
|
2b0edb |
- Mass rebuild 2014-01-24
|
|
|
2b0edb |
|
|
|
2b0edb |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1.1-8
|
|
|
2b0edb |
- Mass rebuild 2013-12-27
|
|
|
2b0edb |
|
|
|
2b0edb |
* Wed May 01 2013 Dan Mashal <dan.mashal@fedoraproject.org> -1.1.1-7
|
|
|
2b0edb |
-Add patch for aarch64
|
|
|
2b0edb |
|
|
|
2b0edb |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-6
|
|
|
2b0edb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
2b0edb |
|
|
|
2b0edb |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-5
|
|
|
2b0edb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
2b0edb |
|
|
|
2b0edb |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-4
|
|
|
2b0edb |
- Rebuilt for c++ ABI breakage
|
|
|
2b0edb |
|
|
|
2b0edb |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
|
|
|
2b0edb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
2b0edb |
|
|
|
2b0edb |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
|
|
2b0edb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
2b0edb |
|
|
|
2b0edb |
* Wed May 05 2010 Rakesh Pandit <rakesh@fedoraproject.org> 1.1.1-1
|
|
|
2b0edb |
- Updated to 1.1.1
|
|
|
2b0edb |
|
|
|
2b0edb |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
|
|
|
2b0edb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
2b0edb |
|
|
|
2b0edb |
* Mon Apr 13 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.1.0-3
|
|
|
2b0edb |
- Remove check section.
|
|
|
2b0edb |
|
|
|
2b0edb |
* Tue Mar 17 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.1.0-2
|
|
|
2b0edb |
- Commented testsuite. Patched .pc file, fixed spacing and tab mix
|
|
|
2b0edb |
- Removed image folder in %%doc
|
|
|
2b0edb |
|
|
|
2b0edb |
* Fri Mar 06 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.1.0-1
|
|
|
2b0edb |
- Initial package
|