|
|
@ -1,26 +1,17 @@
|
|
|
|
%global codate 20180129
|
|
|
|
|
|
|
|
%global cohash 25821e6
|
|
|
|
|
|
|
|
%global checkout %{codate}git%{cohash}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
Name: mujs
|
|
|
|
Name: mujs
|
|
|
|
Version: 0
|
|
|
|
Version: 1.0.4
|
|
|
|
Release: 13.%{checkout}%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: An embeddable Javascript interpreter
|
|
|
|
Summary: An embeddable Javascript interpreter
|
|
|
|
License: AGPLv3+
|
|
|
|
License: AGPLv3+
|
|
|
|
URL: http://mujs.com/
|
|
|
|
URL: http://mujs.com/
|
|
|
|
# Source is a git checkout (git://git.ghostscript.com/mujs.git)
|
|
|
|
Source0: https://mujs.com/downloads/%{name}-%{version}.tar.gz
|
|
|
|
# export hash=your-hash-or-tag && \
|
|
|
|
|
|
|
|
# git archive --format=tar.gz --prefix=mujs-$hash/ $hash \
|
|
|
|
|
|
|
|
# > mujs-$hash.tar.gz
|
|
|
|
|
|
|
|
# Or simply, for the latest release, run:
|
|
|
|
|
|
|
|
# make tarball
|
|
|
|
|
|
|
|
Source0: %{name}-%{cohash}.tar.gz
|
|
|
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: grep
|
|
|
|
BuildRequires: grep
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
MuJS is a lightweight Javascript interpreter designed for embedding in
|
|
|
|
MuJS is a lightweight Javascript interpreter designed for embedding in
|
|
|
@ -34,7 +25,7 @@ Provides: %{name}-static = %{version}-%{release}
|
|
|
|
This package provides the MuJS static library.
|
|
|
|
This package provides the MuJS static library.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{cohash}
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
chmod a-x -v docs/*
|
|
|
|
chmod a-x -v docs/*
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -58,6 +49,9 @@ make install DESTDIR=%{buildroot} prefix="%{_prefix}" libdir="%{_libdir}"
|
|
|
|
%{_libdir}/lib%{name}.a
|
|
|
|
%{_libdir}/lib%{name}.a
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Sep 27 2018 Michael J Gruber <mjg@fedoraproject.org> - 1.0.4-1
|
|
|
|
|
|
|
|
* Upstream release
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-13.20180129git25821e6
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-13.20180129git25821e6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|