Blame SPECS/cpptest.spec

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