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

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

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


Revision 1.2 - (hide annotations) (download)
Wed Apr 9 13:51:47 2008 UTC (16 years, 6 months ago) by slords
Branch: MAIN
Changes since 1.1: +2 -0 lines
Add Id to top of spec

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

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