1 %define _snap 2008-07-30
2 %define _ver %(echo %{_snap} | tr -d -)
4 Summary: Monobook template for DokuWiki
5 Summary(pl.UTF-8): Szablon Monobook dla DokuWiki
6 Name: dokuwiki-tpl-%{tpl}
10 Group: Applications/WWW
11 Source0: http://tatewake.com/wiki/_media/projects:monobook-%{_snap}.tar.bz2
12 # Source0-md5: 35608ad64b14c0ac2f61c0477609e3ab
13 Source1: dokuwiki-find-lang.sh
14 URL: http://tatewake.com/wiki/projects:monobook_for_dokuwiki
15 BuildRequires: rpmbuild(macros) >= 1.268
16 Requires: dokuwiki >= 20080505
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define dokudir /usr/share/dokuwiki
21 %define tpldir %{dokudir}/lib/tpl/%{tpl}
24 Gives DokuWiki the Wikipedia/Mediawiki look and feel, as well as more
25 functionality. Includes discussions without using a plugin and the
26 navigation can be edited like a wiki page.
28 %description -l pl.UTF-8
29 Ten szablon nadaje DokuWiki wygląd i zachowanie Wikipedii/Mediawiki, a
30 także trochę większą funkcjonalność. Zawiera dyskusje bez użycia
31 osobnej wtyczki, a nawigację można modyfikować podobnie jak stronę
37 rm -f LICENSE # GPL v2
40 To activate this template add the following to your conf/local.php file:
41 $conf['template'] = '%{tpl}';
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{tpldir}
47 cp -a . $RPM_BUILD_ROOT%{tpldir}
48 rm -f $RPM_BUILD_ROOT%{tpldir}/{INSTALL,README}
51 sh %{SOURCE1} %{name}.lang
54 rm -rf $RPM_BUILD_ROOT
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
67 # TODO: lang dirs inside. check if these can be also rpm lang tagged