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

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

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

Revision 1.1 by jpp, Fri Mar 9 19:55:57 2018 UTC Revision 1.5 by jpp, Mon Mar 12 20:10:15 2018 UTC
# Line 1  Line 1 
1  # $Id: smeserver-centos2sme.spec,v 1.10 2017/02/06 17:01:42 unnilennium Exp $  # $Id: smeserver-centos2sme.spec,v 1.4 2018/03/10 17:26:09 jpp Exp $
2  # Authority: unnilennium  # Authority: unnilennium
3  # Name: Jean-Philippe Pialasse  # Name: Jean-Philippe Pialasse
4    
# Line 6  Summary: smeserver-centos2sme Line 6  Summary: smeserver-centos2sme
6  %define name smeserver-centos2sme  %define name smeserver-centos2sme
7  %define version 6.9.1  %define version 6.9.1
8  # version number CentosMajorVersion.SMEmajorVersion.RPMversion  # version number CentosMajorVersion.SMEmajorVersion.RPMversion
9  %define release 1  %define release 5
10  Name: %{name}  Name: %{name}
11  Version: %{version}  Version: %{version}
12  Release: %{release}%{?dist}  Release: %{release}%{?dist}
13  License: GPL  License: GPL
14  Group: Applications/System  Group: Applications/System
15  Source: %{name}-%{version}.tgz  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  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19  BuildArch: noarch  BuildArch: noarch
20  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
21  Requires: smeserver-release >= 8.0  Requires: centos-release >= 6
22  Requires: centos2sme >= 2.6-20  Requires: centos-release < 7
 Requires: e-smith-formmagick >= 1.4.0-12  
23    
24  %description  %description
25  Package to help transform a centos box into a Koozali SME Server.  Package to help transform a centos box into a Koozali SME Server.
# Line 26  Just run /usr/bin/centos2sme ; answer th Line 27  Just run /usr/bin/centos2sme ; answer th
27  Do not use on a machine with user data present or with extra packages already installed.  Do not use on a machine with user data present or with extra packages already installed.
28  %prep  %prep
29  %setup  %setup
30    %patch0 -p1
31    %patch1 -p1
32    
33  %build  %build
34  # /usr/bin/perl createlinks  # /usr/bin/perl createlinks
# Line 34  Do not use on a machine with user data p Line 37  Do not use on a machine with user data p
37  /bin/rm -rf $RPM_BUILD_ROOT  /bin/rm -rf $RPM_BUILD_ROOT
38  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)  (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
39  /bin/rm -f %{name}-%{version}-filelist  /bin/rm -f %{name}-%{version}-filelist
40  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /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  %files -f %{name}-%{version}-filelist
45  %defattr(-,root,root,-)  %defattr(-,root,root,-)
46    
# Line 46  rm -rf $RPM_BUILD_ROOT Line 51  rm -rf $RPM_BUILD_ROOT
51  touch /etc/hosts.deny_ssh  touch /etc/hosts.deny_ssh
52    
53  %changelog  %changelog
54  * Fri Mar 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-1.sme  * 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]  - initial version [SME: 10533]
70    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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