]> git.pld-linux.org Git - SPECS.git/blob - wacko.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / wacko.spec
1 # TODO
2 # - use system lib/HTMLSax3
3 # - WAKKA_CONFIG
4 Summary:        Small, lightweight, handy, expandable Wiki-clone
5 Summary(pl.UTF-8):      Mały, lekki, poręczny, rozszerzalny klon Wiki
6 Name:           wacko
7 Version:        4.2
8 Release:        0.1
9 License:        BSD
10 Group:          Applications/WWW
11 Source0:        http://wackowiki.com/files/%{name}.r%{version}.tar.gz
12 # Source0-md5:  589eef29697be4f04635f1742ab2040d
13 URL:            http://wackowiki.com/WackoWiki
14 BuildRequires:  sed >= 4.0
15 Requires:       webapps
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _appdir         %{_datadir}/%{name}
19 %define         _webapps        /etc/webapps
20 %define         _webapp         %{name}
21 %define         _sysconfdir     %{_webapps}/%{_webapp}
22
23 %description
24 Small, lightweight, handy, expandable Wiki-clone written in PHP4.
25
26 This code was forked from WakkaWiki 0.1.2, with some patches from ChS,
27 wikini.net, some new actions from WakkaWiki.de and essential amount of
28 our own sourcecode.
29
30 %description -l pl.UTF-8
31 Mały, lekki, poręczny, rozszerzalny klon Wiki napisany w PHP4.
32
33 Ten kod wywodzi się z WakkaWiki 0.1.2 z pewną liczbą łat z ChS,
34 wikini.net, nowymi akcjami z WakkaWiki.de i znaczącą ilością własnego
35 kodu źródłowego.
36
37 %prep
38 %setup -q -n %{name}.r%{version}
39 find . -type f -print0 | xargs -0 sed -i -e 's,\r$,,'
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
44 cp -a *.php $RPM_BUILD_ROOT%{_appdir}
45 cp -a *.conf $RPM_BUILD_ROOT%{_appdir}
46 cp -a _cache actions classes db files formatters handlers images js lang lib setup themes xml $RPM_BUILD_ROOT%{_appdir}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc README docs/*
54 %lang(ru) %doc readme.rus
55 %{_appdir}
This page took 0.092592 seconds and 3 git commands to generate.