|
|
|
@ -10,11 +10,19 @@ |
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# rpmbuild -bb --clean @PACKAGENAME@.spec |
|
|
|
|
BuildRequires: gcc-c++ doxygen graphviz cppunit-devel boost-devel log4cxx-devel freefont te_latex ghostscript-library tetex |
|
|
|
|
BuildRequires: boost-devel log4cxx-devel ghostscript-library |
|
|
|
|
BuildRequires: gcc-c++ doxygen graphviz |
|
|
|
|
#%if 0%(?suse_version) >= 1030 |
|
|
|
|
BuildRequires: texlive-bin-latex cppunit-devel unixODBC-devel libxml2-devel freefont |
|
|
|
|
##%elseif 0%(?debian_version) |
|
|
|
|
##BuildRequires: libcppunit-dev unixodbc-dev libxml2-dev latex209-bin ttf-freefont |
|
|
|
|
#%else |
|
|
|
|
#BuildRequires: te_latex cppunit-devel unixODBC-devel libxml2-devel freefont |
|
|
|
|
#%endif |
|
|
|
|
Summary: MRW's C++ Class Library, facilities for modern C++ programming |
|
|
|
|
Name: @PACKAGENAME@ |
|
|
|
|
Version: @MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
Release: 1 |
|
|
|
|
Release: @RPMBUILD@ |
|
|
|
|
License: LGPL |
|
|
|
|
Group: Development/Libraries/C++ |
|
|
|
|
URL: http://marc.waeckerlin.org/mrw-c++/index.html |
|
|
|
@ -35,11 +43,13 @@ This package contains only the shared libraries required at runtime. |
|
|
|
|
CXXFLAGS="-O3" ./configure --prefix=/usr \ |
|
|
|
|
--datadir=/usr/share/doc/packages \ |
|
|
|
|
--enable-doxygen \ |
|
|
|
|
%ifarch x86_64 |
|
|
|
|
--libdir=/usr/lib64 |
|
|
|
|
%else |
|
|
|
|
--libdir=/usr/lib |
|
|
|
|
%endif |
|
|
|
|
# |
|
|
|
|
#%ifarch x86_64 |
|
|
|
|
# --libdir=/usr/lib64 |
|
|
|
|
#%else |
|
|
|
|
# --libdir=/usr/lib |
|
|
|
|
#%endif |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
make |
|
|
|
@ -52,26 +62,26 @@ rm -rf $RPM_BUILD_ROOT |
|
|
|
|
|
|
|
|
|
%files |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
%ifarch x86_64 |
|
|
|
|
/usr/lib64/libmrw.so |
|
|
|
|
/usr/lib64/libmrw.so.@MAJOR@ |
|
|
|
|
/usr/lib64/libmrw.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
/usr/lib64/libmrwexcstderr.so |
|
|
|
|
/usr/lib64/libmrwexcstderr.so.@MAJOR@ |
|
|
|
|
/usr/lib64/libmrwexcstderr.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
/usr/lib64/libmrwexclog4cxx.so |
|
|
|
|
/usr/lib64/libmrwexclog4cxx.so.@MAJOR@ |
|
|
|
|
/usr/lib64/libmrwexclog4cxx.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
/usr/lib64/libmrwautofunctiontracelog4cxx.so |
|
|
|
|
/usr/lib64/libmrwautofunctiontracelog4cxx.so.@MAJOR@ |
|
|
|
|
/usr/lib64/libmrwautofunctiontracelog4cxx.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
/usr/lib64/libmrwautofunctiontracestdlog.so |
|
|
|
|
/usr/lib64/libmrwautofunctiontracestdlog.so.@MAJOR@ |
|
|
|
|
/usr/lib64/libmrwautofunctiontracestdlog.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
/usr/lib64/libmrwlog4cxxconfiguration.so |
|
|
|
|
/usr/lib64/libmrwlog4cxxconfiguration.so.@MAJOR@ |
|
|
|
|
/usr/lib64/libmrwlog4cxxconfiguration.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
%else |
|
|
|
|
#%ifarch x86_64 |
|
|
|
|
#/usr/lib64/libmrw.so |
|
|
|
|
#/usr/lib64/libmrw.so.@MAJOR@ |
|
|
|
|
#/usr/lib64/libmrw.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
#/usr/lib64/libmrwexcstderr.so |
|
|
|
|
#/usr/lib64/libmrwexcstderr.so.@MAJOR@ |
|
|
|
|
#/usr/lib64/libmrwexcstderr.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
#/usr/lib64/libmrwexclog4cxx.so |
|
|
|
|
#/usr/lib64/libmrwexclog4cxx.so.@MAJOR@ |
|
|
|
|
#/usr/lib64/libmrwexclog4cxx.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracelog4cxx.so |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracelog4cxx.so.@MAJOR@ |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracelog4cxx.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracestdlog.so |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracestdlog.so.@MAJOR@ |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracestdlog.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
#/usr/lib64/libmrwlog4cxxconfiguration.so |
|
|
|
|
#/usr/lib64/libmrwlog4cxxconfiguration.so.@MAJOR@ |
|
|
|
|
#/usr/lib64/libmrwlog4cxxconfiguration.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
#%else |
|
|
|
|
/usr/lib/libmrw.so |
|
|
|
|
/usr/lib/libmrw.so.@MAJOR@ |
|
|
|
|
/usr/lib/libmrw.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
@ -90,7 +100,7 @@ rm -rf $RPM_BUILD_ROOT |
|
|
|
|
/usr/lib/libmrwlog4cxxconfiguration.so |
|
|
|
|
/usr/lib/libmrwlog4cxxconfiguration.so.@MAJOR@ |
|
|
|
|
/usr/lib/libmrwlog4cxxconfiguration.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
%endif |
|
|
|
|
#%endif |
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/COPYING |
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/README |
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/AUTHORS |
|
|
|
@ -110,26 +120,26 @@ This Package contains thread safe libraries. |
|
|
|
|
|
|
|
|
|
%files mt |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
%ifarch x86_64 |
|
|
|
|
/usr/lib64/libmrw-mt.so |
|
|
|
|
/usr/lib64/libmrw-mt.so.@MAJOR@ |
|
|
|
|
/usr/lib64/libmrw-mt.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
/usr/lib64/libmrwexcstderr-mt.so |
|
|
|
|
/usr/lib64/libmrwexcstderr-mt.so.@MAJOR@ |
|
|
|
|
/usr/lib64/libmrwexcstderr-mt.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
/usr/lib64/libmrwexclog4cxx-mt.so |
|
|
|
|
/usr/lib64/libmrwexclog4cxx-mt.so.@MAJOR@ |
|
|
|
|
/usr/lib64/libmrwexclog4cxx-mt.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
/usr/lib64/libmrwautofunctiontracelog4cxx-mt.so |
|
|
|
|
/usr/lib64/libmrwautofunctiontracelog4cxx-mt.so.@MAJOR@ |
|
|
|
|
/usr/lib64/libmrwautofunctiontracelog4cxx-mt.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
/usr/lib64/libmrwautofunctiontracestdlog-mt.so |
|
|
|
|
/usr/lib64/libmrwautofunctiontracestdlog-mt.so.@MAJOR@ |
|
|
|
|
/usr/lib64/libmrwautofunctiontracestdlog-mt.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
/usr/lib64/libmrwlog4cxxconfiguration-mt.so |
|
|
|
|
/usr/lib64/libmrwlog4cxxconfiguration-mt.so.@MAJOR@ |
|
|
|
|
/usr/lib64/libmrwlog4cxxconfiguration-mt.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
%else |
|
|
|
|
#%ifarch x86_64 |
|
|
|
|
#/usr/lib64/libmrw-mt.so |
|
|
|
|
#/usr/lib64/libmrw-mt.so.@MAJOR@ |
|
|
|
|
#/usr/lib64/libmrw-mt.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
#/usr/lib64/libmrwexcstderr-mt.so |
|
|
|
|
#/usr/lib64/libmrwexcstderr-mt.so.@MAJOR@ |
|
|
|
|
#/usr/lib64/libmrwexcstderr-mt.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
#/usr/lib64/libmrwexclog4cxx-mt.so |
|
|
|
|
#/usr/lib64/libmrwexclog4cxx-mt.so.@MAJOR@ |
|
|
|
|
#/usr/lib64/libmrwexclog4cxx-mt.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracelog4cxx-mt.so |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracelog4cxx-mt.so.@MAJOR@ |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracelog4cxx-mt.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracestdlog-mt.so |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracestdlog-mt.so.@MAJOR@ |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracestdlog-mt.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
#/usr/lib64/libmrwlog4cxxconfiguration-mt.so |
|
|
|
|
#/usr/lib64/libmrwlog4cxxconfiguration-mt.so.@MAJOR@ |
|
|
|
|
#/usr/lib64/libmrwlog4cxxconfiguration-mt.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
#%else |
|
|
|
|
/usr/lib/libmrw-mt.so |
|
|
|
|
/usr/lib/libmrw-mt.so.@MAJOR@ |
|
|
|
|
/usr/lib/libmrw-mt.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
@ -148,7 +158,7 @@ This Package contains thread safe libraries. |
|
|
|
|
/usr/lib/libmrwlog4cxxconfiguration-mt.so |
|
|
|
|
/usr/lib/libmrwlog4cxxconfiguration-mt.so.@MAJOR@ |
|
|
|
|
/usr/lib/libmrwlog4cxxconfiguration-mt.so.@MAJOR@.@MINOR@.@LEAST@ |
|
|
|
|
%endif |
|
|
|
|
#%endif |
|
|
|
|
|
|
|
|
|
%package devel |
|
|
|
|
Summary: MRW's C++ Class Library (development files) |
|
|
|
@ -164,32 +174,32 @@ This Package contains all files required for developement. |
|
|
|
|
|
|
|
|
|
%files devel |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
%ifarch x86_64 |
|
|
|
|
/usr/lib64/libmrw.a |
|
|
|
|
/usr/lib64/libmrw.la |
|
|
|
|
/usr/lib64/libmrwexcstderr.a |
|
|
|
|
/usr/lib64/libmrwexcstderr.la |
|
|
|
|
/usr/lib64/libmrwexclog4cxx.a |
|
|
|
|
/usr/lib64/libmrwexclog4cxx.la |
|
|
|
|
/usr/lib64/libmrw-mt.a |
|
|
|
|
/usr/lib64/libmrw-mt.la |
|
|
|
|
/usr/lib64/libmrwautofunctiontracelog4cxx-mt.a |
|
|
|
|
/usr/lib64/libmrwautofunctiontracelog4cxx-mt.la |
|
|
|
|
/usr/lib64/libmrwautofunctiontracelog4cxx.a |
|
|
|
|
/usr/lib64/libmrwautofunctiontracelog4cxx.la |
|
|
|
|
/usr/lib64/libmrwautofunctiontracestdlog-mt.a |
|
|
|
|
/usr/lib64/libmrwautofunctiontracestdlog-mt.la |
|
|
|
|
/usr/lib64/libmrwautofunctiontracestdlog.a |
|
|
|
|
/usr/lib64/libmrwautofunctiontracestdlog.la |
|
|
|
|
/usr/lib64/libmrwlog4cxxconfiguration.a |
|
|
|
|
/usr/lib64/libmrwlog4cxxconfiguration.la |
|
|
|
|
/usr/lib64/libmrwexclog4cxx-mt.a |
|
|
|
|
/usr/lib64/libmrwexclog4cxx-mt.la |
|
|
|
|
/usr/lib64/libmrwexcstderr-mt.a |
|
|
|
|
/usr/lib64/libmrwexcstderr-mt.la |
|
|
|
|
/usr/lib64/libmrwlog4cxxconfiguration-mt.a |
|
|
|
|
/usr/lib64/libmrwlog4cxxconfiguration-mt.la |
|
|
|
|
%else |
|
|
|
|
#%ifarch x86_64 |
|
|
|
|
#/usr/lib64/libmrw.a |
|
|
|
|
#/usr/lib64/libmrw.la |
|
|
|
|
#/usr/lib64/libmrwexcstderr.a |
|
|
|
|
#/usr/lib64/libmrwexcstderr.la |
|
|
|
|
#/usr/lib64/libmrwexclog4cxx.a |
|
|
|
|
#/usr/lib64/libmrwexclog4cxx.la |
|
|
|
|
#/usr/lib64/libmrw-mt.a |
|
|
|
|
#/usr/lib64/libmrw-mt.la |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracelog4cxx-mt.a |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracelog4cxx-mt.la |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracelog4cxx.a |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracelog4cxx.la |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracestdlog-mt.a |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracestdlog-mt.la |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracestdlog.a |
|
|
|
|
#/usr/lib64/libmrwautofunctiontracestdlog.la |
|
|
|
|
#/usr/lib64/libmrwlog4cxxconfiguration.a |
|
|
|
|
#/usr/lib64/libmrwlog4cxxconfiguration.la |
|
|
|
|
#/usr/lib64/libmrwexclog4cxx-mt.a |
|
|
|
|
#/usr/lib64/libmrwexclog4cxx-mt.la |
|
|
|
|
#/usr/lib64/libmrwexcstderr-mt.a |
|
|
|
|
#/usr/lib64/libmrwexcstderr-mt.la |
|
|
|
|
#/usr/lib64/libmrwlog4cxxconfiguration-mt.a |
|
|
|
|
#/usr/lib64/libmrwlog4cxxconfiguration-mt.la |
|
|
|
|
#%else |
|
|
|
|
/usr/lib/libmrw.a |
|
|
|
|
/usr/lib/libmrw.la |
|
|
|
|
/usr/lib/libmrwexcstderr.a |
|
|
|
@ -214,7 +224,7 @@ This Package contains all files required for developement. |
|
|
|
|
/usr/lib/libmrwexcstderr-mt.la |
|
|
|
|
/usr/lib/libmrwlog4cxxconfiguration-mt.a |
|
|
|
|
/usr/lib/libmrwlog4cxxconfiguration-mt.la |
|
|
|
|
%endif |
|
|
|
|
#%endif |
|
|
|
|
/usr/include |
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/examples |
|
|
|
|
/usr/share/doc/packages/@PACKAGENAME@/doc |
|
|
|
|