duktape-vl.spec 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. Name: duktape
  2. Version: 2.7.0
  3. Release: 1%{?_dist_release}
  4. Summary: Embeddable Javascript engine
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: MIT
  9. URL: http://duktape.org/
  10. Source0: http://duktape.org/%{name}-%{version}.tar.xz
  11. Source1000: ChangeLog.fedora
  12. Patch0: duktape-2.7.0-link-against-libm.patch
  13. BuildRequires: gcc
  14. BuildRequires: pkgconfig
  15. BuildRequires: make
  16. %description
  17. Duktape is an embeddable Javascript engine, with a focus on portability and
  18. compact footprint.
  19. %package devel
  20. Summary: Development files for %{name}
  21. Group: programming
  22. Requires: %{name} = %{version}
  23. %description devel
  24. Embeddable Javascript engine.
  25. This package contains header files and libraries needed to develop
  26. application that use %{name}.
  27. %debug_package
  28. %prep
  29. %autosetup -p1
  30. cp -f %{SOURCE1000} ./
  31. %build
  32. %make_build -f Makefile.sharedlibrary INSTALL_PREFIX=%{_prefix} LIBDIR=/%{_lib}
  33. %install
  34. %make_install -f Makefile.sharedlibrary INSTALL_PREFIX=%{_prefix} LIBDIR=/%{_lib}
  35. %files
  36. %license LICENSE.txt
  37. %doc AUTHORS.rst ChangeLog.fedora
  38. %{_libdir}/libduktape.so.*
  39. %{_libdir}/libduktaped.so.*
  40. %files devel
  41. %doc examples/ README.rst
  42. %{_includedir}/duk_config.h
  43. %{_includedir}/duktape.h
  44. %{_libdir}/libduktape.so
  45. %{_libdir}/libduktaped.so
  46. %{_libdir}/pkgconfig/duktape.pc
  47. %changelog
  48. * Thu Jul 18 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7.0-1
  49. - initial build for Vine Linux.