[packages/jquery-class] new; version 1.1.0

glen glen at pld-linux.org
Thu Sep 13 22:12:13 CEST 2012


commit da29ab45a08848928e34bc207b6df30093ac6351
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Sep 13 23:12:03 2012 +0300

    new; version 1.1.0

 jquery-class.spec | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
---
diff --git a/jquery-class.spec b/jquery-class.spec
new file mode 100644
index 0000000..0e35de5
--- /dev/null
+++ b/jquery-class.spec
@@ -0,0 +1,39 @@
+%define		plugin	class
+Summary:	jQuery plugin that helps you to create and work with classes/objects
+Name:		jquery-%{plugin}
+Version:	1.1.0
+Release:	1
+License:	MIT
+Group:		Applications/WWW
+Source0:	https://github.com/kilhage/class.js/tarball/v.%{version}/%{name}-%{version}.tgz
+# Source0-md5:	ff897f42f94348066a6df8d6ac382b48
+URL:		https://github.com/kilhage/class.js
+BuildRequires:	rpmbuild(macros) >= 1.268
+Requires:	jquery
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_appdir	%{_datadir}/jquery/%{plugin}
+
+%description
+This library allows you to create Class-like functions in an very
+effective and nice way.
+
+%prep
+%setup -qc
+mv *-%{plugin}.js-*/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_appdir}
+cp -p jquery.%{plugin}.min.js  $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.min.js
+cp -p jquery.%{plugin}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.js
+ln -s %{plugin}-%{version}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.js
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%{_appdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jquery-class.git/commitdiff/da29ab45a08848928e34bc207b6df30093ac6351



More information about the pld-cvs-commit mailing list