liblogging-vl.spec 2.5 KB

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