SPECS: wacko.spec (NEW) - new, will finish later

glen glen at pld-linux.org
Mon Feb 20 13:08:32 CET 2006


Author: glen                         Date: Mon Feb 20 12:08:32 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, will finish later

---- Files affected:
SPECS:
   wacko.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/wacko.spec
diff -u /dev/null SPECS/wacko.spec:1.1
--- /dev/null	Mon Feb 20 13:08:32 2006
+++ SPECS/wacko.spec	Mon Feb 20 13:08:25 2006
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+# TODO
+# - use system lib/HTMLSax3
+# - WAKKA_CONFIG
+Summary:	Small, lightweight, handy, expandable Wiki-clone
+Name:		wacko
+Version:	4.2
+Release:	0.1
+License:	BSD
+Group:		Applications/WWW
+Source0:	http://wackowiki.com/files/%{name}.r%{version}.tar.gz
+# Source0-md5:	589eef29697be4f04635f1742ab2040d
+URL:		http://wackowiki.com/WackoWiki
+BuildRequires:	sed >= 4.0
+Requires:	webapps
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_appdir		%{_datadir}/%{name}
+%define		_webapps	/etc/webapps
+%define		_webapp		%{name}
+%define		_sysconfdir	%{_webapps}/%{_webapp}
+
+%description
+Small, lightweight, handy, expandable Wiki-clone written in PHP4.
+
+This code was forked from WakkaWiki 0.1.2, with some patches from ChS,
+wikini.net, some new actions from WakkaWiki.de and essential amount of
+our own sourcecode.
+
+%prep
+%setup -q -n %{name}.r%{version}
+find . -type f -print0 | xargs -0 sed -i -e 's,\r$,,'
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
+cp -a *.php $RPM_BUILD_ROOT%{_appdir}
+cp -a *.conf $RPM_BUILD_ROOT%{_appdir}
+cp -a _cache actions classes db files formatters handlers images js lang lib setup themes xml $RPM_BUILD_ROOT%{_appdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README docs/*
+%lang(ru) %doc readme.rus
+%{_appdir}
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/02/20 12:08:25  glen
+- new, will finish later
+
================================================================


More information about the pld-cvs-commit mailing list