1 |
# $Id: smeserver-support.spec,v 1.23 2021/01/08 18:58:31 jpp Exp $ |
# $Id: smeserver-support.spec,v 1.24 2021/04/08 01:50:58 jpp Exp $ |
2 |
|
%define copykooz 2013 - 2021 |
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.8.0 |
%define version 2.8.0 |
7 |
%define release 19 |
%define release 20 |
8 |
|
|
9 |
# These packages come from CentOS, but we need to use care when |
# These packages come from CentOS, but we need to use care when |
10 |
# updating them - either we've patched them, or we need to do something |
# updating them - either we've patched them, or we need to do something |
28 |
Patch6: smeserver-support-2.8.0-bz10516.patch |
Patch6: smeserver-support-2.8.0-bz10516.patch |
29 |
Patch7: smeserver-support-2.8.0-bz11167-update.patch |
Patch7: smeserver-support-2.8.0-bz11167-update.patch |
30 |
Patch8: smeserver-support-2.8.0-bz11535.patch |
Patch8: smeserver-support-2.8.0-bz11535.patch |
31 |
|
Patch9: smeserver-support-2.8.0-bz11568-copyright.patch |
32 |
|
|
33 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
34 |
BuildRequires: e-smith-devtools >= 1.7.5 |
BuildRequires: e-smith-devtools >= 1.7.5 |
108 |
Requires: dmraid |
Requires: dmraid |
109 |
|
|
110 |
%changelog |
%changelog |
111 |
|
* Mon Apr 19 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.8.0-20.sme |
112 |
|
- fix copyright date and make it easier to update from spec file [SME: 11568] |
113 |
|
|
114 |
* Wed Apr 07 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.8.0-19.sme |
* Wed Apr 07 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.8.0-19.sme |
115 |
- fix typo and wording [SME: 11535] |
- fix typo and wording [SME: 11535] |
116 |
|
|
950 |
%patch6 -p1 |
%patch6 -p1 |
951 |
%patch7 -p1 |
%patch7 -p1 |
952 |
%patch8 -p1 |
%patch8 -p1 |
953 |
|
%patch9 -p1 |
954 |
|
|
955 |
%build |
%build |
956 |
perl createlinks |
perl createlinks |
957 |
|
|
958 |
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 |
959 |
|
find root/ -type f | xargs grep -l ____COPYYEARS____ | xargs sed -i -e 's/____COPYYEARS____/%{copykooz}/g' |
960 |
YUM_REPOS=root/etc/e-smith/db/yum_repositories/ |
YUM_REPOS=root/etc/e-smith/db/yum_repositories/ |
961 |
for dir in base updates |
for dir in base updates |
962 |
do |
do |