/[smecontribs]/rpms/smeserver-oats/contribs7/smeserver-oats-2.0.3.spec
ViewVC logotype

Diff of /rpms/smeserver-oats/contribs7/smeserver-oats-2.0.3.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.4 by slords, Tue Dec 25 03:18:30 2007 UTC Revision 1.7 by fetcher, Sun Feb 3 02:11:50 2008 UTC
# Line 2  Summary: oats Time/Project Management Sy Line 2  Summary: oats Time/Project Management Sy
2  %define name smeserver-oats  %define name smeserver-oats
3  Name: %{name}  Name: %{name}
4  %define version 2.0.3  %define version 2.0.3
5  %define release 1  %define release 4
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
8  License: GPL  License: GPL
9  Group: Applications/Internet  Group: Applications/Internet
10  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
11    Patch1: smeserver-oats-2.0.3-db_httpd_templates-01.patch
12    Patch2: smeserver-oats-2.0.3-db_httpd_templates-02.patch
13    Patch3: smeserver-oats-2.0.3-db_template-typo.patch
14  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
15  BuildArchitectures: noarch  BuildArchitectures: noarch
16  Requires: smeserver-release >= 7.0  Requires: smeserver-release >= 7.0
# Line 18  AutoReqProv: no Line 21  AutoReqProv: no
21  on SME Server  on SME Server
22    
23  %changelog  %changelog
24    * Sat Feb 02 2008 Craig D. Jensen <craig.d.jensen@gmail.com>
25    - fix typo in db init template
26    - [2.0.3-4]
27    
28    * Fri Feb 01 2008 Craig D. Jensen <craig.d.jensen@gmail.com>
29    - fix typos and missing '""' quotes in templates.
30    - [2.0.3-3]
31    
32    * Fri Feb 01 2008 Craig D. Jensen <craig.d.jensen@gmail.com>
33    - changes to db, httpd templates and spec to bring up to package
34    - modification guidelines
35    - [2.0.3-2]
36    
37  * Fri Mar 02 2007 Craig D. Jensen <craig.d.jensen@gmail.com>  * Fri Mar 02 2007 Craig D. Jensen <craig.d.jensen@gmail.com>
38  - Name change to reflect SME rpm build naming  - Name change to reflect SME rpm build naming
39  - No fuinctional changes. Added gpg signature-key-> import at:  - No fuinctional changes. Added gpg signature-key-> import at:
# Line 36  on SME Server Line 52  on SME Server
52  %prep  %prep
53    
54  %setup  %setup
55    %patch1 -p1
56    %patch2 -p1
57    %patch3 -p1
58    
59  %build  %build
60  #perl createlinks  #perl createlinks
61  mkdir -p        root/etc/e-smith/db/accounts/defaults/oats  mkdir -p                          root/etc/e-smith/db/accounts/defaults/oats
62  echo "reserved" > root/etc/e-smith/db/accounts/defaults/oats/type  echo "reserved"                 > root/etc/e-smith/db/accounts/defaults/oats/type
63    
64  mkdir -p                root/etc/e-smith/db/configuration/defaults/oats  mkdir -p                          root/etc/e-smith/db/configuration/defaults/oats
65  echo "Time Management" > root/etc/e-smith/db/configuration/defaults/oats/Name  echo "service"                  > root/etc/e-smith/db/configuration/defaults/oats/type
66  echo "global-pw-remote" > root/etc/e-smith/db/configuration/defaults/oats/PublicAccess  echo "Time Management"          > root/etc/e-smith/db/configuration/defaults/oats/Name
67    echo "global-pw-remote"         > root/etc/e-smith/db/configuration/defaults/oats/PublicAccess
68    echo "enabled"                  > root/etc/e-smith/db/configuration/defaults/oats/status
69    echo "oats"                     > root/etc/e-smith/db/configuration/defaults/oats/DbName
70    echo "oats"                     > root/etc/e-smith/db/configuration/defaults/oats/DbUser
71    
72  %install  %install
73  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 68  rm -rf $RPM_BUILD_ROOT Line 91  rm -rf $RPM_BUILD_ROOT
91  /sbin/e-smith/expand-template /etc/e-smith/sql/init/80oats.sql  /sbin/e-smith/expand-template /etc/e-smith/sql/init/80oats.sql
92  /etc/rc.d/init.d/mysql.init start  /etc/rc.d/init.d/mysql.init start
93  /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
94  /usr/local/bin/svc -h /service/httpd-e-smith  /usr/bin/sv -h /service/httpd-e-smith
95  /bin/chown -R www:www /opt/oats  /bin/chown -R www:www /opt/oats
96  /bin/chown www:www /opt/oats/print  /bin/chown www:www /opt/oats/print
97  /bin/chmod 770 /opt/oats/print  /bin/chmod 770 /opt/oats/print
# Line 87  echo "Settings to install: 'config show Line 110  echo "Settings to install: 'config show
110  %postun  %postun
111  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
112      /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf      /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
113      /usr/local/bin/svc -h /service/httpd-e-smith      /usr/bin/sv -h /service/httpd-e-smith
114  fi  fi


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed