packages: jquery-ui/find-lang.sh, jquery-ui/jquery-ui.spec - up to 1.7.2

glen glen at pld-linux.org
Fri Apr 9 11:19:36 CEST 2010


Author: glen                         Date: Fri Apr  9 09:19:36 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.7.2

---- Files affected:
packages/jquery-ui:
   find-lang.sh (1.3 -> 1.4) , jquery-ui.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/jquery-ui/find-lang.sh
diff -u packages/jquery-ui/find-lang.sh:1.3 packages/jquery-ui/find-lang.sh:1.4
--- packages/jquery-ui/find-lang.sh:1.3	Tue Apr  7 19:03:08 2009
+++ packages/jquery-ui/find-lang.sh	Fri Apr  9 11:19:31 2010
@@ -1,5 +1,10 @@
 #!/bin/sh
 PROG=${0##*/}
+if [ $# = 2 ]; then
+	# for using same syntax as rpm own find-lang
+	RPM_BUILD_ROOT=$1
+	shift
+fi
 dir=$RPM_BUILD_ROOT/usr/share/jquery/ui
 langfile=$1
 tmp=$(mktemp) || exit 1

================================================================
Index: packages/jquery-ui/jquery-ui.spec
diff -u packages/jquery-ui/jquery-ui.spec:1.4 packages/jquery-ui/jquery-ui.spec:1.5
--- packages/jquery-ui/jquery-ui.spec:1.4	Tue Apr  7 19:03:38 2009
+++ packages/jquery-ui/jquery-ui.spec	Fri Apr  9 11:19:31 2010
@@ -1,15 +1,15 @@
 # $Revision$, $Date$
 Summary:	jQuery UI
 Name:		jquery-ui
-Version:	1.7.1
+Version:	1.7.2
 Release:	0.1
 License:	MIT / GPL
 Group:		Applications/WWW
 Source0:	http://jquery-ui.googlecode.com/files/%{name}-%{version}.zip
-# Source0-md5:	4378e0d5d84011998b8d4c46ad20f27f
+# Source0-md5:	ac7986a8caedf11c4392ad4964c5d5af
 URL:		http://jqueryui.com/
 BuildRequires:	rpmbuild(macros) > 1.268
-Source1:	%{name}-find-lang.sh
+Source1:	find-lang.sh
 Requires:	jquery >= 1.3
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -19,6 +19,8 @@
 %define		_sysconfdir	%{_webapps}/%{_webapp}
 %define		_appdir		%{_datadir}/jquery/ui
 
+%define		find_lang 	sh %{SOURCE1} %{buildroot}
+
 %description
 jQuery UI provides abstractions for low-level interaction and
 high-level, themeable widgets, built on top of the jQuery JavaScript
@@ -43,15 +45,13 @@
 	mv $a ${a%.min.js}.js
 done
 
-install %{SOURCE1} find-lang.sh
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_appdir},%{_examplesdir}/%{name}-%{version}}
 cp -a ui/minified/* $RPM_BUILD_ROOT%{_appdir}
 cp -a demos/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-./find-lang.sh %{name}.lang
+%find_lang %{name}.lang
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -78,6 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2010/04/09 09:19:31  glen
+- up to 1.7.2
+
 Revision 1.4  2009/04/07 17:03:38  glen
 - jquery 1.3+
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jquery-ui/find-lang.sh?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jquery-ui/jquery-ui.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list