]> git.pld-linux.org Git - packages/jquery-cycle.git/commitdiff
package jquery.cycle.all.js, v3.0.3 master auto/th/jquery-cycle-3.0.3-1
authorElan Ruusamäe <glen@delfi.ee>
Wed, 16 Oct 2013 13:44:12 +0000 (16:44 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 16 Oct 2013 13:44:12 +0000 (16:44 +0300)
jquery-cycle.spec [new file with mode: 0644]

diff --git a/jquery-cycle.spec b/jquery-cycle.spec
new file mode 100644 (file)
index 0000000..e644f6f
--- /dev/null
@@ -0,0 +1,54 @@
+%define                plugin  cycle
+Summary:       jQuery Cycle Plugin
+Name:          jquery-%{plugin}
+Version:       3.0.3
+Release:       1
+License:       MIT/GPL
+Group:         Applications/WWW
+Source0:       https://github.com/malsup/cycle/archive/ac38c7b6/%{plugin}-%{version}.tar.gz
+# Source0-md5: f86c9e0c5eda6347dca18ed41742e229
+URL:           http://jquery.malsup.com/cycle/
+Requires:      jquery >= 1.7.1
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _appdir %{_datadir}/jquery/%{plugin}
+
+%description
+The jQuery Cycle Plugin is a slideshow plugin that supports many
+different types of transition effects. It supports pause-on-hover,
+auto-stop, auto-fit, before/after callbacks, click triggers and much
+more. It also supports, but does not require, the Easing Plugin.
+
+The plugin provides a method called cycle which is invoked on a
+container element. Each child element of the container becomes a
+"slide". Options control how and when the slides are transitioned.
+
+%package demo
+Summary:       Demo for jQuery.%{plugin}
+Summary(pl.UTF-8):     Pliki demonstracyjne dla pakietu jQuery.%{plugin}
+Group:         Development
+Requires:      %{name} = %{version}-%{release}
+
+%description demo
+Demonstrations and samples for jQuery.%{plugin}.
+
+%prep
+%setup -qc
+mv cycle-*/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_appdir},%{_examplesdir}/%{name}-%{version}}
+
+cp -p jquery.%{plugin}.all.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.js
+ln -s %{plugin}-%{version}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.src.js
+ln -s %{plugin}-%{version}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.js
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%{_appdir}
This page took 0.064245 seconds and 4 git commands to generate.