--- rpms/smeserver-oats/contribs7/smeserver-oats.spec 2008/02/21 18:36:53 1.1 +++ rpms/smeserver-oats/contribs7/smeserver-oats.spec 2008/02/24 02:41:07 1.2 @@ -2,12 +2,13 @@ Summary: oats Time/Project Management Sy %define name smeserver-oats Name: %{name} %define version 0.0.1 -%define release 1 +%define release 2 Version: %{version} Release: %{release}%{?dist} License: GPL Group: SMEserver/addon Source: %{name}-%{version}.tar.gz +Patch0: smeserver-oats-0.0.1-administrators.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch Requires: smeserver-release >= 7.0 @@ -19,6 +20,11 @@ AutoReqProv: no on SME Server %changelog +* Sat Feb 23 2008 Craig D. Jensen +- Administrators array added to the defaults.php templates. This +- adds the 'admin' link and associated config page to the interface. +- [0.0.1-2] + * Fri Feb 08 2008 Craig D. Jensen - Complete re-write to separate this with the package 'oats' - These two now install as do other SME Contribs. Initial Release. @@ -27,7 +33,7 @@ on SME Server %prep %setup -#%patch0 -p1 +%patch0 -p1 %build #perl createlinks @@ -70,8 +76,6 @@ rm -rf $RPM_BUILD_ROOT /sbin/e-smith/expand-template /opt/oats/config/defaults.php /usr/bin/sv h /service/httpd-e-smith -echo "Settings: 'config show oats'" - %preun %postun @@ -79,5 +83,5 @@ if [ $1 = 0 ] ; then /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf /usr/bin/sv h /service/httpd-e-smith fi -echo "To remove the DB issue 'mysqladmin drop oats' then 'y' to confirm" - +# Not good for yum multi-package installs ;-) so i removed the line below +#echo "To remove the DB issue 'mysqladmin drop oats' then 'y' to confirm"