]> git.pld-linux.org Git - packages/dokuwiki-tpl-multitemplate.git/blame - dokuwiki-tpl-multitemplate.spec
- use sed
[packages/dokuwiki-tpl-multitemplate.git] / dokuwiki-tpl-multitemplate.spec
CommitLineData
bab45cd2 1%define _snap 01022007
1148f21d 2%define _ver %(echo %{_snap} | sed -e 's,\\(..\\)\\(..\\)\\(....\\),\\3\\1\\2,')
bab45cd2
ER
3Summary: Multitemplate for DokuWiki
4Name: dokuwiki-tpl-multitemplate
5Version: %{_ver}
1148f21d 6Release: 0.2
bab45cd2
ER
7License: GPL v2
8Group: Applications/WWW
9Source0: http://tatewake.com/wiki/_media/projects:multitemplate-%{_snap}.zip
10# Source0-md5: b1d36f8b69439c8e0c67703fa0425238
11URL: http://tatewake.com/wiki/projects:multitemplate_for_dokuwiki
12Requires: dokuwiki
13BuildArch: noarch
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%define _dokudir /usr/share/dokuwiki
17%define _tpldir %{_dokudir}/lib/tpl/%{_tpl}
18%define _tpl multitemplate
19
20%description
21This template allows you to use any templates you wish for any
22namespace (or page) you wish.
23
24%prep
25%setup -q -n %{_tpl}
26
27%install
28rm -rf $RPM_BUILD_ROOT
29install -d $RPM_BUILD_ROOT%{_tpldir}
30cp -a . $RPM_BUILD_ROOT%{_tpldir}
31
32%clean
33rm -rf $RPM_BUILD_ROOT
34
35%files
36%defattr(644,root,root,755)
37%{_tpldir}
This page took 0.092611 seconds and 4 git commands to generate.