librelp-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Summary: The Reliable Event Logging Protocol library
  2. Name: librelp
  3. Version: 1.0.0
  4. Release: 1%{?_dist_release}
  5. License: GPLv3+
  6. Group: System Environment/Libraries
  7. URL: http://www.rsyslog.com/
  8. Source0: http://download.rsyslog.com/librelp/%{name}-%{version}.tar.gz
  9. Requires(post): /sbin/ldconfig
  10. Requires(postun): /sbin/ldconfig
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. %description
  13. Librelp is an easy to use library for the RELP protocol. RELP (stands
  14. for Reliable Event Logging Protocol) is a general-purpose, extensible
  15. logging protocol.
  16. %package devel
  17. Summary: Development files for the %{name} package
  18. Group: Development/Libraries
  19. Requires: %{name} = %{version}-%{release}
  20. Requires: pkgconfig
  21. %description devel
  22. Librelp is an easy to use library for the RELP protocol. The
  23. librelp-devel package contains the header files and libraries needed
  24. to develop applications using librelp.
  25. %prep
  26. %setup -q
  27. %build
  28. %configure --disable-static
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. rm $RPM_BUILD_ROOT/%{_libdir}/*.la
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %post -p /sbin/ldconfig
  37. %postun
  38. if [ "$1" = "0" ] ; then
  39. /sbin/ldconfig
  40. fi
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc AUTHORS COPYING NEWS README doc/*html
  44. %{_libdir}/librelp.so.*
  45. %files devel
  46. %defattr(-,root,root)
  47. %{_includedir}/*
  48. %{_libdir}/librelp.so
  49. %{_libdir}/pkgconfig/relp.pc
  50. %changelog
  51. * Wed Dec 22 2010 IWAI, Masaharu <iwai@alib.jp> 1.0.0-1
  52. - build for Vine Linux: based Fedora 1.0.0-1.fc14
  53. * Thu Jul 15 2010 Tomas Heinrich <theinric@redhat.com> - 1.0.0-1
  54. - upgrade to upstream version 1.0.0
  55. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-4
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  57. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  59. * Wed May 7 2008 Tomas Heinrich <theinric@redhat.com> 0.1.1-2
  60. - removed "BuildRequires: autoconf automake"
  61. * Tue Apr 29 2008 Tomas Heinrich <theinric@redhat.com> 0.1.1-1
  62. - initial build