1 |
# $Id: smeserver-support.spec,v 1.30 2009/12/09 20:27:12 charliebrady Exp $ |
# $Id: smeserver-support.spec,v 1.31 2010/05/17 18:45:54 snetram Exp $ |
2 |
|
|
3 |
Summary: SME Server module to display support and licensing information |
Summary: SME Server module to display support and licensing information |
4 |
%define name smeserver-support |
%define name smeserver-support |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.2.0 |
%define version 2.2.0 |
7 |
%define release 12 |
%define release 13 |
8 |
|
|
9 |
|
# These packages come from CentOS, but wee need to use care when |
10 |
|
# updating them - either we've patched them, or we need to do something |
11 |
|
# prior to taking the update |
12 |
|
|
13 |
|
# TODO: check mkinitrd,mdadm to see if needed |
14 |
|
%define centos_excludes initscripts |
15 |
|
|
16 |
Version: %{version} |
Version: %{version} |
17 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
251 |
Obsoletes: rkhunter <= 1.3.4-7.el5.sme |
Obsoletes: rkhunter <= 1.3.4-7.el5.sme |
252 |
|
|
253 |
%changelog |
%changelog |
254 |
|
* Mon May 17 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-13.sme |
255 |
|
- Reverting previous change [SME: 5962] |
256 |
|
|
257 |
* Mon May 17 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-12.sme |
* Mon May 17 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-12.sme |
258 |
- Migrate CentOS Exclude property default values to smeserver-yum [SME: 5962] |
- Migrate CentOS Exclude property default values to smeserver-yum [SME: 5962] |
259 |
|
|
903 |
|
|
904 |
ln -s initial.cgi root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/index.cgi |
ln -s initial.cgi root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/index.cgi |
905 |
|
|
906 |
|
YUM_REPOS=root/etc/e-smith/db/yum_repositories/ |
907 |
|
for dir in base updates |
908 |
|
do |
909 |
|
mkdir -p $YUM_REPOS/defaults/$dir |
910 |
|
echo %{centos_excludes} > $YUM_REPOS/defaults/$dir/Exclude |
911 |
|
done |
912 |
|
|
913 |
%install |
%install |
914 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
915 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |