]> git.pld-linux.org Git - packages/dokuwiki-plugin-backuptool.git/blob - dokuwiki-plugin-backuptool.spec
- initial
[packages/dokuwiki-plugin-backuptool.git] / dokuwiki-plugin-backuptool.spec
1 %define         _plugin         backuptool
2 Summary:        DokuWiki Backup Tool Plugin
3 Summary(pl.UTF-8):      Wtyczka Backup Tool dla DokuWiki
4 Name:           dokuwiki-plugin-%{_plugin}
5 Version:        20070405
6 Release:        0.1
7 License:        GPL v2
8 Group:          Applications/WWW
9 Source0:        http://tatewake.com/wiki/_media/projects:backuptool-04052007.zip
10 # Source0-md5:  b2c33a5243b7d46705e4720012f05f34
11 Source1:        dokuwiki-find-lang.sh
12 URL:            http://tatewake.com/wiki/projects:backuptool_for_dokuwiki
13 Requires:       dokuwiki >= 20061106
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _dokudir        /usr/share/dokuwiki
18 %define         _plugindir      %{_dokudir}/lib/plugins/%{_plugin}
19
20 %description
21 This is a plugin for DokuWiki which enables you to backup the most
22 important parts of your site; this includes all of your pages, all old
23 revisions, meta data, subscriptions, media files (your downloads), as
24 well as your plugins and templates.
25
26 This is in case, for some odd reason, your host accidentally loses all
27 your files; its happened to me personally twice, on two different
28 hosts since I began using DokuWiki– and backing up manually can be
29 quite a nightmare.
30
31 %description -l pl.UTF-8
32 Jest to plugin dla DokuWiki, który pozwala na archiwizacje
33 najważniejszych danych ze strony.
34
35 %prep
36 %setup -q -n backup
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{_plugindir}
41 cp -a . $RPM_BUILD_ROOT%{_plugindir}
42
43 # find locales
44 sh %{SOURCE1} %{name}.lang
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files -f %{name}.lang
50 %defattr(644,root,root,755)
51 %dir %{_plugindir}
52 %{_plugindir}/*.php
This page took 0.096859 seconds and 4 git commands to generate.