18 |
|
perl -p -i -e 's|LIBS.*LIBS.*lm|LIBS="$LIBS -lm -ldl|' configure |
19 |
|
;; |
20 |
|
esac |
21 |
< |
./configure --prefix=%i |
21 |
> |
./configure --prefix=%i --disable-static |
22 |
|
make %makeprocesses |
23 |
|
%install |
24 |
|
make install |
31 |
|
# only via pkg-config we have to think on how to ship our own |
32 |
|
# version. |
33 |
|
rm -rf %i/lib/pkgconfig |
34 |
+ |
# Remove unneded files |
35 |
+ |
rm -rf %i/lib/*.{l,}a |
36 |
+ |
# Read documentation online |
37 |
+ |
%define drop_files %i/share |
38 |
|
|
39 |
|
%post |
40 |
|
%{relocateConfig}/bin/cppunit-config |
37 |
– |
%{relocateConfig}/lib/libcppunit.la |