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

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

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


Revision 1.2 - (hide annotations) (download)
Sun Dec 15 22:35:25 2019 UTC (4 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-centos2sme-6_9_1-6_el7_sme
Changes since 1.1: +7 -2 lines
* Sun Dec 15 2019 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-6.sme
- first build for SME10

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

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