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

Annotation of /rpms/e-smith/sme8/e-smith-4.2.0.spec

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


Revision 1.2 - (hide annotations) (download)
Wed Feb 27 18:26:14 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove version from spec

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

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