File rlog.spec of Package rlog
#
# spec file for package rlog (Version 1.3.7)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# 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: 136
License: LGPL v2.1 or later
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
Patch: include_fix.patch
Patch2: const_fix.patch
Url: http://www.arg0.net/rlog
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
RLOG is a C++ library to manage message logging.
Authors:
--------
Valient Gough <vgough@pobox.com>
%package devel
License: LGPL v2.1 or later
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
Requires: %{name} = %{version} 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 -q
%patch
%patch2
%build
autoreconf -fiv
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%install
make DESTDIR="$RPM_BUILD_ROOT" install
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
%{__rm} -f %{buildroot}%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
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
%{_includedir}/rlog
%{_libdir}/pkgconfig/*.pc
%changelog
* Wed Jun 03 2009 mszeredi@suse.cz
- fix compile error due to missing "const" qualifier
* Thu Jan 29 2009 crrodriguez@suse.de
- remove "la" files and static libraries
* 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.