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