build fixes for rpm

master
Marc Wäckerlin 10 years ago
parent aecc84c95a
commit 146c2702a4
  1. 2
      README
  2. 8
      mrw-c++.spec.in

@ -1,3 +1,5 @@
MRW C++ Library
Featureful C++ Library containing a lot of needful things. Everything, Featureful C++ Library containing a lot of needful things. Everything,
I often need, but is missing in C++ standard libraries and other I often need, but is missing in C++ standard libraries and other
common 3rd party libraries, such as log4cxx, cppunit and boost. common 3rd party libraries, such as log4cxx, cppunit and boost.

@ -34,7 +34,7 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
/usr/%_lib/lib@PACKAGE_NAME@.so.* /usr/%_lib/lib*.so.*
%doc %doc
/usr/share/doc/packages/@PACKAGE_NAME@/AUTHORS /usr/share/doc/packages/@PACKAGE_NAME@/AUTHORS
/usr/share/doc/packages/@PACKAGE_NAME@/COPYING /usr/share/doc/packages/@PACKAGE_NAME@/COPYING
@ -55,10 +55,10 @@ This Package contains all files required for developement.
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
/usr/%_lib/lib@PACKAGE_NAME@.so /usr/%_lib/lib*.so
/usr/%_lib/lib@PACKAGE_NAME@.a /usr/%_lib/lib*.a
/usr/%_lib/pkgconfig /usr/%_lib/pkgconfig
/usr/%_lib/lib@PACKAGE_NAME@.la /usr/%_lib/lib*.la
/usr/include/ /usr/include/
/usr/share/pkgconfig /usr/share/pkgconfig
%doc %doc

Loading…
Cancel
Save