C++ Library containing a lot of needful things: Stack Trace, Command Line Parser, Resource Handling, Configuration Files, Unix Command Execution, Directories, Regular Expressions, Tokenizer, Function Trace, Standard Extensions.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

183 lines
5.3 KiB

## @file
##
## $Id$
##
## $Date$
## $Author$
##
## @copy © Marc Wäckerlin
## @license LGPL, see file <a href="license.html">COPYING</a>
##
## $Log$
## Revision 1.11 2005/04/07 20:59:51 marc
## RPM/libtool: .la files with wrong path!
## New feature: library libmrwlog4cxxconfiguration configures log4cxx
##
## Revision 1.10 2005/03/11 23:29:31 marc
## - new autofunctiontrace library
## - new multithreaded package
##
20 years ago
## Revision 1.9 2005/02/18 16:17:44 marc
## new Summary: text
##
20 years ago
## Revision 1.8 2004/11/25 18:32:20 marc
## build optimized
##
## Revision 1.7 2004/10/13 11:21:38 marc
## no more need for /usr/bin/ldd, but for binutils (in devel)
##
## Revision 1.6 2004/10/11 15:59:45 marc
## support for shared libraries requires /usr/bin/ldd
##
## Revision 1.5 2004/10/07 17:26:05 marc
## requirements for devel package
##
## Revision 1.4 2004/10/07 13:41:16 marc
## devel in the same spec file
##
## Revision 1.3 2004/09/09 20:09:06 marc
## library versioning now works how i want it
##
## Revision 1.2 2004/08/28 16:21:07 marc
## mrw-c++-0.92 (mrw)
## - new file: version.cpp
## - new file header for all sources
## - work around warning in mrw::auto<T>
## - possibility to compile without log4cxx
## - work around bugs in demangle.h and libiberty.h
## - corrections in documentation
## - added simple tracing mechanism
## - more warnings
## - small corrections in Auto<>::Free and a new test for it
## - possibility to compile without stack trace
##
21 years ago
# rpmbuild -bb --clean @PACKAGENAME@.spec
20 years ago
Summary: MRW's C++ Class Library, facilities for modern C++ programming
21 years ago
Name: @PACKAGENAME@
Version: @MAJOR@.@MINOR@.@LEAST@
21 years ago
Release: 1
License: LGPL
Group: Development/Libraries/C++
URL: http://marc.waeckerlin.org/mrw-c++/index.html
Source0: @PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.tar.gz
21 years ago
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: /usr
Requires: binutils
Requires: log4cxx
21 years ago
%description
@README@
This package contains only the shared libraries required at runtime.
%prep
%setup -q
20 years ago
CXXFLAGS="-O3" ./configure --prefix=$RPM_BUILD_ROOT/usr --datadir=$RPM_BUILD_ROOT/usr/share/doc/packages
21 years ago
%build
make
21 years ago
%install
make install
find "$RPM_BUILD_ROOT" -name '*.la' | xargs perl -pi -e 's#'"${RPM_BUILD_ROOT//+/\\+}"'##g'
21 years ago
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
/usr/lib/libmrw.so
/usr/lib/libmrw.so.@MAJOR@
/usr/lib/libmrw.so.@MAJOR@.@MINOR@.@LEAST@
/usr/lib/libmrwexcstderr.so
/usr/lib/libmrwexcstderr.so.@MAJOR@
/usr/lib/libmrwexcstderr.so.@MAJOR@.@MINOR@.@LEAST@
/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/lib/libmrwlog4cxxconfiguration.so
/usr/lib/libmrwlog4cxxconfiguration.so.@MAJOR@
/usr/lib/libmrwlog4cxxconfiguration.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@
/usr/lib/libmrwlog4cxxconfiguration-mt.so
/usr/lib/libmrwlog4cxxconfiguration-mt.so.@MAJOR@
/usr/lib/libmrwlog4cxxconfiguration-mt.so.@MAJOR@.@MINOR@.@LEAST@
%package devel
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
%description devel
@README@
This Package contains all files required for developement.
%files devel
%defattr(-,root,root,-)
/usr/lib/libmrw.a
/usr/lib/libmrw.la
/usr/lib/libmrwexcstderr.a
/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/libmrwlog4cxxconfiguration.a
/usr/lib/libmrwlog4cxxconfiguration.la
/usr/lib/libmrwexclog4cxx-mt.a
/usr/lib/libmrwexclog4cxx-mt.la
/usr/lib/libmrwexcstderr-mt.a
/usr/lib/libmrwexcstderr-mt.la
/usr/lib/libmrwlog4cxxconfiguration-mt.a
/usr/lib/libmrwlog4cxxconfiguration-mt.la
/usr/include
/usr/share/doc/packages/@PACKAGENAME@/examples
/usr/share/doc/packages/@PACKAGENAME@/doc
/usr/share/doc/packages/@PACKAGENAME@/@PACKAGENAME@.spec
/usr/share/doc/packages/@PACKAGENAME@/INSTALL
21 years ago
%changelog
@CHANGE_LOG@