# # Spec File for Package DokuWiki # Summary: A Wiki written in PHP to work without a database Summary(de): Ein in PHP geschriebenes Wiki, das keine Datenbank benutzt Name: DokuWiki Version: 2015.08.10 Release: 1%{?dist} License: GPL-2.0 Group: Productivity/Publishing/Other Distribution: openSUSE Linux Vendor: Andreas Gohr URL: http://www.dokuwiki.org/ Requires: apache2-mod_php5 Requires: php5 >= 5.3 PreReq: coreutils PreReq: apache2 BuildArch: noarch Prefix: /srv/www Prefix: /etc Source: %{name}-%{version}.tar.bz2 Buildroot: %{_tmppath}/%{name}-buildroot %description DokuWiki is a standards compliant, simple to use Wiki, mainly aimed at creating documentation of any kind. It is targeted at developer teams, workgroups and small companies. It has a simple but powerful syntax which makes sure the datafiles remain readable outside the Wiki and eases the creation of structured texts. All data is stored in plain text files - no database is required. Read the DokuWiki Manual to unleash the full power of DokuWiki. Author: ------- Andreas Gohr %description -l de DokuWiki ist ein einfach zu benutzendes Wiki, mit dem vor allem Dokumentation jeder Art erstellt werden soll, und dessen Ausgabeformat den Standards entspricht. Zielguppe sind Entwicklerteams, Arbeitsgruppen und kleine Firmen aller Art. DokuWiki hat eine einfache, aber mächtige Syntax und erleichtert das Erstellen strukturierter Texte. Alle Daten werden in reinen Textdateien abgelegt - eine Datenbank ist nicht erforderlich. Lies das Handbuch von DokuWiki, um seine geballte Kraft freizusetzen. Autor: -------- Andreas Gohr %prep %setup -n %{name} %build %install install -d $RPM_BUILD_ROOT/etc/apache2/conf.d/ install -d $RPM_BUILD_ROOT/etc/DokuWiki/ install -d $RPM_BUILD_ROOT/srv/www/DokuWiki/ cp -a etc/* $RPM_BUILD_ROOT/etc/ cp -a srv/www/* $RPM_BUILD_ROOT/srv/www/ %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-, wwwrun, www) /srv/www/DokuWiki %config /etc/apache2/conf.d/DokuWiki.conf %config /etc/DokuWiki %attr (644, root, root) /etc/apache2/conf.d/DokuWiki.conf %attr (644, wwwrun, www) /etc/DokuWiki/* %attr (754, wwwrun, www) /srv/www/DokuWiki/bin/dwpage.php %attr (754, wwwrun, www) /srv/www/DokuWiki/bin/indexer.php %attr (754, wwwrun, www) /srv/www/DokuWiki/bin/wantedpages.php %attr (754, wwwrun, www) /srv/www/DokuWiki/inc/phpseclib/update.sh %attr (754, wwwrun, www) /srv/www/DokuWiki/lib/scripts/jquery/update.sh %post