]>
Commit | Line | Data |
---|---|---|
645b7d04 PG |
1 | %define _theme carbon |
2 | Summary: Carbon Theme for Gallery2 | |
3 | Name: gallery-theme-%{_theme} | |
4 | Version: 1.1.1 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: Applications/Publishing | |
8 | Source0: http://www.mincel.com/carbon/g2-theme-%{_theme}-%{version}-blackjack.zip | |
9 | # Source0-md5: d59db6cb6daecda88617c1bf54ce5898 | |
10 | URL: http://www.mincel.com/carbon/ | |
11 | BuildRequires: rpmbuild(macros) >= 1.268 | |
12 | BuildRequires: unzip | |
13 | Requires: gallery >= 2.1.0 | |
645b7d04 PG |
14 | Requires: webapps |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define _appdir %{_datadir}/gallery/themes/%{_theme} | |
19 | ||
20 | %description | |
21 | I've developed Carbon theme for personal needs for Gallery 2. It is based on Matrix theme. The theme works well in Firefox and IE6. | |
22 | ||
23 | %prep | |
24 | %setup -q -n themes | |
25 | ||
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | install -d $RPM_BUILD_ROOT%{_appdir} | |
29 | ||
30 | cd %{_theme} | |
31 | cp -R * $RPM_BUILD_ROOT%{_appdir} | |
32 | ||
33 | %clean | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | %files | |
37 | %defattr(644,root,root,755) | |
38 | %dir %{_appdir} | |
39 | %{_appdir} |