]> git.pld-linux.org Git - packages/gallery-theme-carbon.git/blob - gallery-theme-carbon.spec
- tabs in preamble
[packages/gallery-theme-carbon.git] / gallery-theme-carbon.spec
1 %define         _theme          carbon
2 Summary:        Carbon Theme for Gallery2
3 Summary(pl.UTF-8):      Motyw Carbon dla Gallery2
4 Name:           gallery-theme-%{_theme}
5 Version:        1.1.1
6 Release:        2
7 License:        GPL
8 Group:          Applications/Publishing
9 Source0:        http://www.mincel.com/carbon/g2-theme-%{_theme}-%{version}-blackjack.zip
10 # Source0-md5:  d59db6cb6daecda88617c1bf54ce5898
11 Source1:        %{name}-agfolder.png
12 Patch0:         %{name}-hoverbox.patch
13 Patch1:         %{name}-agfolder.patch
14 URL:            http://www.mincel.com/carbon/
15 BuildRequires:  rpmbuild(macros) >= 1.268
16 BuildRequires:  unzip
17 Requires:       gallery >= 2.1.0
18 Requires:       webapps
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _appdir         %{_datadir}/gallery/themes/%{_theme}
23
24 %description
25 I've developed Carbon theme for personal needs for Gallery 2. It is
26 based on Matrix theme. The theme works well in Firefox and IE6.
27
28 %description -l pl.UTF-8
29 Moduł Carbon dla Gallery 2 powstał na własne potrzeby autora. Jest
30 oparty na motywie Matrix. Działa dobrze pod Firefoksem i IE6.
31
32 %prep
33 %setup -q -n themes
34 %patch0 -p1
35 %patch1 -p1
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT%{_appdir}
40
41 cd %{_theme}
42 cp -R * $RPM_BUILD_ROOT%{_appdir}
43
44 install %{SOURCE1} $RPM_BUILD_ROOT%{_appdir}/images/agfolder.png
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %{_appdir}
This page took 0.055582 seconds and 3 git commands to generate.