File rlog.spec of Package rlog
#
# spec file for package rlog (Version 1.3.7)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: rlog
BuildRequires: gcc-c++
Summary: C++ Logging Library
Version: 1.3.7
Release: 72
License: LGPL v2 or later
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
Patch: include_fix.patch
Url: http://arg0.net/wiki/rlog
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
RLOG is a C++ library to manage message logging.
Authors:
--------
Valient Gough <vgough@pobox.com>
%package devel
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
Requires: rlog glibc-devel libstdc++-devel
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Valient Gough <vgough@pobox.com>
%prep
%setup
%patch
%{?suse_update_config:%{suse_update_config -f}}
%build
autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS" \
CXXFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
make
%install
make DESTDIR="$RPM_BUILD_ROOT" install
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
%post
%run_ldconfig
%postun
%run_ldconfig
%clean
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING* ChangeLog README*
%doc docs/html
%doc docs/latex/*.pdf
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root)
%{_libdir}/lib*.so
%{_libdir}/lib*.*a
%{_includedir}/rlog
%{_libdir}/pkgconfig/*.pc
%changelog
* Wed Oct 03 2007 - mszeredi@suse.de
- fix compile error in beta
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Nov 15 2005 - tiwai@suse.de
- updated to version 1.3.7.
* Wed May 25 2005 - tiwai@suse.de
- initial version: 1.3.6.