Author: glen                         Date: Tue Jun 20 21:13:28 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- down to 2006-03-17
- updated deps, added mysql grant script

---- Files affected:
SPECS:
   cowiki.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/cowiki.spec
diff -u SPECS/cowiki.spec:1.13 SPECS/cowiki.spec:1.14
--- SPECS/cowiki.spec:1.13      Mon Apr 17 19:50:54 2006
+++ SPECS/cowiki.spec   Tue Jun 20 23:13:22 2006
@@ -1,26 +1,29 @@
 # $Revision$, $Date$
 # TODO
 #  - lighttpd integration possible <http://wiki.lighttpd.net/33.html>.
+#  - theoretically mysql,mysqli,pgsql,sqlite connectors are possible.
 
-%define _snap 2006-04-17
-%define _rel 0.1
+%define _snap 2006-03-17
+%define _rel 0.5
 Summary:       Web collaboration tool
 Summary(pl):   Narzędzie do współpracy i współtworzenia w sieci
 Name:          cowiki
 Version:       0.4.0
-Release:       %{?_snap:0.%(echo %{_snap} | tr -d -).}%{_rel}
+Release:       %{?_snap:1.%(echo %{_snap} | tr -d -).}%{_rel}
 License:       GPL
 Group:         Applications/WWW
 Source0:       
http://snaps.cowiki.org/%{name}-%{version}-interim-%{_snap}.tar.gz
-# Source0-md5: 476a1a369fb3f42b90dce09c032ee6a8
+# Source0-md5: 2aaf6115460ca1674d6de381f07a4e68
 Source1:       %{name}.conf
 Patch0:                %{name}-FHS.patch
 Patch1:                %{name}-config.patch
 URL:           http://www.cowiki.org/
 BuildRequires: rpmbuild(macros) >= 1.268
+Requires:      apache(mod_dir)
 Requires:      php >= 4:5.0.2
 Requires:      php-dom
-Requires:      php-mysql
+Requires:      php-mysqli
+Requires:      php-pcre
 Requires:      webapps
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -72,6 +75,12 @@
 mv htdocs/.htaccess .
 rm htdocs/setup/LICENSE # GPL
 
+cat <<'EOF' > misc/database/mysql-grant.sql
+# this schema will grant MySQL database access
+GRANT SELECT, INSERT, UPDATE, DELETE ON cowiki.* TO 'cowiki'@'localhost' 
IDENTIFIED BY 'password
+';
+EOF
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_appdir},%{_sysconfdir},/var/cache/%{name}}
@@ -210,6 +219,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2006/06/20 21:13:22  glen
+- down to 2006-03-17
+- updated deps, added mysql grant script
+
 Revision 1.13  2006/04/17 17:50:54  glen
 - 2006-04-17
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cowiki.spec?r1=1.13&r2=1.14&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to