]> git.pld-linux.org Git - packages/dokuwiki-tpl-monobook.git/commitdiff
- new
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 7 Sep 2007 09:36:07 +0000 (09:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-tpl-monobook.spec -> 1.1

dokuwiki-tpl-monobook.spec [new file with mode: 0644]

diff --git a/dokuwiki-tpl-monobook.spec b/dokuwiki-tpl-monobook.spec
new file mode 100644 (file)
index 0000000..d0148ca
--- /dev/null
@@ -0,0 +1,48 @@
+%define                _snap   07202007
+%define                _ver    %(echo %{_snap} | sed -e 's,\\(..\\)\\(..\\)\\(....\\),\\3\\1\\2,')
+%define                _tpl    monobook
+Summary:       Monobook template for DokuWiki
+Name:          dokuwiki-tpl-%{_tpl}
+Version:       %{_ver}
+Release:       0.1
+License:       GPL v2
+Group:         Applications/WWW
+Source0:       http://tatewake.com/wiki/_media/projects:monobook-%{_snap}.zip
+# Source0-md5: 69f0dfd21dc921f86be4fd9f8ec9ea4f
+URL:           http://tatewake.com/wiki/projects:monobook_for_dokuwiki
+BuildRequires: rpmbuild(macros) >= 1.268
+Requires:      dokuwiki >= 20070626
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _dokudir        /usr/share/dokuwiki
+%define                _tpldir         %{_dokudir}/lib/tpl/%{_tpl}
+
+%description
+Gives DokuWiki the Wikipedia/Mediawiki look and feel, as well as more
+functionality. Includes discussions without using a plugin and the
+navigation can be edited like a wiki page.
+
+%prep
+%setup -q -n %{_tpl}
+
+rm -f LICENSE # GPL v2
+
+cat > INSTALL <<'EOF'
+To activate this template add the following to your conf/local.php file:
+$conf['template'] = '%{_tpl}';
+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,README}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc INSTALL README
+%{_tpldir}
This page took 0.059127 seconds and 4 git commands to generate.