libuv-vl.spec 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. %define ver 1.4.2
  2. %define rel 1
  3. Summary: a multi-platform support library with a focus on asynchronous I/O
  4. Name: libuv
  5. Version: %{ver}
  6. Release: %{rel}%{?_dist_release}
  7. License: Node's license and so on (See LICENSE file)
  8. Group: System Environment/Libraries
  9. URL: https://github.com/libuv/libuv
  10. Source0: http://libuv.org/dist/v%{version}/%{name}-v%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: iwaim
  15. %description
  16. libuv is a multi-platform support library with a focus on asynchronous I/O.
  17. It was primarily developed for use by Node.js, but it's also used by Luvit,
  18. Julia, pyuv, and others.
  19. %package devel
  20. Summary: Development libraries and headers for libuv
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. %description devel
  24. Development libraries and headers for libuv.
  25. %prep
  26. %setup -q -n %{name}-v%{version}
  27. ./autogen.sh
  28. %configure
  29. %build
  30. %__make
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. %makeinstall
  34. %__rm -f %{buildroot}%{_libdir}/*.{la,a}
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %check
  38. make check
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc LICENSE AUTHORS CONTRIBUTING.md ChangeLog README.md
  42. %{_libdir}/%{name}*.so.*
  43. %files devel
  44. %defattr(-,root,root,-)
  45. %doc LICENSE AUTHORS CONTRIBUTING.md ChangeLog README.md
  46. %doc img docs samples
  47. %{_libdir}/%{name}*.so
  48. %{_libdir}/pkgconfig/*.pc
  49. %{_includedir}/*.h
  50. %changelog
  51. * Mon Mar 23 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 1.4.2-1
  52. - Initial build.