/[smecontribs]/rpms/oats/contribs7/oats.spec
ViewVC logotype

Contents of /rpms/oats/contribs7/oats.spec

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


Revision 1.2 - (show annotations) (download)
Wed Feb 27 05:11:43 2008 UTC (16 years, 9 months ago) by fetcher
Branch: MAIN
CVS Tags: oats-2_0_3-2_el4_sme
Changes since 1.1: +8 -2 lines
* Tue Feb 26 2008 Craig D. Jensen <craig.d.jensen@gmail.com>
- Added ghostscript, html2ps as requires to provide pdf and text output
- of timecards by default
- [2.0.3-2]

1 %define name oats
2 Summary: OATS is an Online Automated Timecard System
3 Name: %{name}
4 %define version 2.0.3
5 %define release 2
6 Version: %{version}
7 Release: %{release}%{?dist}
8 License: GNU GPL
9 URL: http://www.rustyparts.com/oats.php
10 Group: SMEserver/addon
11 Source: %{name}-%{version}.tar.gz
12 BuildArchitectures: noarch
13 BuildRequires: e-smith-devtools
14 BuildRoot: /var/tmp/%{name}-%{version}
15 Requires: e-smith-release >= 7.0, ghostscript, html2ps
16 AutoReqProv: no
17
18 %description
19 O.A.T.S is an online automated timecard system
20 A free, Open Source software package designed using sound pedagogical principles,
21 to help educators create effective online learning communities.
22
23 %changelog
24 * Tue Feb 26 2008 Craig D. Jensen <craig.d.jensen@gmail.com>
25 - Added ghostscript, html2ps as requires to provide pdf and text output
26 - of timecards by default
27 - [2.0.3-2]
28
29 * Wed Feb 06 2008 Craig Jensen <craig.d.jensen@gmail.com>
30 - initial release
31 - [2.0.3-1]
32
33 %prep
34 %setup -c -n %{name}
35 %build
36 #drop in an unchanged .tgz, if required rename directory here, eg remove version number.
37 mkdir -p root/opt
38 mv %{name} root/opt
39 touch root/opt/oats/.htaccess
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
44 rm -f %{name}-%{version}-filelist
45 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
46 --dir '/opt/oats/print' 'attr(770,www,www)' \
47 --dir 'opt/oats/config' 'attr(0440,root,www)' \
48 > %{name}-%{version}-filelist
49
50 %clean
51 cd ..
52 rm -rf %{name}
53
54 %pre
55 %preun
56 %post
57 /bin/chown -R www.www /opt/oats/*.php
58
59 %postun
60
61 %files -f %{name}-%{version}-filelist
62 %defattr(-,root,root)

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