/[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.2 - (show annotations) (download)
Wed Mar 6 20:19:43 2013 UTC (11 years, 3 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-5_4_0-2_el6_sme
Changes since 1.1: +6 -3 lines
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 5.4.0-2.sme
- Fix pre script to make www and apache the same [SME: 7319]

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

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