libtevent-vl.spec 3.6 KB

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