]> git.pld-linux.org Git - packages/drupal-theme-box_grey.git/blob - drupal-theme-box_grey.spec
- tabs in preamble
[packages/drupal-theme-box_grey.git] / drupal-theme-box_grey.spec
1 %define         themename box_grey
2 %define         _ver 4.6
3 Summary:        Drupal Theme Box_grey
4 Summary(pl.UTF-8):      Motyw Box_grey dla Drupala
5 Name:           drupal-theme-%{themename}
6 Version:        %{_ver}.0
7 Release:        0.7
8 License:        GPL v2
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}
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _drupaldir              %{_datadir}/drupal
20 %define         _htdocs                 %{_drupaldir}/htdocs
21 %define         _themedir               %{_drupaldir}/themes
22 %define         _themehtmldir   %{_htdocs}/themes
23
24 %description
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
30 people to change it.
31
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
38 do jego zmiany.
39
40 %prep
41 %setup -q -n %{themename}
42 rm -f LICENSE.txt # GPL v2
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_themehtmldir},%{_themedir}}/%{themename}
47
48 # box_grey
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}
52
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
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc *.txt
64 %{_themedir}/%{themename}
65 %{_themehtmldir}/%{themename}
This page took 0.133013 seconds and 3 git commands to generate.