libtevent-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Name: libtevent
  2. Version: 0.9.17
  3. Release: 1%{?_dist_release}
  4. Group: System Environment/Daemons
  5. Summary: The tevent library
  6. License: LGPLv3+
  7. URL: http://tevent.samba.org/
  8. Source: http://samba.org/ftp/tevent/tevent-%{version}.tar.gz
  9. BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
  10. Patch1: tevent-098-add_abi_scripts_and_fix_exports.patch
  11. BuildRequires: libtalloc-devel >= 2.0.0
  12. BuildRequires: python-devel
  13. BuildRequires: pytalloc-devel
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: tomop
  17. %description
  18. Tevent is an event system based on the talloc memory management library.
  19. Tevent has support for many event types, including timers, signals, and
  20. the classic file descriptor events.
  21. Tevent also provide helpers to deal with asynchronous code providing the
  22. tevent_req (Tevent Request) functions.
  23. %package devel
  24. Group: Development/Libraries
  25. Summary: Developer tools for the Tevent library
  26. Requires: libtevent = %{version}-%{release}
  27. Requires: libtalloc-devel >= 2.0.0
  28. Requires: pkgconfig
  29. %description devel
  30. Header files needed to develop programs that link against the Tevent library.
  31. %package -n python-tevent
  32. Group: Development/Libraries
  33. Summary: Python bindings for the Tevent library
  34. Requires: libtevent = %{version}-%{release}
  35. Requires: pytalloc >= 2.0.0
  36. Requires: pkgconfig
  37. %description -n python-tevent
  38. Python bindings for libtevent
  39. %prep
  40. %setup -q -n tevent-%{version}
  41. %patch1 -p1 -b .abi_checks
  42. %build
  43. %configure
  44. make %{?_smp_mflags}
  45. %check
  46. make %{?_smp_mflags} check
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. make install DESTDIR=$RPM_BUILD_ROOT
  50. #ln -s libtevent.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtevent.so.0
  51. #ln -s libtevent.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libtevent.so
  52. rm -f $RPM_BUILD_ROOT%{_libdir}/libtevent.a
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %files
  56. %defattr(-,root,root,-)
  57. %{_libdir}/libtevent.so.*
  58. %files devel
  59. %defattr(-,root,root,-)
  60. %{_includedir}/tevent.h
  61. %{_libdir}/libtevent.so
  62. %{_libdir}/pkgconfig/tevent.pc
  63. %files -n python-tevent
  64. %{python_sitearch}/_tevent.so
  65. %{python_sitearch}/tevent.py
  66. %post -p /sbin/ldconfig
  67. %postun -p /sbin/ldconfig
  68. %changelog
  69. * Mon Dec 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.17-1
  70. - new upstream release.
  71. - initial build for Vine Linux.
  72. * Fri May 21 2010 Stephen Gallagher <sgallagh@redhat.com> - 0.9.8-8
  73. - Run make check during RPM build
  74. - Fix abi_check patch to guarantee script executability
  75. * Wed Feb 24 2010 Stephen Gallagher <sgallagh@redhat.com> - 0.9.8-7.1
  76. - Remove all references to ABI compatibility patch
  77. * Wed Feb 24 2010 Stephen Gallagher <sgallagh@redhat.com> - 0.9.8-7
  78. - Drop ABI compatibility patch (no longer needed)
  79. * Wed Sep 23 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-5
  80. - Add patch to fix a segfault case
  81. * Wed Sep 16 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-2
  82. - Fix abi compatibility with 0.9.3
  83. * Sat Sep 8 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-1
  84. - First independent release for tevent 0.9.8