commit 3b03722116d26ddf6d8bac287bc74e2b00c06313
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Apr 24 11:32:45 2013 +0300

    new, version 3.4.0

 jquery-nicescroll.spec | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
---
diff --git a/jquery-nicescroll.spec b/jquery-nicescroll.spec
new file mode 100644
index 0000000..8f98e46
--- /dev/null
+++ b/jquery-nicescroll.spec
@@ -0,0 +1,41 @@
+%define                plugin  nicescroll
+Summary:       jQuery NiceScroll plugin - scrolling for desktop, mobile and 
touch devices
+Name:          jquery-%{plugin}
+Version:       3.4.0
+Release:       1
+License:       MIT
+Group:         Applications/WWW
+Source0:       
https://jquery-nicescroll.googlecode.com/files/jquery.nicescroll.340.zip
+# Source0-md5: de8bf8ba21a3fad9517c8bec803d6ab3
+URL:           http://areaaperta.com/nicescroll/
+BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: unzip
+Requires:      jquery >= 1.5
+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
+
+%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
+ln -s %{plugin}-%{version}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.src.js
+cp -p zoomico.png $RPM_BUILD_ROOT%{_appdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README MIT.LICENSE changelog_*.txt
+%{_appdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jquery-nicescroll.git/commitdiff/3b03722116d26ddf6d8bac287bc74e2b00c06313

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to