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}
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
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define dokudir /usr/share/dokuwiki
19 %define tpldir %{dokudir}/lib/tpl/%{tpl}
22 Default PLD-Users.org template.
24 %description -l pl.UTF-8
25 Domyślny szablon serwisu PLD-Users.org.
30 rm -f LICENSE # GPL v2
34 To activate this template add the following to your conf/local.php file:
35 $conf['template'] = '%{tpl}';
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}
45 sh %{SOURCE1} %{name}.lang
48 rm -rf $RPM_BUILD_ROOT
50 %files -f %{name}.lang
51 %defattr(644,root,root,755)