]>
Commit | Line | Data |
---|---|---|
02d8a2a4 PG |
1 | %define _style hoverbox |
2 | Summary: Hoverbox css style for Gallery2 | |
3 | Name: gallery-style-%{_style} | |
4 | Version: 1 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: Applications/Publishing | |
8 | Source0: http://sonspring.com/files/%{_style}.zip | |
9 | # Source0-md5: e4ae8d050a8baa3205eca06c82cd0c0d | |
10 | URL: http://sonspring.com/journal/hoverbox-image-gallery | |
11 | BuildRequires: rpmbuild(macros) >= 1.268 | |
12 | BuildRequires: unzip | |
13 | Requires: gallery >= 2.1.0 | |
14 | Requires: webapps | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define _appdir %{_datadir}/gallery | |
19 | ||
20 | %description | |
21 | Super light-weight (8kb) roll-over photo gallery that uses nothing but CSS. | |
22 | ||
23 | %prep | |
24 | %setup -q -n %{_style} | |
25 | ||
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | install -d $RPM_BUILD_ROOT%{_appdir}/%{_style} | |
29 | ||
30 | install css/*.css $RPM_BUILD_ROOT%{_appdir}/%{_style} | |
31 | ||
32 | %clean | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | %files | |
36 | %defattr(644,root,root,755) | |
37 | %dir %{_appdir}/%{_style} | |
38 | %{_appdir}/%{_style}/*.css |