/[smeserver]/rpms/e-smith/sme7/e-smith.spec
ViewVC logotype

Contents of /rpms/e-smith/sme7/e-smith.spec

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


Revision 1.3 - (show annotations) (download)
Tue Oct 7 16:46:37 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: e-smith-5_0_0-1_el4_sme, HEAD
Changes since 1.2: +6 -3 lines
Remove patches

1 # $Id: e-smith.spec,v 1.2 2008/04/09 13:51:47 slords Exp $
2
3 Summary: e-smith server and gateway
4 Name: e-smith
5 %define version 5.0.0
6 %define release 1
7 Version: %{version}
8 Release: %{release}%{?dist}
9 License: GPL
10 Group: Networking/Daemons
11 Source: %{name}-%{version}.tar.gz
12 #Patch0: %{name}-%{version}.patch.yyyymmddnn
13 BuildArchitectures: noarch
14 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
15 Prereq: /usr/sbin/useradd
16 AutoReqProv: no
17
18 %changelog
19 * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 5.0.0-1.sme
20 - Roll new stream to separate sme7/sme8 trees [SME: 4633]
21
22 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
23 - Clean up spec so package can be built by koji/plague
24
25 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
26 - Update to new release naming. No functional changes.
27 - Make Packager generic
28
29 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 4.2.0-08
30 - Bump release number only
31
32 * Fri Jan 14 2005 Charlie Brady <charlieb@e-smith.com> 4.2.0-07
33 - Re-add user and group creation. [MN00063589]
34
35 * Fri Aug 17 2001 gordonr
36 - [4.2.0-06]
37 - Autorebuild by rebuildRPM
38
39 * Fri Jul 27 2001 Charlie Brady <charlieb@e-smith.com>
40 - [4.2.0-05]
41 - Put defattr directive in the right spot.
42
43 * Fri Jul 6 2001 Peter Samuel <peters@e-smith.com>
44 - [4.2.0-04]
45 - Including GPL license with package
46
47 * Fri May 04 2001 Jason Miller <jmiller@e-smith.com>
48 - [4.2.0-03]
49 - Commenting out the harmful 'useradd' part of %pre section
50
51 * Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com>
52 - [4.2.0-02]
53 - Rolling release number for GPG signing.
54
55 * Thu Jan 25 2001 Peter Samuel <peters@e-smith.com>
56 - [4.2.0-01]
57 - Rolled version to 4.2.0 to indicate a stable release. Includes patches
58 upto 4.1.0-1
59
60 * Wed Dec 6 2000 Adrian Chung <adrianc@e-smith.com>
61 - Branched for 4.1 release to 4.1.0
62
63 * Mon Oct 16 2000 Charlie Brady <charlieb@e-smith.com>
64 - Need to add www user before trying to add admin user to
65 group www.
66
67 * Mon Oct 16 2000 Charlie Brady <charlieb@e-smith.com>
68 - Add %pre clause to add admin, www etc.
69
70 %description
71 e-smith server and gateway software. This is an empty
72 RPM provided so that upgrading e-smith 3.x -> e-smith 4.x
73 can work. Contents are now included in e-smith-base RPM.
74
75 %prep
76 %setup
77 #%patch0 -p1
78
79 %build
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %pre
85 #--------------------------------------------------
86 # add admin, public and www user accounts
87 #--------------------------------------------------
88 /usr/sbin/groupadd \
89 -g 500 shared 2>/dev/null || :
90 /usr/sbin/useradd \
91 -u 102 -c 'e-smith web server' -d /home/e-smith \
92 -G shared -M -s /bin/false www 2>/dev/null || :
93 /usr/sbin/useradd \
94 -u 101 -c 'e-smith administrator' -d /home/e-smith \
95 -G shared,root,www -M -s /sbin/e-smith/console admin 2>/dev/null || :
96 /usr/sbin/useradd \
97 -u 103 -c 'e-smith guest' -d /home/e-smith \
98 -G shared -M -s /bin/false public 2>/dev/null || :
99 /usr/sbin/useradd \
100 -u 1002 -c 'sme log user' -d /var/log/smelog \
101 -M -s /bin/false smelog 2>/dev/null || :
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %files
107 %defattr(-,root,root)
108 %doc COPYING

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