[packages/jquery-agility] - new, agility.js package version: 0.1.3
glen
glen at pld-linux.org
Thu Oct 18 21:44:42 CEST 2012
commit 89dab6fe4cce41cee2e9d62e022d994f09e4b341
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Oct 18 22:42:59 2012 +0300
- new, agility.js package version: 0.1.3
it depends on jQuery, therefore packaged under jQuery namespace not to
mess around with another webserver configuration set
requires "recent enough" jQuery, but not specified, which version, as
demos use 1.6.1, assume 1.6 is sufficent.
jquery-agility.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
---
diff --git a/jquery-agility.spec b/jquery-agility.spec
new file mode 100644
index 0000000..5f0ea83
--- /dev/null
+++ b/jquery-agility.spec
@@ -0,0 +1,44 @@
+%define plugin agility
+Summary: Agility.js JavaScript MVC library
+Name: jquery-%{plugin}
+Version: 0.1.3
+Release: 1
+License: MIT
+Group: Applications/WWW
+Source0: https://github.com/arturadib/agility/tarball/%{version}/%{plugin}-%{version}.tgz
+# Source0-md5: 83e400b740f711b4e835d16bab33a024
+URL: http://agilityjs.com/
+Requires: jquery >= 1.6
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _appdir %{_datadir}/jquery/%{plugin}
+
+%description
+Agility.js is an MVC library for JavaScript that lets you write
+maintainable and reusable browser code without the verbose or
+infrastructural overhead found in other MVC libraries. The goal is to
+enable developers to write web apps at least as quickly as with
+jQuery, while simplifying long-term maintainability through MVC
+objects.
+
+%prep
+%setup -qc
+mv *-%{plugin}-*/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_appdir},%{_examplesdir}/%{name}-%{version}}
+
+cp -p docs/%{plugin}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.min.js
+cp -p %{plugin}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.js
+ln -s %{plugin}-%{version}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.src.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 LICENSE ChangeLog
+%{_appdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/jquery-agility.git/commitdiff/89dab6fe4cce41cee2e9d62e022d994f09e4b341
More information about the pld-cvs-commit
mailing list