]> git.pld-linux.org Git - packages/dokuwiki-tpl-multitemplate.git/commitdiff
- unify auto/ti/dokuwiki-tpl-multitemplate-20070102-1
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 8 May 2008 12:12:22 +0000 (12:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-tpl-multitemplate.spec -> 1.7

dokuwiki-tpl-multitemplate.spec

index 26f063aff6a06d73bc2745c99a08bc749490ff33..82d73ec997e9145d964c7d2ef37a65d28d3d8a93 100644 (file)
@@ -1,6 +1,6 @@
 %define                _snap   01022007
 %define                _ver    %(echo %{_snap} | sed -e 's,\\(..\\)\\(..\\)\\(....\\),\\3\\1\\2,')
-%define                _tpl    multitemplate
+%define                tpl     multitemplate
 Summary:       Multitemplate for DokuWiki
 Summary(pl.UTF-8):     Wielokrotne szablony dla DokuWiki
 Name:          dokuwiki-tpl-multitemplate
@@ -15,8 +15,8 @@ Requires:     dokuwiki
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _dokudir        /usr/share/dokuwiki
-%define                _tpldir         %{_dokudir}/lib/tpl/%{_tpl}
+%define                dokudir         /usr/share/dokuwiki
+%define                tpldir          %{dokudir}/lib/tpl/%{tpl}
 
 %description
 This template allows you to use any templates you wish for any
@@ -27,12 +27,12 @@ Ten szablon pozwala na używanie dowolnie wybranych szablonów dla
 dowolnej przestrzeni nazw (lub strony).
 
 %prep
-%setup -q -n %{_tpl}
+%setup -q -n %{tpl}
 
 cat > INSTALL <<'EOF'
 To activate this template add something like this to your conf/local.php file:
 
-$conf['template'] = '%{_tpl}';
+$conf['template'] = '%{tpl}';
 
 and configure defaults:
 $multitemplate['playground'] = 'default';
@@ -42,9 +42,9 @@ EOF
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_tpldir}
-cp -a . $RPM_BUILD_ROOT%{_tpldir}
-rm -f $RPM_BUILD_ROOT%{_tpldir}/INSTALL
+install -d $RPM_BUILD_ROOT%{tpldir}
+cp -a . $RPM_BUILD_ROOT%{tpldir}
+rm -f $RPM_BUILD_ROOT%{tpldir}/INSTALL
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -52,4 +52,4 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc INSTALL
-%{_tpldir}
+%{tpldir}
This page took 0.068409 seconds and 4 git commands to generate.