1 |
# $Id: smeserver-support.spec,v 1.26 2009/08/03 17:23:28 bytegw 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 8 |
%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 |
46 |
|
|
47 |
# Remove packages no longer needed or provided in COS5 |
# Remove packages no longer needed or provided in COS5 |
48 |
Obsoletes: comps |
Obsoletes: comps |
49 |
|
Obsoletes: fonts-xorg-base |
50 |
Obsoletes: pine |
Obsoletes: pine |
51 |
Obsoletes: system-config-keyboard |
Obsoletes: system-config-keyboard |
52 |
Obsoletes: system-config-mouse |
Obsoletes: system-config-mouse |
112 |
Requires: smeserver-locale-ja |
Requires: smeserver-locale-ja |
113 |
Requires: smeserver-locale-nb |
Requires: smeserver-locale-nb |
114 |
Requires: smeserver-locale-nl |
Requires: smeserver-locale-nl |
115 |
|
Requires: smeserver-locale-pl |
116 |
Requires: smeserver-locale-pt |
Requires: smeserver-locale-pt |
117 |
Requires: smeserver-locale-pt_BR |
Requires: smeserver-locale-pt_BR |
118 |
Requires: smeserver-locale-ro |
Requires: smeserver-locale-ro |
119 |
Requires: smeserver-locale-ru |
Requires: smeserver-locale-ru |
120 |
Requires: smeserver-locale-sl |
Requires: smeserver-locale-sl |
121 |
Requires: smeserver-locale-sv |
Requires: smeserver-locale-sv |
122 |
|
Requires: smeserver-locale-th |
123 |
Requires: smeserver-locale-tr |
Requires: smeserver-locale-tr |
124 |
Requires: smeserver-locale-zh_CN |
Requires: smeserver-locale-zh_CN |
125 |
|
|
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 |
254 |
|
- Add support for Polish (pl). [SME: 5434] |
255 |
|
- Add support for Thai (th). [SME: 5466] |
256 |
|
|
257 |
|
* Mon Oct 26 2009 Shad L. Lords <slords@mail.com> 2.2.0-9.sme |
258 |
|
- obsoletes fonts-xorg-base to prevent dragging in unneeded |
259 |
|
packages [SME: 5535] |
260 |
|
|
261 |
* Mon Oct 26 2009 Shad L. Lords <slords@mail.com> 2.2.0-8.sme |
* Mon Oct 26 2009 Shad L. Lords <slords@mail.com> 2.2.0-8.sme |
262 |
- add VFlib2 to obsoletes list so upgrades work [SME: 5532] |
- add VFlib2 to obsoletes list so upgrades work [SME: 5532] |
263 |
|
|
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) |