2016-03-23 08:33:31 +00:00
|
|
|
#%%global prever rc3
|
2012-09-21 16:05:26 +00:00
|
|
|
|
|
|
|
Name: log4cplus
|
2022-07-21 13:37:55 +00:00
|
|
|
Version: 2.0.8
|
2022-10-04 13:02:07 +00:00
|
|
|
Release: 3%{?prever:.%{prever}}%{?dist}
|
2012-09-21 16:05:26 +00:00
|
|
|
Summary: Logging Framework for C++
|
|
|
|
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: http://sourceforge.net/projects/log4cplus
|
2016-03-23 08:33:31 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}%{?prever:-%{prever}}.tar.xz
|
2022-06-02 11:40:25 +00:00
|
|
|
Source1: http://downloads.sourceforge.net/%{name}/%{name}-%{version}%{?prever:-%{prever}}.tar.xz.sig
|
|
|
|
Source2: codesign.txt
|
2012-09-21 16:05:26 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
log4cplus is a simple to use C++ logging API providing thread-safe, flexible,
|
|
|
|
and arbitrarily granular control over log management and configuration. It is
|
|
|
|
modeled after the Java log4j API.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for log4cplus C++ logging framework
|
2016-03-23 08:33:31 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2018-04-26 16:04:31 +00:00
|
|
|
BuildRequires: gcc-c++
|
2021-01-05 03:21:01 +00:00
|
|
|
BuildRequires: make
|
2022-06-02 11:40:25 +00:00
|
|
|
BuildRequires: gnupg2
|
2012-09-21 16:05:26 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains headers and libraries needed to develop applications
|
|
|
|
using log4cplus logging framework.
|
|
|
|
|
2022-09-23 06:03:18 +00:00
|
|
|
%package static
|
|
|
|
Summary: Static development files for log4cplus C++ logging framework
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
%description static
|
|
|
|
This package contains static libraries needed to develop applications
|
|
|
|
using log4cplus logging framework.
|
|
|
|
|
2012-09-21 16:05:26 +00:00
|
|
|
%prep
|
2022-06-02 11:40:25 +00:00
|
|
|
%if 0%{?fedora}
|
|
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
|
|
%endif
|
2016-03-23 08:33:31 +00:00
|
|
|
%setup -q %{?prever:-n %{name}-%{version}-%{prever}}
|
2012-09-21 16:05:26 +00:00
|
|
|
|
|
|
|
%build
|
2022-09-23 06:03:18 +00:00
|
|
|
%configure --enable-static
|
2012-09-21 16:05:26 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
2022-10-04 13:02:07 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/liblog4cplus*.la
|
2012-09-21 16:05:26 +00:00
|
|
|
|
2019-01-22 17:40:19 +00:00
|
|
|
%ldconfig_scriptlets
|
2012-09-21 16:05:26 +00:00
|
|
|
|
|
|
|
%files
|
2016-03-22 14:46:40 +00:00
|
|
|
%doc LICENSE README.md ChangeLog
|
2020-11-20 08:02:14 +00:00
|
|
|
%{_libdir}/liblog4cplus*.so.3*
|
2012-09-21 16:05:26 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%dir %{_includedir}/log4cplus
|
|
|
|
%dir %{_includedir}/log4cplus/boost
|
|
|
|
%dir %{_includedir}/log4cplus/config
|
|
|
|
%dir %{_includedir}/log4cplus/helpers
|
|
|
|
%dir %{_includedir}/log4cplus/internal
|
|
|
|
%dir %{_includedir}/log4cplus/spi
|
|
|
|
%dir %{_includedir}/log4cplus/thread
|
|
|
|
%dir %{_includedir}/log4cplus/thread/impl
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_includedir}/log4cplus/*.h*
|
|
|
|
%{_includedir}/log4cplus/boost/*.h*
|
|
|
|
%{_includedir}/log4cplus/config/*.h*
|
|
|
|
%{_includedir}/log4cplus/helpers/*.h*
|
|
|
|
%{_includedir}/log4cplus/internal/*.h*
|
|
|
|
%{_includedir}/log4cplus/spi/*.h*
|
|
|
|
%{_includedir}/log4cplus/thread/*.h*
|
|
|
|
%{_includedir}/log4cplus/thread/impl/*.h*
|
|
|
|
%{_libdir}/pkgconfig/log4cplus.pc
|
|
|
|
|
2022-09-23 06:03:18 +00:00
|
|
|
%files static
|
|
|
|
%{_libdir}/lib*.a
|
|
|
|
|
|
|
|
|
2012-09-21 16:05:26 +00:00
|
|
|
%changelog
|
2022-10-04 13:02:07 +00:00
|
|
|
* Tue Oct 04 2022 Martin Osvald <mosvald@redhat.com> - 2.0.8-3
|
|
|
|
- Remove extra {} as it is no longer brace expansion
|
|
|
|
|
2022-09-23 06:03:18 +00:00
|
|
|
* Fri Sep 23 2022 Federico Pellegrin <fede@evolware.org> - 2.0.8-2
|
|
|
|
- Add generation of static package
|
|
|
|
|
2022-07-21 13:37:55 +00:00
|
|
|
* Thu Jul 21 2022 Martin Osvald <mosvald@redhat.com> - 2.0.8-1
|
|
|
|
- New version 2.0.8
|
|
|
|
|
2022-06-02 11:40:25 +00:00
|
|
|
* Thu Jun 02 2022 Martin Osvald <mosvald@redhat.com> - 2.0.7-1
|
|
|
|
- New version 2.0.7
|
|
|
|
- Add source code signature verification
|
|
|
|
|
2022-01-20 18:00:55 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 13:05:36 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-03-30 18:37:42 +00:00
|
|
|
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 2.0.5-13
|
|
|
|
- Rebuilt for removed libstdc++ symbol (#1937698)
|
|
|
|
|
2021-01-26 18:38:27 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2022-10-04 08:22:22 +00:00
|
|
|
* Fri Nov 20 2020 Pavel Zhukov <pzhukov@redhat.com> - 2.0.5-11
|
2020-11-20 08:02:14 +00:00
|
|
|
- New version v2.0.5
|
|
|
|
|
2020-08-26 17:30:35 +00:00
|
|
|
* Wed Aug 26 2020 Jeff Law <law@redhat.com> - 1.2.0-13
|
|
|
|
- Drop forcing of C++11 mode.
|
|
|
|
|
2020-07-28 06:13:55 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 11:12:22 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 15:07:02 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 08:55:31 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 09:18:09 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-04-26 16:04:31 +00:00
|
|
|
* Thu Apr 26 2018 Tomas Hozza <thozza@redhat.com> - 1.2.0-7
|
|
|
|
- Added gcc-c++ as an explicit BuildRequires
|
|
|
|
|
2018-02-08 00:05:06 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 02:43:04 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 20:15:51 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 19:56:09 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-03-23 11:36:10 +00:00
|
|
|
* Wed Mar 23 2016 Zdenek Dohnal zdohnal@redhat.com - 1.2.0-2
|
|
|
|
- Replacing hard names with macros, returning and commenting macro prever in
|
|
|
|
specfile
|
2016-03-23 09:09:37 +00:00
|
|
|
|
2016-03-22 14:46:40 +00:00
|
|
|
* Fri Mar 18 2016 zdohnal <zdohnal@redhat.com> - 1.2.0-1
|
2016-03-23 11:36:10 +00:00
|
|
|
- Update to 1.2.0
|
2016-03-22 14:46:40 +00:00
|
|
|
|
2016-02-04 04:23:13 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-0.5.rc3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-14 16:45:03 +00:00
|
|
|
* Thu Jan 14 2016 Tomas Hozza <thozza@redhat.com> - 1.1.3-0.4.rc3
|
|
|
|
- Fixed typo so that log4cplus is compiled with C++11 support (#1297906)
|
|
|
|
|
2015-06-17 18:25:54 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-0.3.rc3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-02 13:41:34 +00:00
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.1.3-0.2.rc3
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
2014-12-16 15:35:51 +00:00
|
|
|
* Tue Dec 16 2014 Tomas Hozza <thozza@redhat.com> - 1.1.3-0.1.rc3
|
|
|
|
- update to 1.1.3rc3
|
2014-12-16 15:36:30 +00:00
|
|
|
- build the library with c++11 support
|
2014-12-16 15:35:51 +00:00
|
|
|
|
2014-08-17 07:32:41 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 06:41:39 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-10-24 07:52:55 +00:00
|
|
|
* Thu Oct 24 2013 Tomas Hozza <thozza@redhat.com> - 1.1.2-1
|
|
|
|
- update to 1.1.2
|
|
|
|
|
2013-08-03 07:58:45 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-05-23 11:38:55 +00:00
|
|
|
* Thu May 23 2013 Tomas Hozza <thozza@redhat.com> 1.1.1-1
|
|
|
|
- update to 1.1.1
|
|
|
|
|
2013-02-18 12:48:27 +00:00
|
|
|
* Mon Feb 18 2013 Adam Tkac <atkac redhat com> - 1.1.0-1
|
|
|
|
- update to 1.1.0
|
|
|
|
|
2013-02-14 05:46:41 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-0.3.rc10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-09-21 16:05:26 +00:00
|
|
|
* Fri Sep 21 2012 Adam Tkac <atkac redhat com> - 1.1.0-0.2.rc10
|
|
|
|
- some fixes related to pkg review
|
|
|
|
|
|
|
|
* Thu Sep 20 2012 Adam Tkac <atkac redhat com> - 1.1.0-0.1.rc10
|
|
|
|
- initial package
|