/[smecontribs]/rpms/smeserver-centos2sme/contribs9/smeserver-centos2sme.spec
ViewVC logotype

Annotation of /rpms/smeserver-centos2sme/contribs9/smeserver-centos2sme.spec

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


Revision 1.4 - (hide annotations) (download)
Sat Mar 10 17:26:09 2018 UTC (6 years, 2 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-centos2sme-6_9_1-4_el6_sme
Changes since 1.3: +15 -4 lines
* Sat Mar 10 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-4.sme
- fix execution permission on /usr/bin/centos2sme [SME: 10535]
- added warning at the begining of script to check for working network interface
- added warning at end of script to add a SSH key before the reboot
- added full path to signal-event in the last messages
- set path after first packages installation.

1 jpp 1.4 # $Id: smeserver-centos2sme.spec,v 1.3 2018/03/10 04:30:17 jpp Exp $
2 jpp 1.1 # Authority: unnilennium
3     # Name: Jean-Philippe Pialasse
4    
5     Summary: smeserver-centos2sme
6     %define name smeserver-centos2sme
7     %define version 6.9.1
8     # version number CentosMajorVersion.SMEmajorVersion.RPMversion
9 jpp 1.4 %define release 4
10 jpp 1.1 Name: %{name}
11     Version: %{version}
12     Release: %{release}%{?dist}
13     License: GPL
14     Group: Applications/System
15     Source: %{name}-%{version}.tgz
16 jpp 1.4 Patch0: smeserver-centos2sme-6.9.1-bz10535-fix-path.patch
17 jpp 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
18     BuildArch: noarch
19     BuildRequires: e-smith-devtools >= 1.13.1-03
20 jpp 1.3 Requires: centos-release >= 6
21     Requires: centos-release < 7
22 jpp 1.1
23     %description
24     Package to help transform a centos box into a Koozali SME Server.
25     Just run /usr/bin/centos2sme ; answer the few question and sit back while your base install of centos is morphed into a SME Server.
26     Do not use on a machine with user data present or with extra packages already installed.
27     %prep
28     %setup
29 jpp 1.4 %patch0 -p1
30 jpp 1.1
31     %build
32     # /usr/bin/perl createlinks
33    
34     %install
35     /bin/rm -rf $RPM_BUILD_ROOT
36     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
37     /bin/rm -f %{name}-%{version}-filelist
38 jpp 1.4 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
39     --file /usr/bin/centos2sme '%attr(0755,root,root)' \
40     > %{name}-%{version}-filelist
41     cat %{name}-%{version}-filelist
42 jpp 1.1 %files -f %{name}-%{version}-filelist
43     %defattr(-,root,root,-)
44    
45     %clean
46     rm -rf $RPM_BUILD_ROOT
47    
48     %post
49     touch /etc/hosts.deny_ssh
50    
51     %changelog
52 jpp 1.4 * Sat Mar 10 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-4.sme
53     - fix execution permission on /usr/bin/centos2sme [SME: 10535]
54     - added warning at the begining of script to check for working network interface
55     - added warning at end of script to add a SSH key before the reboot
56     - added full path to signal-event in the last messages
57     - set path after first packages installation.
58    
59 jpp 1.3 * Fri Mar 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-3.sme
60     - fix bad dependencies to smeserver release and formagick [SME: 10535]
61     - added requirement for centos-release between 6 and 7.
62    
63 jpp 1.2 * Fri Mar 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-2.sme
64 jpp 1.1 - initial version [SME: 10533]
65    

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