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.
47 lines
934 B
47 lines
934 B
21 years ago
|
# rpmbuild -bb --clean @PACKAGENAME@.spec
|
||
|
Summary: MRW's C++ Class Library, facilities for ease and quality
|
||
|
Name: @PACKAGENAME@
|
||
|
Version: @MAJOR@.@MINOR@
|
||
|
Release: 1
|
||
|
License: LGPL
|
||
|
Group: Development/Libraries/C++
|
||
|
URL: http://marc.waeckerlin.org/mrw-c++/index.html
|
||
|
Source0: %{name}-%{version}.tar.gz
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||
|
|
||
|
Prefix: /usr
|
||
|
|
||
|
Requires: gcc-c++ >= 3.0
|
||
|
Requires: binutils
|
||
|
|
||
|
%description
|
||
|
@README@
|
||
|
|
||
|
This package contains only the shared libraries required at runtime.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
./configure --prefix=$RPM_BUILD_ROOT/usr
|
||
|
|
||
|
%build
|
||
|
make check
|
||
|
|
||
|
%install
|
||
|
make install
|
||
|
rm -rf $RPM_BUILD_ROOT/usr/share/mrw-c++
|
||
|
rm -rf $RPM_BUILD_ROOT/usr/include/mrw
|
||
|
rm -rf $RPM_BUILD_ROOT/usr/lib/libmrw*.la
|
||
|
rm -rf $RPM_BUILD_ROOT/usr/lib/libmrw*.a
|
||
|
rmdir $RPM_BUILD_ROOT/usr/include
|
||
|
rmdir $RPM_BUILD_ROOT/usr/share
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
/usr
|
||
|
|
||
|
%changelog
|
||
|
@CHANGE_LOG@
|