/[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.1 - (hide annotations) (download)
Sun Dec 15 22:23:42 2019 UTC (4 years, 11 months ago) by jpp
Branch: MAIN
Initial import

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

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