]> git.pld-linux.org Git - packages/dokuwiki-tpl-minimalmobile.git/commitdiff
- unify AC-branch auto/ac/dokuwiki-tpl-minimalmobile-20070712-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-minimalmobile.spec -> 1.5

dokuwiki-tpl-minimalmobile.spec

index 0ba3aa6a578acf449f5a699c28a1ba765f4262b9..3f935cae61aed0035d47180ae6ca1fc53119e9c1 100644 (file)
@@ -1,7 +1,7 @@
-%define                _tpl    minimalmobile
+%define                tpl     minimalmobile
 Summary:       Minimal Mobile template for DokuWiki
 Summary(pl.UTF-8):     Szablon Minimal Mobile dla DokuWiki
-Name:          dokuwiki-tpl-%{_tpl}
+Name:          dokuwiki-tpl-%{tpl}
 Version:       20070712
 Release:       1
 License:       GPL
@@ -14,8 +14,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
 A very minimal template, with almost no margins, modified from the
@@ -45,8 +45,8 @@ Cechy szablonu:
 %setup -qc
 
 cat > INSTALL <<'EOF'
-To activate this template add the following to your conf/local.php file: 
-$conf['template']    = '%{_tpl}';
+To activate this template add the following to your conf/local.php file:
+$conf['template']    = '%{tpl}';
 
 Get rid of the TOC, that takes a lot of space in mobile screens.
 $conf['toptoclevel'] = 0;  // Level starting with and below to include in AutoTOC (max. 5)
@@ -55,8 +55,8 @@ EOF
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_tpldir}
-cp -a minimalmobile/* $RPM_BUILD_ROOT%{_tpldir}
+install -d $RPM_BUILD_ROOT%{tpldir}
+cp -a minimalmobile/* $RPM_BUILD_ROOT%{tpldir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -64,4 +64,4 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc INSTALL
-%{_tpldir}
+%{tpldir}
This page took 0.051279 seconds and 4 git commands to generate.