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

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

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


Revision 1.1 - (show annotations) (download)
Fri Jan 25 17:18:00 2013 UTC (11 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-5_4_0-1_el6_sme
Initial import

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

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