]> git.pld-linux.org Git - packages/dokuwiki-tpl-pldusersorg.git/blob - dokuwiki-tpl-pldusersorg.spec
- up to 2009-01-26 rc
[packages/dokuwiki-tpl-pldusersorg.git] / dokuwiki-tpl-pldusersorg.spec
1 %define         tpl     pldusersorg
2 Summary:        PLD-Users.org template for DokuWiki
3 Summary(pl.UTF-8):      Szablon PLD-users.org dla DokuWiki
4 Name:           dokuwiki-tpl-%{tpl}
5 Version:        1.0
6 Release:        1
7 License:        GPL v2
8 Group:          Applications/WWW
9 Source0:        pldusersorg.tar.gz
10 # Source0-md5:  c1cc75f5359b2c05fd71eec9c775163a
11 Source1:        dokuwiki-find-lang.sh
12 URL:            http://pld-users.org
13 BuildRequires:  rpmbuild(macros) >= 1.268
14 Requires:       dokuwiki >= 20070626
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         dokudir         /usr/share/dokuwiki
19 %define         tpldir          %{dokudir}/lib/tpl/%{tpl}
20
21 %description
22 Default PLD-Users.org template.
23
24 %description -l pl.UTF-8
25 Domyślny szablon serwisu PLD-Users.org.
26
27 %prep
28 %setup -q -n %{tpl}
29
30 rm -f LICENSE # GPL v2
31 rm -f *~
32
33 cat > INSTALL <<'EOF'
34 To activate this template add the following to your conf/local.php file:
35 $conf['template'] = '%{tpl}';
36 EOF
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{tpldir}
41 cp -a . $RPM_BUILD_ROOT%{tpldir}
42 rm -f $RPM_BUILD_ROOT%{tpldir}/{INSTALL,README}
43
44 # find locales
45 sh %{SOURCE1} %{name}.lang
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files -f %{name}.lang
51 %defattr(644,root,root,755)
52 %doc INSTALL README
53 %dir %{tpldir}
54 %{tpldir}/*.php
55 %{tpldir}/*.css
56 %{tpldir}/*.html
57 %{tpldir}/script.js
58 %{tpldir}/style.ini
59 %{tpldir}/conf
60 %{tpldir}/images
61 %{tpldir}/sidebars
This page took 0.071 seconds and 3 git commands to generate.