[packages/jquery-nanoscroller] new, version 0.7.2
glen
glen at pld-linux.org
Fri May 31 14:01:46 CEST 2013
commit ef7979174eb5481b85eedf2094f44c71423f18b5
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri May 31 15:01:25 2013 +0300
new, version 0.7.2
jquery-nanoscroller.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
---
diff --git a/jquery-nanoscroller.spec b/jquery-nanoscroller.spec
new file mode 100644
index 0000000..f2ed2f0
--- /dev/null
+++ b/jquery-nanoscroller.spec
@@ -0,0 +1,44 @@
+%define plugin nanoscroller
+Summary: jQuery nanoScroller plugin
+Name: jquery-%{plugin}
+Version: 0.7.2
+Release: 1
+License: MIT
+Group: Applications/WWW
+Source0: https://github.com/jamesflorentino/nanoScrollerJS/archive/%{version}.tar.gz
+# Source0-md5: ccb6a2580afdbc0a7793c4d29506fc85
+URL: http://jamesflorentino.github.io/nanoScrollerJS/
+BuildRequires: rpmbuild(macros) > 1.268
+Requires: jquery
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _appdir %{_datadir}/jquery/%{plugin}
+
+%description
+nanoScroller.js is a jQuery plugin that offers a simplistic way of
+implementing Mac OS X Lion-styled scrollbars for your website. It uses
+minimal HTML markup being .nano > .content. The other scrollbar div
+elements .pane > .slider are added during run time to prevent clutter
+in templating. The latest version utilizes native scrolling and works
+with the iPad, iPhone, and some Android Tablets.
+
+%prep
+%setup -qn nanoScrollerJS-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_appdir}
+cp -p bin/javascripts/jquery.%{plugin}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.js
+cp -p bin/javascripts/jquery.%{plugin}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.min.js
+ln -s %{plugin}-%{version}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.js
+ln -s %{plugin}-%{version}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.min.js
+ln -s %{plugin}-%{version}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.src.js
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md LICENSE-MIT
+%{_appdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/jquery-nanoscroller.git/commitdiff/ef7979174eb5481b85eedf2094f44c71423f18b5
More information about the pld-cvs-commit
mailing list