1 |
# $Id: smeserver-support.spec,v 1.29 2009/10/27 18:14:57 slords Exp $ |
# $Id: smeserver-support.spec,v 1.30 2009/12/09 20:27:12 charliebrady 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 11 |
%define release 12 |
|
|
|
|
# These packages come from CentOS, but wee need to use care when |
|
|
# updating them - either we've patched them, or we need to do something |
|
|
# prior to taking the update |
|
|
|
|
|
# TODO: check mkinitrd,mdadm to see if needed |
|
|
%define centos_excludes initscripts |
|
8 |
|
|
9 |
Version: %{version} |
Version: %{version} |
10 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
244 |
Obsoletes: rkhunter <= 1.3.4-7.el5.sme |
Obsoletes: rkhunter <= 1.3.4-7.el5.sme |
245 |
|
|
246 |
%changelog |
%changelog |
247 |
|
* Mon May 17 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-12.sme |
248 |
|
- Migrate CentOS Exclude property default values to smeserver-yum [SME: 5962] |
249 |
|
|
250 |
* Wed Dec 9 2009 Charlie Brady <charlieb@budge.apana.org.au> 2.2.0-11.sme |
* Wed Dec 9 2009 Charlie Brady <charlieb@budge.apana.org.au> 2.2.0-11.sme |
251 |
- Fix css validation errors. [SME: 5656] |
- Fix css validation errors. [SME: 5656] |
252 |
|
|
893 |
|
|
894 |
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 |
895 |
|
|
|
YUM_REPOS=root/etc/e-smith/db/yum_repositories/ |
|
|
for dir in base updates |
|
|
do |
|
|
mkdir -p $YUM_REPOS/defaults/$dir |
|
|
echo %{centos_excludes} > $YUM_REPOS/defaults/$dir/Exclude |
|
|
done |
|
|
|
|
896 |
%install |
%install |
897 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
898 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |