Blame SPECS/cpptest.spec

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