|
|
@ -1,14 +1,18 @@
|
|
|
|
Name: mujs
|
|
|
|
Name: mujs
|
|
|
|
Version: 1.3.2
|
|
|
|
Version: 1.3.3
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Summary: An embeddable Javascript interpreter
|
|
|
|
Summary: An embeddable Javascript interpreter
|
|
|
|
License: ISC
|
|
|
|
License: ISC
|
|
|
|
URL: https://mujs.com/
|
|
|
|
URL: https://mujs.com/
|
|
|
|
Source0: https://mujs.com/downloads/%{name}-%{version}.tar.gz
|
|
|
|
Source0: https://mujs.com/downloads/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
#BuildRequires: coreutils
|
|
|
|
# https://github.com/ccxvii/mujs/pull/187
|
|
|
|
|
|
|
|
Patch0: set-library-soname-version.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# use custom soname version until it lands upstream to avoid future potential conflict
|
|
|
|
|
|
|
|
Patch1: downstream-soname-version.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: grep
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
|
|
|
|
|
|
|
@ -19,37 +23,79 @@ 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}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
|
|
|
|
This package provides the MuJS shared library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package static
|
|
|
|
|
|
|
|
Summary: MuJS development files using static lib
|
|
|
|
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description static
|
|
|
|
This package provides the MuJS static library.
|
|
|
|
This package provides the MuJS static library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%autosetup -p1
|
|
|
|
chmod a-x -v docs/*
|
|
|
|
chmod a-x -v docs/*
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%make_build debug %{?_smp_mflags} XCFLAGS="%{optflags} -fPIC" LDFLAGS="%{?__global_ldflags}"
|
|
|
|
%make_build release prefix="%{_prefix}" libdir="%{_libdir}" CFLAGS="%{build_cflags} %{build_ldflags}"
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install prefix="%{_prefix}" libdir="%{_libdir}" \
|
|
|
|
%make_install prefix="%{_prefix}" libdir="%{_libdir}"
|
|
|
|
XCFLAGS="%{optflags} -fPIC" LDFLAGS="%{?__global_ldflags}"
|
|
|
|
%{__make} install-shared DESTDIR=%{?buildroot} INSTALL="%{__install} -p" prefix="%{_prefix}" libdir="%{_libdir}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS README docs
|
|
|
|
%doc AUTHORS README docs
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
|
|
|
%{_bindir}/%{name}-pp
|
|
|
|
|
|
|
|
%{_libdir}/lib%{name}.so.0{,.*}
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS README
|
|
|
|
%doc AUTHORS README
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%{_includedir}/%{name}.h
|
|
|
|
%{_includedir}/%{name}.h
|
|
|
|
|
|
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files static
|
|
|
|
%{_libdir}/lib%{name}.a
|
|
|
|
%{_libdir}/lib%{name}.a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Dec 28 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.3.3-6
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Alessandro Astone <ales.astone@gmail.com> - 1.3.3-5
|
|
|
|
|
|
|
|
- Fix paths in pkgconfig file
|
|
|
|
|
|
|
|
- Make shared library versioned
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Sep 30 2023 Alain Vigne <avigne@fedoraproject.org> 1.3.3-2
|
|
|
|
|
|
|
|
- Install the shared library instead of default static one. Solve RHBZ#2241358
|
|
|
|
|
|
|
|
- Add a -static subpackage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 19 2023 Alain Vigne <avigne@fedoraproject.org> 1.3.3-1
|
|
|
|
|
|
|
|
- upstream release 1.3.3
|
|
|
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Dec 01 2022 Alain Vigne <avigne@fedoraproject.org> 1.3.2-1
|
|
|
|
* Thu Dec 01 2022 Alain Vigne <avigne@fedoraproject.org> 1.3.2-1
|
|
|
|
- upstream release 1.3.2
|
|
|
|
- upstream release 1.3.2
|
|
|
|
- Fix CVE-2022-44789 (rhbz#2148261)
|
|
|
|
- Fix CVE-2022-44789 (rhbz#2148261)
|