| 1 | Name: liblogging |
|---|
| 2 | Version: 1.0.5 |
|---|
| 3 | Release: 1%{?_dist_release} |
|---|
| 4 | Summary: An easy to use logging library |
|---|
| 5 | License: BSD |
|---|
| 6 | Group: System Environment/Libraries |
|---|
| 7 | URL: http://www.liblogging.org/ |
|---|
| 8 | Source0: http://download.rsyslog.com/liblogging/liblogging-%{version}.tar.gz |
|---|
| 9 | |
|---|
| 10 | Vendor: Project Vine |
|---|
| 11 | Distribution: Vine Linux |
|---|
| 12 | Packager: tomop |
|---|
| 13 | |
|---|
| 14 | %package stdlog |
|---|
| 15 | Summary: An easy to use logging library - stdlog component |
|---|
| 16 | Group: System Environment/Libraries |
|---|
| 17 | Requires(post): /sbin/ldconfig |
|---|
| 18 | Requires(postun): /sbin/ldconfig |
|---|
| 19 | |
|---|
| 20 | %package stdlog-devel |
|---|
| 21 | Summary: An easy to use logging library - stdlog development files |
|---|
| 22 | Group: Development/Libraries |
|---|
| 23 | Requires: %{name}-stdlog%{_isa} = %{version}-%{release} |
|---|
| 24 | Requires: pkgconfig |
|---|
| 25 | |
|---|
| 26 | %description |
|---|
| 27 | liblogging (the upstream project) is a collection of several components. |
|---|
| 28 | Namely: stdlog, journalemu, rfc3195. |
|---|
| 29 | |
|---|
| 30 | %description stdlog |
|---|
| 31 | liblogging (the upstream project) is a collection of several components. |
|---|
| 32 | Namely: stdlog, journalemu, rfc3195. |
|---|
| 33 | The stdlog component of liblogging can be viewed as an enhanced version of the |
|---|
| 34 | syslog(3) API. It retains the easy semantics, but makes the API more |
|---|
| 35 | sophisticated "behind the scenes" with better support for multiple threads |
|---|
| 36 | and flexibility for different log destinations (e.g. syslog and systemd |
|---|
| 37 | journal). |
|---|
| 38 | |
|---|
| 39 | %description stdlog-devel |
|---|
| 40 | This package contains development files for the %{name}-stdlog package. |
|---|
| 41 | |
|---|
| 42 | %prep |
|---|
| 43 | %setup -q |
|---|
| 44 | |
|---|
| 45 | %build |
|---|
| 46 | %configure \ |
|---|
| 47 | --disable-journal \ |
|---|
| 48 | --disable-rfc3195 \ |
|---|
| 49 | --disable-static \ |
|---|
| 50 | --enable-stdlog \ |
|---|
| 51 | |
|---|
| 52 | make V=1 %{?_smp_mflags} |
|---|
| 53 | perl -pi -e 's/\r//g' COPYING |
|---|
| 54 | |
|---|
| 55 | %install |
|---|
| 56 | make DESTDIR=%{buildroot} install |
|---|
| 57 | # not packing stdlogctl yet |
|---|
| 58 | rm -f \ |
|---|
| 59 | %{buildroot}%{_bindir}/stdlogctl \ |
|---|
| 60 | %{buildroot}%{_libdir}/liblogging-stdlog.la \ |
|---|
| 61 | %{buildroot}%{_mandir}/man1/stdlogctl.1 \ |
|---|
| 62 | |
|---|
| 63 | %post stdlog -p /sbin/ldconfig |
|---|
| 64 | |
|---|
| 65 | %postun stdlog -p /sbin/ldconfig |
|---|
| 66 | |
|---|
| 67 | %files stdlog |
|---|
| 68 | %defattr(-,root,root,-) |
|---|
| 69 | %doc COPYING ChangeLog |
|---|
| 70 | %{_libdir}/liblogging-stdlog.so.* |
|---|
| 71 | |
|---|
| 72 | %files stdlog-devel |
|---|
| 73 | %defattr(-,root,root,-) |
|---|
| 74 | %{_includedir}/liblogging |
|---|
| 75 | %{_libdir}/liblogging-stdlog.so |
|---|
| 76 | %{_libdir}/pkgconfig/liblogging-stdlog.pc |
|---|
| 77 | %{_mandir}/man3/stdlog.3.gz |
|---|
| 78 | |
|---|
| 79 | %changelog |
|---|
| 80 | * Wed Dec 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.5-1 |
|---|
| 81 | - new upstream release. |
|---|
| 82 | |
|---|
| 83 | * Mon Jun 16 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.4-3 |
|---|
| 84 | - initial build for Vine Linux. |
|---|
| 85 | |
|---|
| 86 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2 |
|---|
| 87 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
|---|
| 88 | |
|---|
| 89 | * Sun May 18 2014 Tomas Heinrich <theinric@redhat.com> 1.0.4-1 |
|---|
| 90 | - initial import |
|---|