]> git.pld-linux.org Git - packages/drupal-theme-box_grey_smarty.git/blob - drupal-theme-box_grey_smarty.spec
- fix theme style being available
[packages/drupal-theme-box_grey_smarty.git] / drupal-theme-box_grey_smarty.spec
1 %define         themename box_grey_smarty
2 Summary:        Drupal Theme Box_grey_smarty
3 Name:           drupal-theme-%{themename}
4 Version:        4.6.0
5 Release:        0.5
6 Epoch:          0
7 License:        GPL v2
8 Group:          Applications/WWW
9 Source0:        http://drupal.org/files/projects/%{themename}-%{version}.tar.gz
10 # Source0-md5:  5b6cf02791e36c7a9b97686c270dbd46
11 URL:            http://drupal.org/node/13811
12 Requires:       drupal >= 4.6.0
13 Requires:       drupal-themeengine-smarty >= 4.6.0
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _themedir               %{_datadir}/drupal/themes
18 %define         _themehtmldir   %{_datadir}/drupal/htdocs/themes
19
20 %description
21 A port of the original box_grey theme for the Smarty template engine.
22
23 %prep
24 %setup -q -n %{themename}
25 rm -f LICENSE.txt # GPL v2
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT{%{_themehtmldir},%{_themedir}}/%{themename}
30
31 # box_grey_smarty
32 install *.{css,png}  $RPM_BUILD_ROOT%{_themehtmldir}/%{themename}
33 install *.tpl $RPM_BUILD_ROOT%{_themedir}/%{themename}
34 ln -s ../../htdocs/themes/%{themename}/screenshot.png $RPM_BUILD_ROOT%{_themedir}/%{themename}
35
36 # theme style box_cleanslate_smarty
37 install -d $RPM_BUILD_ROOT{%{_themehtmldir}/%{themename}/box_cleanslate_smarty,%{_themedir}}/%{themename}}
38 install box_cleanslate_smarty/*.{css,png} $RPM_BUILD_ROOT%{_themehtmldir}/%{themename}/box_cleanslate_smarty
39 ln -s ../../htdocs/themes/%{themename}/box_cleanslate_smarty $RPM_BUILD_ROOT%{_themedir}/%{themename}/box_cleanslate_smarty
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc *.txt
47 %{_themedir}/%{themename}
48 %{_themehtmldir}/%{themename}
This page took 0.064577 seconds and 3 git commands to generate.