Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Till Maas
c4644849df 2016-11-20: Retired because it depends on js-sizzle, which was
retired, because it was orphaned for more than six weeks.
2016-11-20 11:31:41 +01:00
5 changed files with 3 additions and 121 deletions

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
/js-jquery-4dec426aa2a6cbabb1b064319ba7c272d594a688.tar.gz
/js-jquery-8f2a9d9272d6ed7f32d3a484740ab342c02541e0.tar.gz

3
dead.package Normal file
View file

@ -0,0 +1,3 @@
2016-11-20: Retired because it depends on js-sizzle, which was
retired, because it was orphaned for more than six weeks.

View file

@ -1,14 +0,0 @@
diff --git a/Gruntfile.js b/Gruntfile.js
index d1ad5d4..f1f1a28 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -9,8 +9,7 @@ module.exports = function( grunt ) {
return data;
}
- var gzip = require( "gzip-js" ),
- srcHintOptions = readOptionalJSON( "src/.jshintrc" );
+ var srcHintOptions = readOptionalJSON( "src/.jshintrc" );
// The concatenated file won't pass onevar
// But our modules can

View file

@ -1,104 +0,0 @@
%global commit 8f2a9d9272d6ed7f32d3a484740ab342c02541e0
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: js-jquery
Version: 2.1.3
Release: 1%{?dist}
Summary: JavaScript DOM manipulation, event handling, and AJAX library
BuildArch: noarch
%global ver_x %(echo %{version} | cut -d. -f1)
%global ver_y %(echo %{version} | cut -d. -f2)
%global ver_z %(echo %{version} | cut -d. -f3)
License: MIT
URL: http://jquery.com/
Source0: https://github.com/jquery/jquery/archive/%{commit}/%{name}-%{commit}.tar.gz
# disable gzip-js during build
Patch1: %{name}-disable-gzip-js.patch
BuildRequires: web-assets-devel
BuildRequires: nodejs-packaging
BuildRequires: js-sizzle-static
Provides: jquery = %{version}-%{release}
Provides: %{name}-static = %{version}-%{release}
BuildRequires: nodejs-grunt >= 0.4.4-3
BuildRequires: npm(shelljs)
BuildRequires: npm(grunt-cli)
BuildRequires: npm(grunt-contrib-uglify)
BuildRequires: npm(load-grunt-tasks)
BuildRequires: npm(requirejs)
Requires: web-assets-filesystem
%description
jQuery is a fast, small, and feature-rich JavaScript library. It makes things
like HTML document traversal and manipulation, event handling, animation, and
Ajax much simpler with an easy-to-use API that works across a multitude of
browsers. With a combination of versatility and extensibility, jQuery has
changed the way that millions of people write JavaScript.
%prep
%setup -qn jquery-%{commit}
%patch1 -p1
#remove precompiled stuff
rm -rf dist/* src/sizzle
#put sizzle where jquery expects it
install -Dp %{_jsdir}/sizzle/latest/sizzle.js src/sizzle/dist/sizzle.js
%build
%nodejs_symlink_deps --build
grunt -v 'build:*:*' uglify
# missing dependencies
#%%check
#grunt
%install
%global installdir %{buildroot}%{_jsdir}/jquery
mkdir -p %{installdir}/%{version}
cp -p dist/* %{installdir}/%{version}
mkdir -p %{buildroot}%{_webassetdir}
ln -s ../javascript/jquery %{buildroot}%{_webassetdir}/jquery
ln -s %{version} %{installdir}/latest
ln -s %{version} %{installdir}/%{ver_x}
ln -s %{version} %{installdir}/%{ver_x}.%{ver_y}
%files
%{_jsdir}/jquery
%{_webassetdir}/jquery
%doc AUTHORS.txt CONTRIBUTING.md MIT-LICENSE.txt README.md
%changelog
* Wed Mar 04 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.3-1
- new upstream release 2.1.3
http://blog.jquery.com/2014/12/18/jquery-1-11-2-and-2-1-3-released-safari-fail-safe-edition/
* Tue Oct 21 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.1-4
- drop unneccessary symlinks
* Tue Jun 03 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.1-3
- follow the github SourceURL guidelines
* Sat May 31 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.1-2
- drop sed hack now that grunt is fixed
* Fri May 30 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.1-1
- update to 2.1.1
- use system packages for build (with help from Jamie Nguyen)
* Wed Mar 19 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.1.0-0.1
- initial package

View file

@ -1 +0,0 @@
eba3a924d520e1018b0cc1f0bdd2ffbc js-jquery-8f2a9d9272d6ed7f32d3a484740ab342c02541e0.tar.gz