Version 2.7.0
This commit is contained in:
parent
ddf0baebd7
commit
7b039ca66a
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/duktape-2.2.0.tar.xz
|
||||
/duktape-2.6.0.tar.xz
|
||||
/duktape-2.7.0.tar.xz
|
||||
|
@ -1,10 +0,0 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/@libdir@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: duktape
|
||||
Description: Embeddable Javascript engine
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lduktape
|
||||
Cflags: -I${includedir}/
|
21
duktape.spec
21
duktape.spec
@ -1,11 +1,10 @@
|
||||
Name: duktape
|
||||
Version: 2.6.0
|
||||
Version: 2.7.0
|
||||
Release: %autorelease
|
||||
Summary: Embeddable Javascript engine
|
||||
License: MIT
|
||||
Url: http://duktape.org/
|
||||
Source0: http://duktape.org/%{name}-%{version}.tar.xz
|
||||
Source1: duktape.pc.in
|
||||
BuildRequires: gcc
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: make
|
||||
@ -27,25 +26,11 @@ application that use %{name}.
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
sed -e's|@prefix@|%{_prefix}|' \
|
||||
-e's|@libdir@|%{_lib}|' \
|
||||
-e's|@PACKAGE_VERSION@|%{version}|' \
|
||||
< %{SOURCE1} > %{name}.pc.in
|
||||
|
||||
%build
|
||||
sed -e '/^INSTALL_PREFIX/s|[^=]*$|%{_prefix}|' \
|
||||
-e '/install\:/a\\tinstall -d $(DESTDIR)$(INSTALL_PREFIX)/%{_lib}\n\tinstall -d $(DESTDIR)$(INSTALL_PREFIX)/include' \
|
||||
-e 's/\(\$.INSTALL_PREFIX.\)/$(DESTDIR)\1/g' \
|
||||
-e 's/\/lib\b/\/%{_lib}/g' \
|
||||
< Makefile.sharedlibrary > Makefile
|
||||
%make_build
|
||||
%make_build -f Makefile.sharedlibrary INSTALL_PREFIX=%{_prefix} LIBDIR=/%{_lib}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
install -Dm0644 %{name}.pc.in %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%ldconfig_scriptlets
|
||||
%make_install -f Makefile.sharedlibrary INSTALL_PREFIX=%{_prefix} LIBDIR=/%{_lib}
|
||||
|
||||
%files
|
||||
%license LICENSE.txt
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (duktape-2.6.0.tar.xz) = d72a2aaa05391fa243861aca6ca6082f91a08b9c5d60c7b246d35d7161532b0048bb67bd8fec7996c700ee317ac2bb52e528582682e5425b0431757d8b1c5be4
|
||||
SHA512 (duktape-2.7.0.tar.xz) = 8ff5465c9c335ea08ebb0d4a06569c991b9dc4661b63e10da6b123b882e7375e82291d6b883c2644902d68071a29ccc880dae8229447cebe710c910b54496c1d
|
||||
|
Loading…
Reference in New Issue
Block a user