|
Tomas Heinrich |
f483160 |
Name: liblogging
|
|
|
fffb011 |
Version: 1.0.6
|
|
|
3c885fe |
Release: 3%{?dist}
|
|
Tomas Heinrich |
f483160 |
Summary: An easy to use logging library
|
|
Tomas Heinrich |
f483160 |
License: BSD
|
|
Tomas Heinrich |
f483160 |
Group: System Environment/Libraries
|
|
Tomas Heinrich |
f483160 |
URL: http://www.liblogging.org/
|
|
Tomas Heinrich |
f483160 |
Source0: http://download.rsyslog.com/liblogging/liblogging-%{version}.tar.gz
|
|
Tomas Heinrich |
f483160 |
|
|
Tomas Heinrich |
f483160 |
%package stdlog
|
|
Tomas Heinrich |
f483160 |
Summary: An easy to use logging library - stdlog component
|
|
Tomas Heinrich |
f483160 |
Group: System Environment/Libraries
|
|
Tomas Heinrich |
f483160 |
Requires(post): /sbin/ldconfig
|
|
Tomas Heinrich |
f483160 |
Requires(postun): /sbin/ldconfig
|
|
Tomas Heinrich |
f483160 |
BuildRequires: dos2unix
|
|
Tomas Heinrich |
f483160 |
|
|
Tomas Heinrich |
f483160 |
%package stdlog-devel
|
|
Tomas Heinrich |
f483160 |
Summary: An easy to use logging library - stdlog development files
|
|
Tomas Heinrich |
f483160 |
Group: Development/Libraries
|
|
Tomas Heinrich |
f483160 |
Requires: %{name}-stdlog%{_isa} = %{version}-%{release}
|
|
Tomas Heinrich |
f483160 |
Requires: pkgconfig
|
|
Tomas Heinrich |
f483160 |
|
|
Tomas Heinrich |
f483160 |
%description
|
|
Tomas Heinrich |
f483160 |
liblogging (the upstream project) is a collection of several components.
|
|
Tomas Heinrich |
f483160 |
Namely: stdlog, journalemu, rfc3195.
|
|
Tomas Heinrich |
f483160 |
|
|
Tomas Heinrich |
f483160 |
%description stdlog
|
|
Tomas Heinrich |
f483160 |
liblogging (the upstream project) is a collection of several components.
|
|
Tomas Heinrich |
f483160 |
Namely: stdlog, journalemu, rfc3195.
|
|
Tomas Heinrich |
f483160 |
The stdlog component of liblogging can be viewed as an enhanced version of the
|
|
Tomas Heinrich |
f483160 |
syslog(3) API. It retains the easy semantics, but makes the API more
|
|
Tomas Heinrich |
f483160 |
sophisticated "behind the scenes" with better support for multiple threads
|
|
Tomas Heinrich |
f483160 |
and flexibility for different log destinations (e.g. syslog and systemd
|
|
Tomas Heinrich |
f483160 |
journal).
|
|
Tomas Heinrich |
f483160 |
|
|
Tomas Heinrich |
f483160 |
%description stdlog-devel
|
|
Tomas Heinrich |
f483160 |
This package contains development files for the %{name}-stdlog package.
|
|
Tomas Heinrich |
f483160 |
|
|
Tomas Heinrich |
f483160 |
%prep
|
|
Tomas Heinrich |
f483160 |
%setup -q
|
|
Tomas Heinrich |
f483160 |
|
|
Tomas Heinrich |
f483160 |
%build
|
|
Tomas Heinrich |
f483160 |
%configure \
|
|
Tomas Heinrich |
f483160 |
--disable-journal \
|
|
Tomas Heinrich |
f483160 |
--disable-rfc3195 \
|
|
Tomas Heinrich |
f483160 |
--disable-static \
|
|
Tomas Heinrich |
f483160 |
--enable-stdlog \
|
|
Tomas Heinrich |
f483160 |
|
|
Tomas Heinrich |
f483160 |
make V=1 %{?_smp_mflags}
|
|
Tomas Heinrich |
f483160 |
dos2unix COPYING
|
|
Tomas Heinrich |
f483160 |
|
|
Tomas Heinrich |
f483160 |
%install
|
|
Tomas Heinrich |
f483160 |
make DESTDIR=%{buildroot} install
|
|
Tomas Heinrich |
f483160 |
# not packing stdlogctl yet
|
|
Tomas Heinrich |
f483160 |
rm -f \
|
|
Tomas Heinrich |
f483160 |
%{buildroot}%{_bindir}/stdlogctl \
|
|
Tomas Heinrich |
f483160 |
%{buildroot}%{_libdir}/liblogging-stdlog.la \
|
|
Tomas Heinrich |
f483160 |
%{buildroot}%{_mandir}/man1/stdlogctl.1 \
|
|
Tomas Heinrich |
f483160 |
|
|
Tomas Heinrich |
f483160 |
%post stdlog -p /sbin/ldconfig
|
|
Tomas Heinrich |
f483160 |
|
|
Tomas Heinrich |
f483160 |
%postun stdlog -p /sbin/ldconfig
|
|
Tomas Heinrich |
f483160 |
|
|
Tomas Heinrich |
f483160 |
%files stdlog
|
|
Tomas Heinrich |
f483160 |
%defattr(-,root,root,-)
|
|
|
c4aa3dd |
%{!?_licensedir:%global license %%doc}
|
|
|
c4aa3dd |
%license COPYING
|
|
|
c4aa3dd |
%doc ChangeLog
|
|
Tomas Heinrich |
f483160 |
%{_libdir}/liblogging-stdlog.so.*
|
|
Tomas Heinrich |
f483160 |
|
|
Tomas Heinrich |
f483160 |
%files stdlog-devel
|
|
Tomas Heinrich |
f483160 |
%defattr(-,root,root,-)
|
|
Tomas Heinrich |
f483160 |
%{_includedir}/liblogging
|
|
Tomas Heinrich |
f483160 |
%{_libdir}/liblogging-stdlog.so
|
|
Tomas Heinrich |
f483160 |
%{_libdir}/pkgconfig/liblogging-stdlog.pc
|
|
Tomas Heinrich |
f483160 |
%{_mandir}/man3/stdlog.3.gz
|
|
Tomas Heinrich |
f483160 |
|
|
Tomas Heinrich |
f483160 |
%changelog
|
|
|
3c885fe |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-3
|
|
|
3c885fe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
3c885fe |
|
|
|
6f8b5a4 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-2
|
|
|
6f8b5a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
6f8b5a4 |
|
|
|
5ef566c |
* Thu Mar 30 2017 Radovan Sroka <rsroka@redhat.com> - 1.0.6-1
|
|
|
fffb011 |
- rebase to 1.0.6
|
|
|
fffb011 |
|
|
|
aeb52e9 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-7
|
|
|
aeb52e9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
aeb52e9 |
|
|
|
5541579 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-6
|
|
|
5541579 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5541579 |
|
|
|
835be2b |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-5
|
|
|
835be2b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
835be2b |
|
|
|
cd4f57f |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-4
|
|
|
cd4f57f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
cd4f57f |
|
|
|
c4aa3dd |
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 1.0.4-3
|
|
|
c4aa3dd |
- fix license handling
|
|
|
c4aa3dd |
|
|
|
cd9fbbb |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2
|
|
|
cd9fbbb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
cd9fbbb |
|
|
Tomas Heinrich |
f483160 |
* Sun May 18 2014 Tomas Heinrich <theinric@redhat.com> 1.0.4-1
|
|
Tomas Heinrich |
f483160 |
- initial import
|