1 %define themename box_grey
3 Summary: Drupal Theme Box_grey
4 Summary(pl.UTF-8): Motyw Box_grey dla Drupala
5 Name: drupal-theme-%{themename}
9 Group: Applications/WWW
10 Source0: http://drupal.org/files/projects/%{themename}-%{version}.tar.gz
11 # Source0-md5: 26ba07cd642dcf917eca0bbfe331ea7d
12 URL: http://drupal.org/node/11624
13 Requires: drupal >= %{_ver}
14 Requires: drupal-themeengine-phptemplate >= %{_ver}
15 Provides: drupal(theme) = %{_ver}
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _drupaldir %{_datadir}/drupal
20 %define _htdocs %{_drupaldir}/htdocs
21 %define _themedir %{_drupaldir}/themes
22 %define _themehtmldir %{_htdocs}/themes
25 Box_grey is intended to be relatively easy to modify for those that
26 aren't competent in css positioning, but can manage css colours,
27 backgrounds and borders (or are at least willing to try). It's
28 designed to be fairly robust with different sizes of content and
29 lastly has a neutral grey colour scheme which will hopefully encourage
32 %description -l pl.UTF-8
33 Box_grey ma być stosunkowo łatwy do modyfikowania dla tych, którzy nie
34 są kompetentni w pozycjonowaniu css, ale mogą zarządzać kolorami,
35 tłami i obramowaniami css (albo przynajmniej chcą spróbować). Jest
36 zaprojektowany tak, aby być stosunkowo bogaty w różne rozmiary treści
37 i ostatecznie mieć neutralny szary schemat kolorów, zachęcający ludzi
41 %setup -q -n %{themename}
42 rm -f LICENSE.txt # GPL v2
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_themehtmldir},%{_themedir}}/%{themename}
49 install *.{css,png} $RPM_BUILD_ROOT%{_themehtmldir}/%{themename}
50 install *.tpl.php $RPM_BUILD_ROOT%{_themedir}/%{themename}
51 ln -s ../../htdocs/themes/%{themename}/screenshot.png $RPM_BUILD_ROOT%{_themedir}/%{themename}
53 # theme style box_cleanslate
54 install -d $RPM_BUILD_ROOT{%{_themehtmldir}/%{themename}/box_cleanslate,%{_themedir}}/%{themename}}
55 install box_cleanslate/*.{css,png} $RPM_BUILD_ROOT%{_themehtmldir}/%{themename}/box_cleanslate
56 ln -s ../../htdocs/themes/%{themename}/box_cleanslate $RPM_BUILD_ROOT%{_themedir}/%{themename}/box_cleanslate
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
64 %{_themedir}/%{themename}
65 %{_themehtmldir}/%{themename}