2 # - use system lib/HTMLSax3
4 Summary: Small, lightweight, handy, expandable Wiki-clone
5 Summary(pl.UTF-8): Mały, lekki, poręczny, rozszerzalny klon Wiki
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
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _appdir %{_datadir}/%{name}
19 %define _webapps /etc/webapps
20 %define _webapp %{name}
21 %define _sysconfdir %{_webapps}/%{_webapp}
24 Small, lightweight, handy, expandable Wiki-clone written in PHP4.
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
30 %description -l pl.UTF-8
31 Mały, lekki, poręczny, rozszerzalny klon Wiki napisany w PHP4.
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
38 %setup -q -n %{name}.r%{version}
39 find . -type f -print0 | xargs -0 sed -i -e 's,\r$,,'
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}
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %lang(ru) %doc readme.rus