wslay-vl.spec 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. %define ver 1.0.0
  2. %define rel 2
  3. Summary: The WebSocket library
  4. Name: wslay
  5. Version: %{ver}
  6. Release: %{rel}%{_dist_release}
  7. License: MIT
  8. Group: System Environment/Libraries
  9. URL: https://github.com/tatsuhiro-t/wslay/
  10. # https://github.com/tatsuhiro-t/wslay/releases
  11. Source0: %{name}-release-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: nettle-devel
  14. BuildRequires: python-sphinx
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: iwaim
  18. %description
  19. Wslay is a WebSocket library written in C.
  20. It implements the protocol version 13 described in RFC 6455.
  21. %package devel
  22. Summary: Development libraries and headers for Wslay
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. %description devel
  26. Development libraries and headers for Wslay.
  27. %prep
  28. %setup -q -n %{name}-release-%{version}
  29. autoreconf -i
  30. automake
  31. autoconf
  32. %configure --enable-shared --disable-static
  33. %build
  34. %__make
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. %makeinstall
  38. %__rm -f %{buildroot}%{_libdir}/*.la
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc AUTHORS ChangeLog NEWS README.rst COPYING
  44. %{_libdir}/*.so.*
  45. %files devel
  46. %defattr(-,root,root,-)
  47. %doc AUTHORS ChangeLog NEWS README.rst COPYING
  48. %doc doc examples
  49. %{_bindir}/*
  50. %{_libdir}/*.so
  51. %{_libdir}/pkgconfig/*.pc
  52. %dir %{_includedir}/%{name}
  53. %{_includedir}/%{name}/*.h
  54. %{_mandir}/man3/*.3*
  55. %changelog
  56. * Tue Jan 5 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.0-2
  57. - rebuilt with nettle 3.1.1, gnutls 3.4.y
  58. * Mon Mar 23 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 1.0.0-1
  59. - Initial build.