remove cruft
This commit is contained in:
parent
d477b49a62
commit
9f0aaab9f5
11
cppunit.spec
11
cppunit.spec
@ -5,7 +5,6 @@ Release: 17%{?dist}
|
|||||||
Summary: C++ unit testing framework
|
Summary: C++ unit testing framework
|
||||||
# no license in files
|
# no license in files
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Development/Libraries
|
|
||||||
Url: http://cppunit.sourceforge.net/
|
Url: http://cppunit.sourceforge.net/
|
||||||
Source: http://downloads.sourceforge.net/cppunit/cppunit-%{version}.tar.gz
|
Source: http://downloads.sourceforge.net/cppunit/cppunit-%{version}.tar.gz
|
||||||
Patch0: cppunit-1.12.0-nolibdir.patch
|
Patch0: cppunit-1.12.0-nolibdir.patch
|
||||||
@ -14,7 +13,6 @@ Patch1: cppunit-msg.patch
|
|||||||
Patch2: cppunit-warnings-sf2912630.patch
|
Patch2: cppunit-warnings-sf2912630.patch
|
||||||
Patch3: cppunit-aarch64.patch
|
Patch3: cppunit-aarch64.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildRequires: doxygen, graphviz
|
BuildRequires: doxygen, graphviz
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -24,7 +22,6 @@ tests.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Libraries and headers for cppunit development
|
Summary: Libraries and headers for cppunit development
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: pkgconfig, automake
|
Requires: pkgconfig, automake
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
@ -34,7 +31,6 @@ programs that use cppunit.
|
|||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: HTML formatted API documention for cppunit
|
Summary: HTML formatted API documention for cppunit
|
||||||
Group: Documentation
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
The cppunit-doc package contains HTML formatted API documention generated by
|
The cppunit-doc package contains HTML formatted API documention generated by
|
||||||
@ -58,7 +54,6 @@ export LDFLAGS=-ldl
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
# remove double of doc
|
# remove double of doc
|
||||||
@ -77,21 +72,16 @@ chmod a-x __dist-examples/qt/run.bat
|
|||||||
mkdir __dist-examples-dir
|
mkdir __dist-examples-dir
|
||||||
mv __dist-examples __dist-examples-dir/examples
|
mv __dist-examples __dist-examples-dir/examples
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS COPYING NEWS README THANKS ChangeLog TODO BUGS doc/FAQ
|
%doc AUTHORS COPYING NEWS README THANKS ChangeLog TODO BUGS doc/FAQ
|
||||||
%{_bindir}/DllPlugInTester
|
%{_bindir}/DllPlugInTester
|
||||||
%{_libdir}/libcppunit*.so.*
|
%{_libdir}/libcppunit*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_bindir}/cppunit-config
|
%{_bindir}/cppunit-config
|
||||||
%{_includedir}/cppunit
|
%{_includedir}/cppunit
|
||||||
%{_libdir}/libcppunit.so
|
%{_libdir}/libcppunit.so
|
||||||
@ -100,7 +90,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/pkgconfig/cppunit.pc
|
%{_libdir}/pkgconfig/cppunit.pc
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc __dist-examples-dir/examples/
|
%doc __dist-examples-dir/examples/
|
||||||
%doc doc/html
|
%doc doc/html
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user