diff --git a/mrw-c++.spec.in b/mrw-c++.spec.in index b0c24e0..8ac5daf 100644 --- a/mrw-c++.spec.in +++ b/mrw-c++.spec.in @@ -9,6 +9,10 @@ ## @license LGPL, see file COPYING ## ## $Log$ +## Revision 1.10 2005/03/11 23:29:31 marc +## - new autofunctiontrace library +## - new multithreaded package +## ## Revision 1.9 2005/02/18 16:17:44 marc ## new Summary: text ## @@ -56,6 +60,9 @@ Source0: @PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: /usr +Requires: binutils +Requires: log4cxx + %description @README@ @@ -66,7 +73,7 @@ This package contains only the shared libraries required at runtime. CXXFLAGS="-O3" ./configure --prefix=$RPM_BUILD_ROOT/usr --datadir=$RPM_BUILD_ROOT/usr/share/doc/packages %build -make check +make %install make install @@ -85,18 +92,47 @@ rm -rf $RPM_BUILD_ROOT /usr/lib/libmrwexclog4cxx.so /usr/lib/libmrwexclog4cxx.so.@MAJOR@ /usr/lib/libmrwexclog4cxx.so.@MAJOR@.@MINOR@.@LEAST@ +/usr/lib/libmrwautofunctiontracelog4cxx.so +/usr/lib/libmrwautofunctiontracelog4cxx.so.@MAJOR@ +/usr/lib/libmrwautofunctiontracelog4cxx.so.@MAJOR@.@MINOR@.@LEAST@ /usr/share/doc/packages/@PACKAGENAME@/COPYING /usr/share/doc/packages/@PACKAGENAME@/README /usr/share/doc/packages/@PACKAGENAME@/AUTHORS /usr/share/doc/packages/@PACKAGENAME@/NEWS /usr/share/doc/packages/@PACKAGENAME@/ChangeLog +%package mt +Summary: MRW's C++ Class Library (thread safe extensions) +Group: Development/Libraries/C++ +Requires: @PACKAGENAME@ = @MAJOR@.@MINOR@.@LEAST@ +Requires: boost + +%description mt +@README@ + +This Package contains thread safe libraries. + +%files mt +%defattr(-,root,root,-) +/usr/lib/libmrw-mt.so +/usr/lib/libmrw-mt.so.@MAJOR@ +/usr/lib/libmrw-mt.so.@MAJOR@.@MINOR@.@LEAST@ +/usr/lib/libmrwexcstderr-mt.so +/usr/lib/libmrwexcstderr-mt.so.@MAJOR@ +/usr/lib/libmrwexcstderr-mt.so.@MAJOR@.@MINOR@.@LEAST@ +/usr/lib/libmrwexclog4cxx-mt.so +/usr/lib/libmrwexclog4cxx-mt.so.@MAJOR@ +/usr/lib/libmrwexclog4cxx-mt.so.@MAJOR@.@MINOR@.@LEAST@ +/usr/lib/libmrwautofunctiontracelog4cxx-mt.so +/usr/lib/libmrwautofunctiontracelog4cxx-mt.so.@MAJOR@ +/usr/lib/libmrwautofunctiontracelog4cxx-mt.so.@MAJOR@.@MINOR@.@LEAST@ + %package devel -Summary: MRW's C++ Class Library, facilities for ease and quality (development files) +Summary: MRW's C++ Class Library (development files) Group: Development/Libraries/C++ Requires: @PACKAGENAME@ = @MAJOR@.@MINOR@.@LEAST@ +Requires: @PACKAGENAME@-mt = @MAJOR@.@MINOR@.@LEAST@ Requires: gcc-c++ >= 3.0 -Requires: binutils %description devel @README@ @@ -111,6 +147,16 @@ This Package contains all files required for developement. /usr/lib/libmrwexcstderr.la /usr/lib/libmrwexclog4cxx.a /usr/lib/libmrwexclog4cxx.la +/usr/lib/libmrw-mt.a +/usr/lib/libmrw-mt.la +/usr/lib/libmrwautofunctiontracelog4cxx-mt.a +/usr/lib/libmrwautofunctiontracelog4cxx-mt.la +/usr/lib/libmrwautofunctiontracelog4cxx.a +/usr/lib/libmrwautofunctiontracelog4cxx.la +/usr/lib/libmrwexclog4cxx-mt.a +/usr/lib/libmrwexclog4cxx-mt.la +/usr/lib/libmrwexcstderr-mt.a +/usr/lib/libmrwexcstderr-mt.la /usr/include /usr/share/doc/packages/@PACKAGENAME@/examples /usr/share/doc/packages/@PACKAGENAME@/doc