Compare commits
10 Commits
9deb2de6e7
...
b0a60bbb05
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0a60bbb05 | ||
|
|
f6baf867e0 | ||
|
|
18c70d393a | ||
|
|
4ce9125847 | ||
|
|
7eeb4d3ab8 | ||
|
|
854225a7fa | ||
|
|
c486f7db63 | ||
|
|
00909060ae | ||
|
|
141425489f | ||
|
|
09e862c523 |
BIN
1.0.9.tar.gz
BIN
1.0.9.tar.gz
Binary file not shown.
BIN
mujs-1.3.4.tar.gz
Normal file
BIN
mujs-1.3.4.tar.gz
Normal file
Binary file not shown.
35
mujs.spec
35
mujs.spec
@ -1,13 +1,15 @@
|
|||||||
Name: mujs
|
Name: mujs
|
||||||
Version: 1.0.9
|
Version: 1.3.4
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: An embeddable Javascript interpreter
|
Summary: An embeddable Javascript interpreter
|
||||||
License: ISC
|
License: ISC
|
||||||
URL: http://mujs.com/
|
URL: http://mujs.com/
|
||||||
# The mujs.com download page doesn't provide recent tarballs
|
# The mujs.com download page doesn't provide recent tarballs
|
||||||
# Github mirror of mujs.com repository provides releases from tags
|
# Github mirror of mujs.com repository provides releases from tags
|
||||||
Source0: https://github.com/ccxvii/mujs/archiv/%{version}.tar.gz
|
Source0: https://mujs.com/downloads/mujs-%{version}.tar.gz
|
||||||
BuildRequires: coreutils
|
|
||||||
|
|
||||||
|
#BuildRequires: coreutils
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: grep
|
BuildRequires: grep
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
@ -19,6 +21,7 @@ other software to extend them with scripting capabilities.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: MuJS development files
|
Summary: MuJS development files
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -28,17 +31,18 @@ This package provides the MuJS static library.
|
|||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
chmod a-x -v docs/*
|
chmod a-x -v docs/*
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make debug %{?_smp_mflags} XCFLAGS="%{optflags} -fPIC" LDFLAGS="%{?__global_ldflags}"
|
%make_build release CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot} prefix="%{_prefix}" libdir="%{_libdir}" \
|
%make_install prefix="%{_prefix}" libdir="%{_libdir}" CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}"
|
||||||
XCFLAGS="%{optflags} -fPIC" LDFLAGS="%{?__global_ldflags}"
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS README docs
|
%doc AUTHORS README docs
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
%{_bindir}/%{name}-pp
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -48,5 +52,24 @@ make install DESTDIR=%{buildroot} prefix="%{_prefix}" libdir="%{_libdir}" \
|
|||||||
%{_libdir}/lib%{name}.a
|
%{_libdir}/lib%{name}.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 11 2023 Vicoloa <lvkun@uniontech.com> - 1.3.4-1
|
||||||
|
- upstream to 1.3.4
|
||||||
|
|
||||||
|
* Thu Sep 21 2023 leeffo <liweiganga@uniontech.com> - 1.3.3-1
|
||||||
|
- upstream to 1.3.3
|
||||||
|
- migrated to SPDX license
|
||||||
|
|
||||||
|
* Tue Feb 21 2023 liweiganga <liweiganga@uniontech.com> - 1.3.2-1
|
||||||
|
- upstream to 1.3.2
|
||||||
|
- fix CVE-2022-44789
|
||||||
|
|
||||||
|
* Tue Sep 27 2022 liweiganga <liweiganga@uniontech.com> - 1.2.0-2
|
||||||
|
- fix: fix CVE-2022-30974 CVE-2022-30974
|
||||||
|
|
||||||
|
* Mon Sep 26 2022 liweiganga <liweiganga@uniontech.com> - 1.2.0-1
|
||||||
|
- upstream release 1.2.0
|
||||||
|
- fix: fix CVE-2016-10141、CVE-2016-7504、CVE-2016-9136、CVE-2017-5628、CVE-2016-9017、\
|
||||||
|
CVE-2016-7506、CVE-2017-5627、CVE-2016-9108、CVE-2016-9294
|
||||||
|
|
||||||
* Thu May 13 2021 He Rengui <herengui@uniontech.com> - 1.0.9-1
|
* Thu May 13 2021 He Rengui <herengui@uniontech.com> - 1.0.9-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user