2018-04-20 14:05:37 +00:00
|
|
|
Name: duktape
|
2022-12-16 11:05:42 +00:00
|
|
|
Version: 2.7.0
|
2021-11-02 11:16:47 +00:00
|
|
|
Release: %autorelease
|
2018-04-20 14:05:37 +00:00
|
|
|
Summary: Embeddable Javascript engine
|
2023-05-16 15:42:23 +00:00
|
|
|
|
2018-04-20 14:05:37 +00:00
|
|
|
License: MIT
|
|
|
|
Url: http://duktape.org/
|
|
|
|
Source0: http://duktape.org/%{name}-%{version}.tar.xz
|
2023-05-16 15:42:23 +00:00
|
|
|
Patch0: duktape-2.7.0-link-against-libm.patch
|
|
|
|
|
2018-04-20 14:05:37 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: pkgconfig
|
2021-11-02 11:22:06 +00:00
|
|
|
BuildRequires: make
|
2018-04-20 14:05:37 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Duktape is an embeddable Javascript engine, with a focus on portability and
|
|
|
|
compact footprint.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Embeddable Javascript engine.
|
|
|
|
|
|
|
|
This package contains header files and libraries needed to develop
|
|
|
|
application that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
2023-05-16 15:42:23 +00:00
|
|
|
%autosetup -p1
|
2018-04-20 14:05:37 +00:00
|
|
|
|
|
|
|
%build
|
2022-12-16 11:05:42 +00:00
|
|
|
%make_build -f Makefile.sharedlibrary INSTALL_PREFIX=%{_prefix} LIBDIR=/%{_lib}
|
2018-04-20 14:05:37 +00:00
|
|
|
|
|
|
|
%install
|
2022-12-16 11:05:42 +00:00
|
|
|
%make_install -f Makefile.sharedlibrary INSTALL_PREFIX=%{_prefix} LIBDIR=/%{_lib}
|
2018-04-20 14:05:37 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE.txt
|
|
|
|
%doc AUTHORS.rst
|
|
|
|
%{_libdir}/libduktape.so.*
|
|
|
|
%{_libdir}/libduktaped.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc examples/ README.rst
|
|
|
|
%{_includedir}/duk_config.h
|
|
|
|
%{_includedir}/duktape.h
|
|
|
|
%{_libdir}/libduktape.so
|
|
|
|
%{_libdir}/libduktaped.so
|
|
|
|
%{_libdir}/pkgconfig/duktape.pc
|
|
|
|
|
|
|
|
%changelog
|
2021-11-02 11:16:47 +00:00
|
|
|
%autochangelog
|