1 |
# $Id: smeserver-support.spec,v 1.28 2009/10/26 22:22:07 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 10 |
%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} |
13 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
14 |
Source1: smeserver_logo.jpg |
Source1: smeserver_logo.jpg |
15 |
Source2: smeserver_logo.gif |
Source2: smeserver_logo.gif |
16 |
|
Patch0: smeserver-support.bug5656.patch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildRequires: e-smith-devtools >= 1.7.5 |
BuildRequires: e-smith-devtools >= 1.7.5 |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
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 |
251 |
|
- Fix css validation errors. [SME: 5656] |
252 |
|
|
253 |
* Tue Oct 27 2009 Shad L. Lords <slords@mail.com> 2.2.0-10.sme |
* Tue Oct 27 2009 Shad L. Lords <slords@mail.com> 2.2.0-10.sme |
254 |
- Add support for Polish (pl). [SME: 5434] |
- Add support for Polish (pl). [SME: 5434] |
255 |
- Add support for Thai (th). [SME: 5466] |
- Add support for Thai (th). [SME: 5466] |
884 |
|
|
885 |
%prep |
%prep |
886 |
%setup |
%setup |
887 |
|
%patch0 -p1 |
888 |
cp %{SOURCE1} root/etc/e-smith/web/common |
cp %{SOURCE1} root/etc/e-smith/web/common |
889 |
cp %{SOURCE2} root/etc/e-smith/web/common |
cp %{SOURCE2} root/etc/e-smith/web/common |
890 |
|
|
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) |