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.
 
 
 
 
 

42 lines
830 B

# rpmbuild -bb --clean @PACKAGENAME@.spec
Summary: MRW's C++ Class Library, facilities for ease and quality
Name: @PACKAGENAME@-devel
Version: @MAJOR@.@MINOR@
Release: 1
License: LGPL
Group: Development/Libraries/C++
URL: http://marc.waeckerlin.org/mrw-c++/index.html
Source0: @PACKAGENAME@-@MAJOR@.@MINOR@.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: /usr
Requires: gcc-c++ >= 3.0
Requires: binutils
Requires: @PACKAGENAME@ = @MAJOR@.@MINOR@
%description
@README@
This Package contains all files required for developement.
%prep
%setup -q -n @PACKAGENAME@-@MAJOR@.@MINOR@
./configure --prefix=$RPM_BUILD_ROOT/usr
%build
make check
%install
make install
rm -rf $RPM_BUILD_ROOT/usr/lib/libmrw*.so*
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
/usr
%changelog
@CHANGE_LOG@