1 |
|
# $Id$ |
2 |
|
# Authority: fetcher |
3 |
|
# Name: Craig D. Jensen |
4 |
|
|
5 |
Summary: oats Time/Project Management System for SME Server |
Summary: oats Time/Project Management System for SME Server |
6 |
%define name smeserver-oats |
%define name smeserver-oats |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.0.1 |
%define version 0.0.1 |
9 |
%define release 1 |
%define release 2 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: SMEserver/addon |
Group: SMEserver/addon |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
|
Patch0: smeserver-oats-0.0.1-administrators.patch |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
Requires: smeserver-release >= 7.0 |
Requires: smeserver-release >= 7.0 |
24 |
on SME Server |
on SME Server |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Sat Feb 23 2008 Craig D. Jensen <craig.d.jensen@gmail.com> |
28 |
|
- Administrators array added to the defaults.php templates. This |
29 |
|
- adds the 'admin' link and associated config page to the interface. |
30 |
|
- [0.0.1-2] |
31 |
|
|
32 |
* Fri Feb 08 2008 Craig D. Jensen <craig.d.jensen@gmail.com> |
* Fri Feb 08 2008 Craig D. Jensen <craig.d.jensen@gmail.com> |
33 |
- Complete re-write to separate this with the package 'oats' |
- Complete re-write to separate this with the package 'oats' |
34 |
- These two now install as do other SME Contribs. Initial Release. |
- These two now install as do other SME Contribs. Initial Release. |
37 |
%prep |
%prep |
38 |
|
|
39 |
%setup |
%setup |
40 |
#%patch0 -p1 |
%patch0 -p1 |
41 |
|
|
42 |
%build |
%build |
43 |
#perl createlinks |
#perl createlinks |
80 |
/sbin/e-smith/expand-template /opt/oats/config/defaults.php |
/sbin/e-smith/expand-template /opt/oats/config/defaults.php |
81 |
/usr/bin/sv h /service/httpd-e-smith |
/usr/bin/sv h /service/httpd-e-smith |
82 |
|
|
|
echo "Settings: 'config show oats'" |
|
|
|
|
83 |
%preun |
%preun |
84 |
|
|
85 |
%postun |
%postun |
87 |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
88 |
/usr/bin/sv h /service/httpd-e-smith |
/usr/bin/sv h /service/httpd-e-smith |
89 |
fi |
fi |
90 |
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 |
91 |
|
#echo "To remove the DB issue 'mysqladmin drop oats' then 'y' to confirm" |