1 |
|
### RPM external cppunit 1.10.2 |
2 |
< |
Source0: ftp://dl.sourceforge.net/pub/sourceforge/c/cp/%n/%n-%v.tar.gz |
2 |
> |
Requires: gcc-wrapper |
3 |
> |
Source0: http://switch.dl.sourceforge.net/sourceforge/%n/%n-%v.tar.gz |
4 |
|
Source1: http://spi.cvs.cern.ch:8180/cgi-bin/spi.cgi/*checkout*/Components/UnitTesting/Tools/CppUnit/CppUnit_testdriver.cpp?rev=1.1 |
5 |
|
%build |
6 |
+ |
## IMPORT gcc-wrapper |
7 |
|
./configure --prefix=%i |
8 |
|
make %makeprocesses |
9 |
|
%install |
10 |
|
make install |
11 |
|
cp %_sourcedir/CppUnit_testdriver.cpp* %i/include/CppUnit_testdriver.cpp |
12 |
+ |
%post |
13 |
+ |
%{relocateConfig}/bin/cppunit-config |
14 |
+ |
%{relocateConfig}/lib/libcppunit.la |