Initial commit (#1219422)
parent
0e535d2d43
commit
a09a393730
@ -0,0 +1 @@
|
||||
/mujs-c1ad1ba.tar.gz
|
@ -0,0 +1,57 @@
|
||||
%global codate 20150202
|
||||
%global cohash c1ad1ba
|
||||
%global checkout %{codate}git%{cohash}
|
||||
|
||||
Name: mujs
|
||||
Version: 0
|
||||
Release: 2.%{checkout}%{?dist}
|
||||
Summary: An embeddable Javascript interpreter
|
||||
License: AGPLv3+
|
||||
URL: http://mujs.com/
|
||||
# Source is a git checkout (git://git.ghostscript.com/mujs.git)
|
||||
# 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
|
||||
|
||||
%description
|
||||
MuJS is a lightweight Javascript interpreter designed for embedding in
|
||||
other software to extend them with scripting capabilities.
|
||||
|
||||
%package devel
|
||||
Summary: MuJS development files
|
||||
Provides: %{name}-static = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package provides the MuJS static library.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{cohash}
|
||||
|
||||
%build
|
||||
make debug %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} prefix="%{_prefix}" libdir="%{_libdir}"
|
||||
|
||||
%global _docdir_fmt %{name}
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS README
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%files devel
|
||||
%license COPYING
|
||||
%doc AUTHORS README
|
||||
%{_includedir}/%{name}.h
|
||||
%{_libdir}/lib%{name}.a
|
||||
|
||||
%changelog
|
||||
* Fri Jun 05 2015 Petr Šabata <contyk@redhat.com> - 0-2.20150202gitc1ad1ba
|
||||
- Address the reviewer's concerns
|
||||
|
||||
* Thu May 07 2015 Petr Šabata <contyk@redhat.com> - 0-1.20150202gitc1ad1ba
|
||||
- Initial packaging
|
Loading…
Reference in new issue