SPECS: jquery.spec - add form and field plugins
glen
glen at pld-linux.org
Tue Feb 19 15:39:03 CET 2008
Author: glen Date: Tue Feb 19 14:39:03 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add form and field plugins
---- Files affected:
SPECS:
jquery.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/jquery.spec
diff -u SPECS/jquery.spec:1.1 SPECS/jquery.spec:1.2
--- SPECS/jquery.spec:1.1 Tue Feb 19 15:25:35 2008
+++ SPECS/jquery.spec Tue Feb 19 15:38:58 2008
@@ -7,6 +7,10 @@
Group: Applications/WWW
Source0: http://jqueryjs.googlecode.com/files/%{name}-%{version}-release.zip
# Source0-md5: 24ff20d524fa2affb1d6eb217797341c
+Source1: http://plugins.jquery.com/files/%{name}.field.js_4.txt
+# Source1-md5: 0266a3bef437a17a44cdcad1aa3908de
+Source2: http://jqueryjs.googlecode.com/svn/trunk/plugins/form/%{name}.form.js
+# Source2-md5: a5f1e11a042a60bc1557a0c7460db46c
URL: http://jquery.com/
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -25,15 +29,26 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_appdir}
+install -d $RPM_BUILD_ROOT%{_appdir}/plugins
cp -a dist/jquery.min.js $RPM_BUILD_ROOT%{_appdir}/jquery.js
+# plugins
+
+# http://plugins.jquery.com/project/field, MIT/GPL v0.7
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_appdir}/plugins/field.js
+
+# http://plugins.jquery.com/project/form, MIT/GPL v2.04
+cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_appdir}/plugins/form.js
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%{_appdir}
+%dir %{_appdir}
+%{_appdir}/*.js
+%dir %{_appdir}/plugins
+%{_appdir}/plugins/*.js
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -41,6 +56,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2008-02-19 14:38:58 glen
+- add form and field plugins
+
Revision 1.1 2008-02-19 14:25:35 glen
- new
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/jquery.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list