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