|
|
4578a24 |
Name: js-jquery
|
|
|
5b65499 |
Version: 3.7.1
|
|
|
74c440a |
Release: 3%{?dist}
|
|
|
4578a24 |
Summary: JavaScript DOM manipulation, event handling, and AJAX library
|
|
|
4578a24 |
BuildArch: noarch
|
|
|
4578a24 |
|
|
|
4578a24 |
%global ver_x %(echo %{version} | cut -d. -f1)
|
|
|
4578a24 |
%global ver_y %(echo %{version} | cut -d. -f2)
|
|
|
4578a24 |
%global ver_z %(echo %{version} | cut -d. -f3)
|
|
|
4578a24 |
|
|
|
034fe58 |
License: MIT
|
|
|
cf7b28b |
URL: https://jquery.com/
|
|
|
cf7b28b |
Source0: https://github.com/jquery/jquery/archive/%{version}/jquery-%{version}.tar.gz
|
|
|
5a73927 |
# Created by ./update-sources.sh <version>
|
|
|
ad14f1b |
Source1: jquery_%{version}_node_modules.tar.gz
|
|
|
4578a24 |
|
|
|
4578a24 |
# disable gzip-js during build
|
|
|
4578a24 |
Patch1: %{name}-disable-gzip-js.patch
|
|
|
034fe58 |
|
|
|
b811b29 |
|
|
|
4578a24 |
BuildRequires: web-assets-devel
|
|
|
4578a24 |
BuildRequires: nodejs-packaging
|
|
|
b3b86fc |
BuildRequires: nodejs
|
|
|
4578a24 |
|
|
|
4578a24 |
Provides: jquery = %{version}-%{release}
|
|
|
4578a24 |
Provides: %{name}-static = %{version}-%{release}
|
|
|
034fe58 |
Provides: %{name}%{ver_x} = %{version}-%{release}
|
|
|
034fe58 |
Provides: %{name}%{ver_x}-static = %{version}-%{release}
|
|
|
4578a24 |
|
|
|
4578a24 |
Requires: web-assets-filesystem
|
|
|
4578a24 |
|
|
|
ad14f1b |
# Bundles sizzle (https://github.com/jquery/sizzle/) in node_modules/sizzle
|
|
|
ad14f1b |
# Get version from package.json
|
|
|
ad14f1b |
Provides: bundled(sizzle) = 2.3.5
|
|
|
ad14f1b |
Provides: bundled(js-sizzle) = 2.3.5
|
|
|
ad14f1b |
|
|
|
ad14f1b |
|
|
|
4578a24 |
%description
|
|
|
4578a24 |
jQuery is a fast, small, and feature-rich JavaScript library. It makes things
|
|
|
034fe58 |
like HTML document traversal and manipulation, event handling, animation, and
|
|
|
034fe58 |
Ajax much simpler with an easy-to-use API that works across a multitude of
|
|
|
034fe58 |
browsers. With a combination of versatility and extensibility, jQuery has
|
|
|
4578a24 |
changed the way that millions of people write JavaScript.
|
|
|
4578a24 |
|
|
|
4578a24 |
%prep
|
|
|
ad14f1b |
%autosetup -n jquery-%{version} -v -p1
|
|
|
4578a24 |
|
|
|
4578a24 |
#remove precompiled stuff
|
|
|
ad14f1b |
rm -rf dist/*
|
|
|
4578a24 |
|
|
|
ad14f1b |
# Install the cached node modules
|
|
|
ad14f1b |
tar xf %{SOURCE1}
|
|
|
4578a24 |
|
|
|
4578a24 |
|
|
|
4578a24 |
%build
|
|
|
ad14f1b |
./node_modules/grunt-cli/bin/grunt -v 'build:*:*' uglify
|
|
|
4578a24 |
|
|
|
4578a24 |
|
|
|
ad14f1b |
%check
|
|
|
ad14f1b |
./node_modules/grunt-cli/bin/grunt -v 'build:*:*' test:prepare test:fast
|
|
|
4578a24 |
|
|
|
4578a24 |
|
|
|
4578a24 |
%install
|
|
|
4578a24 |
%global installdir %{buildroot}%{_jsdir}/jquery
|
|
|
4578a24 |
|
|
|
4578a24 |
mkdir -p %{installdir}/%{version}
|
|
|
4578a24 |
cp -p dist/* %{installdir}/%{version}
|
|
|
4578a24 |
|
|
|
4578a24 |
mkdir -p %{buildroot}%{_webassetdir}
|
|
|
4578a24 |
ln -s ../javascript/jquery %{buildroot}%{_webassetdir}/jquery
|
|
|
4578a24 |
|
|
|
4578a24 |
ln -s %{version} %{installdir}/latest
|
|
|
4578a24 |
ln -s %{version} %{installdir}/%{ver_x}
|
|
|
4578a24 |
ln -s %{version} %{installdir}/%{ver_x}.%{ver_y}
|
|
|
4578a24 |
|
|
|
4578a24 |
|
|
|
4578a24 |
%files
|
|
|
4578a24 |
%{_jsdir}/jquery
|
|
|
4578a24 |
%{_webassetdir}/jquery
|
|
|
cf7b28b |
%doc AUTHORS.txt CONTRIBUTING.md LICENSE.txt README.md
|
|
|
4578a24 |
|
|
|
4578a24 |
|
|
|
4578a24 |
%changelog
|
|
|
74c440a |
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-3
|
|
|
74c440a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
74c440a |
|
|
|
65194da |
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.1-2
|
|
|
65194da |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
65194da |
|
|
|
5b65499 |
* Sat Sep 02 2023 Orion Poplawski <orion@nwra.com> - 3.7.1-1
|
|
|
5b65499 |
- Update to 3.7.1
|
|
|
5b65499 |
|
|
|
ae726bd |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.4-2
|
|
|
ae726bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
ae726bd |
|
|
|
5b21a06 |
* Thu Mar 09 2023 Orion Poplawski <orion@nwra.com> - 3.6.4-1
|
|
|
5b21a06 |
- Update to 3.6.4
|
|
|
5b21a06 |
|
|
|
1a87562 |
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.3-2
|
|
|
1a87562 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
1a87562 |
|
|
|
5a73927 |
* Thu Dec 22 2022 Orion Poplawski <orion@nwra.com> - 3.6.3-1
|
|
|
5a73927 |
- Update to 3.6.3
|
|
|
5a73927 |
|
|
|
1a6ff34 |
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-3
|
|
|
1a6ff34 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
1a6ff34 |
|
|
|
17ae9bb |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-2
|
|
|
17ae9bb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
17ae9bb |
|
|
|
8fc2147 |
* Mon Jan 17 2022 Orion Poplawski <orion@nwra.com> - 3.6.0-1
|
|
|
8fc2147 |
- Update to 3.6.0
|
|
|
8fc2147 |
|
|
|
5c646a8 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-6
|
|
|
5c646a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
5c646a8 |
|
|
|
5a6f181 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-5
|
|
|
5a6f181 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
5a6f181 |
|
|
|
abe7281 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-4
|
|
|
abe7281 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
abe7281 |
|
|
|
b3b86fc |
* Fri Apr 17 2020 Stephen Gallagher <sgallagh@redhat.com> - 3.5.0-3
|
|
|
b3b86fc |
- Add explicit dependency on nodejs
|
|
|
b3b86fc |
|
|
|
ad14f1b |
* Wed Apr 15 2020 Stephen Gallagher <sgallagh@redhat.com> - 3.5.0-2
|
|
|
ad14f1b |
- Add virtual Provides: for bundled sizzle
|
|
|
ad14f1b |
|
|
|
ad14f1b |
* Mon Apr 13 2020 Stephen Gallagher <sgallagh@redhat.com> - 3.5.0-1
|
|
|
ad14f1b |
- Update to 3.5.0
|
|
|
ad14f1b |
- Bundle the build dependencies in the source RPM
|
|
|
ad14f1b |
- Drop unneeded patches
|
|
|
ad14f1b |
|
|
|
a5e3e90 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-4
|
|
|
a5e3e90 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
a5e3e90 |
|
|
|
3d1889f |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-3
|
|
|
3d1889f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
3d1889f |
|
|
|
94eaf4b |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-2
|
|
|
94eaf4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
94eaf4b |
|
|
|
b811b29 |
* Wed Jul 18 2018 Christopher Tubbs <ctubbsii@fedoraproject.org> - 3.3.1-1
|
|
|
b811b29 |
- Update to 3.3.1; fixes rhbz#1536772 rhbz#1445079 rhbz#1591846 Security fix for
|
|
|
b811b29 |
CVE-2012-6708
|
|
|
b811b29 |
|
|
|
9ad29b8 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-4
|
|
|
9ad29b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
9ad29b8 |
|
|
|
58af980 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-3
|
|
|
58af980 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
58af980 |
|
|
|
f4abf6d |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-2
|
|
|
f4abf6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
f4abf6d |
|
|
|
034fe58 |
* Wed Apr 12 2017 Christopher Tubbs <ctubbsii@fedoraproject.org> - 3.2.1-1
|
|
|
034fe58 |
- Update to jQuery 3.2.1
|
|
|
034fe58 |
|
|
|
18b7d13 |
* Tue Apr 11 2017 Christopher Tubbs <ctubbsii@fedoraproject.org> - 2.2.4-3
|
|
|
18b7d13 |
- Update provides in prep for js-jquery package rename to js-jquery2
|
|
|
18b7d13 |
|
|
|
312831b |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-2
|
|
|
312831b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
312831b |
|
|
|
cf7b28b |
* Tue Dec 20 2016 Christopher Tubbs <ctubbsii@fedoraproject.org> - 2.2.4-1
|
|
|
cf7b28b |
- Update to 2.2.4 and backport XSS patch (bz#1399550,bz#1399549)
|
|
|
cf7b28b |
|
|
|
102b23b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.3-3
|
|
|
102b23b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
102b23b |
|
|
|
1d0bf2d |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-2
|
|
|
1d0bf2d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
1d0bf2d |
|
|
|
cd1a546 |
* Wed Mar 04 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.3-1
|
|
|
cd1a546 |
- new upstream release 2.1.3
|
|
|
cd1a546 |
http://blog.jquery.com/2014/12/18/jquery-1-11-2-and-2-1-3-released-safari-fail-safe-edition/
|
|
|
cd1a546 |
|
|
|
4578a24 |
* Tue Oct 21 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.1-4
|
|
|
4578a24 |
- drop unneccessary symlinks
|
|
|
4578a24 |
|
|
|
4578a24 |
* Tue Jun 03 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.1-3
|
|
|
4578a24 |
- follow the github SourceURL guidelines
|
|
|
4578a24 |
|
|
|
4578a24 |
* Sat May 31 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.1-2
|
|
|
4578a24 |
- drop sed hack now that grunt is fixed
|
|
|
4578a24 |
|
|
|
4578a24 |
* Fri May 30 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.1-1
|
|
|
4578a24 |
- update to 2.1.1
|
|
|
4578a24 |
- use system packages for build (with help from Jamie Nguyen)
|
|
|
4578a24 |
|
|
|
4578a24 |
* Wed Mar 19 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.0-0.1
|
|
|
4578a24 |
- initial package
|