/[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.1 - (hide annotations) (download)
Fri Mar 9 19:55:57 2018 UTC (6 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-centos2sme-6_9_1-1_el6_sme
* Fri Mar 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-1.sme
- initial version [SME: 10533]

1 jpp 1.1 # $Id: smeserver-centos2sme.spec,v 1.10 2017/02/06 17:01:42 unnilennium 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 1
10     Name: %{name}
11     Version: %{version}
12     Release: %{release}%{?dist}
13     License: GPL
14     Group: Applications/System
15     Source: %{name}-%{version}.tgz
16     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
17     BuildArch: noarch
18     BuildRequires: e-smith-devtools >= 1.13.1-03
19     Requires: smeserver-release >= 8.0
20     Requires: centos2sme >= 2.6-20
21     Requires: e-smith-formmagick >= 1.4.0-12
22    
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    
30     %build
31     # /usr/bin/perl createlinks
32    
33     %install
34     /bin/rm -rf $RPM_BUILD_ROOT
35     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
36     /bin/rm -f %{name}-%{version}-filelist
37     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
38    
39     %files -f %{name}-%{version}-filelist
40     %defattr(-,root,root,-)
41    
42     %clean
43     rm -rf $RPM_BUILD_ROOT
44    
45     %post
46     touch /etc/hosts.deny_ssh
47    
48     %changelog
49     * Fri Mar 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-1.sme
50     - initial version [SME: 10533]
51    

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