|
|
c4ced9e |
%global prever rc3
|
|
|
c844804 |
|
|
|
c844804 |
Name: log4cplus
|
|
|
c4ced9e |
Version: 1.1.3
|
|
|
c4ced9e |
Release: 0.1%{?prever:.%{prever}}%{?dist}
|
|
|
c844804 |
Summary: Logging Framework for C++
|
|
|
c844804 |
|
|
|
c844804 |
License: ASL 2.0
|
|
|
c844804 |
URL: http://sourceforge.net/projects/log4cplus
|
|
|
c4ced9e |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}%{?prever:-%{prever}}.tar.xz
|
|
|
c844804 |
Group: System Environment/Libraries
|
|
|
c844804 |
|
|
|
c844804 |
%description
|
|
|
c844804 |
log4cplus is a simple to use C++ logging API providing thread-safe, flexible,
|
|
|
c844804 |
and arbitrarily granular control over log management and configuration. It is
|
|
|
c844804 |
modeled after the Java log4j API.
|
|
|
c844804 |
|
|
|
c844804 |
%package devel
|
|
|
c844804 |
Summary: Development files for log4cplus C++ logging framework
|
|
|
c844804 |
Group: Development/Libraries
|
|
|
c844804 |
Requires: %{name} = %{version}-%{release}
|
|
|
c844804 |
|
|
|
c844804 |
%description devel
|
|
|
c844804 |
This package contains headers and libraries needed to develop applications
|
|
|
c844804 |
using log4cplus logging framework.
|
|
|
c844804 |
|
|
|
c844804 |
%prep
|
|
|
c4ced9e |
%setup -q %{?prever:-n %{name}-%{version}-%{prever}}
|
|
|
c844804 |
|
|
|
c844804 |
%build
|
|
|
2cd1c21 |
export CFLAGS=$RPM_OPT_FLAGS
|
|
|
2cd1c21 |
export CXXFLAFS="$RPM_OPT_FLAGS -std=c++11"
|
|
|
c844804 |
%configure
|
|
|
c844804 |
make %{?_smp_mflags}
|
|
|
c844804 |
|
|
|
c844804 |
|
|
|
c844804 |
%install
|
|
|
c844804 |
%make_install
|
|
|
c844804 |
|
|
|
c844804 |
rm -f $RPM_BUILD_ROOT/%{_libdir}/liblog4cplus.{a,la}
|
|
|
c844804 |
|
|
|
c844804 |
%post -p /sbin/ldconfig
|
|
|
c844804 |
%postun -p /sbin/ldconfig
|
|
|
c844804 |
|
|
|
c844804 |
%files
|
|
|
c844804 |
%doc LICENSE README ChangeLog
|
|
|
c844804 |
%{_libdir}/lib*.so.*
|
|
|
c844804 |
|
|
|
c844804 |
%files devel
|
|
|
c844804 |
%dir %{_includedir}/log4cplus
|
|
|
c844804 |
%dir %{_includedir}/log4cplus/boost
|
|
|
c844804 |
%dir %{_includedir}/log4cplus/config
|
|
|
c844804 |
%dir %{_includedir}/log4cplus/helpers
|
|
|
c844804 |
%dir %{_includedir}/log4cplus/internal
|
|
|
c844804 |
%dir %{_includedir}/log4cplus/spi
|
|
|
c844804 |
%dir %{_includedir}/log4cplus/thread
|
|
|
c844804 |
%dir %{_includedir}/log4cplus/thread/impl
|
|
|
c844804 |
%{_libdir}/lib*.so
|
|
|
c844804 |
%{_includedir}/log4cplus/*.h*
|
|
|
c844804 |
%{_includedir}/log4cplus/boost/*.h*
|
|
|
c844804 |
%{_includedir}/log4cplus/config/*.h*
|
|
|
c844804 |
%{_includedir}/log4cplus/helpers/*.h*
|
|
|
c844804 |
%{_includedir}/log4cplus/internal/*.h*
|
|
|
c844804 |
%{_includedir}/log4cplus/spi/*.h*
|
|
|
c844804 |
%{_includedir}/log4cplus/thread/*.h*
|
|
|
c844804 |
%{_includedir}/log4cplus/thread/impl/*.h*
|
|
|
c844804 |
%{_libdir}/pkgconfig/log4cplus.pc
|
|
|
c844804 |
|
|
|
c844804 |
%changelog
|
|
|
c4ced9e |
* Tue Dec 16 2014 Tomas Hozza <thozza@redhat.com> - 1.1.3-0.1.rc3
|
|
|
c4ced9e |
- update to 1.1.3rc3
|
|
|
2cd1c21 |
- build the library with c++11 support
|
|
|
c4ced9e |
|
|
|
2f7c174 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
|
|
|
2f7c174 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
2f7c174 |
|
|
|
c57bcce |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
|
|
|
c57bcce |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
c57bcce |
|
|
|
9b6f057 |
* Thu Oct 24 2013 Tomas Hozza <thozza@redhat.com> - 1.1.2-1
|
|
|
9b6f057 |
- update to 1.1.2
|
|
|
9b6f057 |
|
|
|
79ec821 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
|
|
79ec821 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
79ec821 |
|
|
|
5af143c |
* Thu May 23 2013 Tomas Hozza <thozza@redhat.com> 1.1.1-1
|
|
|
5af143c |
- update to 1.1.1
|
|
|
5af143c |
|
|
Adam Tkac |
e2feb49 |
* Mon Feb 18 2013 Adam Tkac <atkac redhat com> - 1.1.0-1
|
|
Adam Tkac |
e2feb49 |
- update to 1.1.0
|
|
Adam Tkac |
e2feb49 |
|
|
|
f2cc64c |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-0.3.rc10
|
|
|
f2cc64c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
f2cc64c |
|
|
|
c844804 |
* Fri Sep 21 2012 Adam Tkac <atkac redhat com> - 1.1.0-0.2.rc10
|
|
|
c844804 |
- some fixes related to pkg review
|
|
|
c844804 |
|
|
|
c844804 |
* Thu Sep 20 2012 Adam Tkac <atkac redhat com> - 1.1.0-0.1.rc10
|
|
|
c844804 |
- initial package
|