]> git.pld-linux.org Git - packages/jquery-fancybox.git/blame - jquery-fancybox.spec
- new, demo not tested
[packages/jquery-fancybox.git] / jquery-fancybox.spec
CommitLineData
6c3387e9
ER
1Summary: Fancybox - Fancy lightbox alternative
2Name: jquery-fancybox
3Version: 1.3.1
4Release: 0.1
5License: MIT / GPL
6Group: Applications/WWW
7Source0: http://fancybox.googlecode.com/files/jquery.fancybox-%{version}.zip
8# Source0-md5: d72d950a798ffaa83750dfd6e4a0e382
9URL: http://www.fancybox.net/
10BuildRequires: rpmbuild(macros) > 1.268
11Requires: jquery >= 1.3
12BuildArch: noarch
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%define _appdir %{_datadir}/jquery
16
17%description
18FancyBox is a tool for displaying images, html content and multi-media
19in a Mac-style "lightbox" that floats overtop of web page.
20
21- Can display images, HTML elements, SWF movies, Iframes and also Ajax
22 requests
23- Customizable through settings and CSS
24- Groups related items and adds navigation.
25- If the mouse wheel plugin is included in the page then FancyBox will
26 respond to mouse wheel events as well
27- Support fancy transitions by using easing plugin
28- Adds a nice drop shadow under the zoomed item
29
30%package demo
31Summary: Demo for jQuery.fancybox
32Summary(pl.UTF-8): Pliki demonstracyjne dla pakietu jQuery.fancybox
33Group: Development
34Requires: %{name} = %{version}-%{release}
35
36%description demo
37Demonstrations and samples for jQuery.fancybox.
38
39%prep
40%setup -qn jquery.fancybox-%{version}
41
42find '(' -name '*.js' -o -name '*.html' -o -name '*.txt' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
43
44mv fancybox/jquery.fancybox{-%{version},}.css
45mv fancybox/jquery.fancybox{-%{version}.pack,}.js
46mv fancybox/jquery.mousewheel{-3.0.2.pack,}.js
47mv fancybox/jquery.easing{-1.3.pack,}.js
48rm fancybox/jquery.fancybox-%{version}.js
49
50%install
51rm -rf $RPM_BUILD_ROOT
52install -d $RPM_BUILD_ROOT{%{_appdir},%{_examplesdir}/%{name}-%{version}}
53cp -a fancybox $RPM_BUILD_ROOT%{_appdir}
54cp -a example ajax.txt index.html style.css $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%{_appdir}/fancybox
62
63%files demo
64%defattr(644,root,root,755)
65%{_examplesdir}/%{name}-%{version}
This page took 0.049183 seconds and 4 git commands to generate.