1 |
# $Id: smeserver-support.spec,v 1.10 2016/06/16 03:04:53 unnilennium Exp $ |
# $Id: smeserver-support.spec,v 1.23 2021/01/08 18:58:31 jpp 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.8.0 |
%define version 2.8.0 |
7 |
%define release 8 |
%define release 19 |
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 |
12 |
|
|
13 |
# TODO: check mkinitrd,mdadm to see if needed |
# TODO: check mkinitrd,mdadm to see if needed |
14 |
%define centos_excludes initscripts,libgsf |
%define centos_excludes initscripts,libgsf |
15 |
%define centos_remove kernel,kernel-smp,kernel-xenU,mkinitrd,mdadm,openssl |
%define centos_remove kernel,kernel-smp,kernel-xenU,mkinitrd,mdadm,openssl,samba,samba-client,samba-client-libs,samba-common,samba-common-libs,samba-common-tools,samba-libs,samba*,libsmbclient,libwbclient,libtevent,python-tevent |
16 |
|
|
17 |
Version: %{version} |
Version: %{version} |
18 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
19 |
License: GPL |
License: GPL |
20 |
Group: Networking/Daemons |
Group: Networking/Daemons |
21 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
|
Source1: smeserver_logo.jpg |
|
|
Source2: smeserver_logo.gif |
|
|
Source3: btn_donateCC_LG.gif |
|
22 |
Patch0: smeserver-support-2.8.0-update_copyright_2016.patch |
Patch0: smeserver-support-2.8.0-update_copyright_2016.patch |
23 |
Patch1: smeserver-support-2.8.0-remove_smolt_service.patch |
Patch1: smeserver-support-2.8.0-remove_smolt_service.patch |
24 |
Patch2: smeserver-support-2.8.0.os-release.patch |
Patch2: smeserver-support-2.8.0.os-release.patch |
25 |
Patch3: smeserver-support-2.8.0-koozali.patch |
Patch3: smeserver-support-2.8.0-koozali.patch |
26 |
|
Patch4: smeserver-support-2.8.0-koozali_manager.patch |
27 |
|
Patch5: smeserver-support-2.8.0-bz9676hover.patch |
28 |
|
Patch6: smeserver-support-2.8.0-bz10516.patch |
29 |
|
Patch7: smeserver-support-2.8.0-bz11167-update.patch |
30 |
|
Patch8: smeserver-support-2.8.0-bz11535.patch |
31 |
|
|
32 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
33 |
BuildRequires: e-smith-devtools >= 1.7.5 |
BuildRequires: e-smith-devtools >= 1.7.5 |
34 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
35 |
Provides: server-manager-images |
Provides: server-manager-images |
36 |
AutoReqProv: no |
AutoReqProv: no |
37 |
|
|
38 |
|
# SME 10 requires these explicitly |
39 |
|
Requires: perl(LWP::Protocol::https) |
40 |
|
|
41 |
# New features that we want to pull in on upgrades |
# New features that we want to pull in on upgrades |
42 |
Requires: screen |
Requires: screen |
43 |
Requires: smeserver-yum |
Requires: smeserver-yum |
51 |
Requires: e-smith-ibays |
Requires: e-smith-ibays |
52 |
Requires: e-smith-nutUPS |
Requires: e-smith-nutUPS |
53 |
Requires: e-smith-portforwarding |
Requires: e-smith-portforwarding |
54 |
Requires: e-smith-starterwebsite |
Obsoletes: e-smith-starterwebsite |
55 |
|
|
56 |
# 5.x used bind for name resolution - we need to pull in djbdns |
# 5.x used bind for name resolution - we need to pull in djbdns |
57 |
Requires: e-smith-dnscache |
Requires: e-smith-dnscache |
107 |
Requires: dmraid |
Requires: dmraid |
108 |
|
|
109 |
%changelog |
%changelog |
110 |
|
* Wed Apr 07 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.8.0-19.sme |
111 |
|
- fix typo and wording [SME: 11535] |
112 |
|
|
113 |
|
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-18.sme |
114 |
|
- add update event [SME: 11167] |
115 |
|
|
116 |
|
* Thu Nov 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-17.sme |
117 |
|
- revert update of samba using upstream CentOS repo [SME: 11196] |
118 |
|
|
119 |
|
* Thu May 21 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-16.sme |
120 |
|
- obsoletes e-smith-starterwebsite [SME: 8903] |
121 |
|
|
122 |
|
* Wed May 02 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-15.sme |
123 |
|
- exclude libtevent,python-tevent from base and updates to avoid conflict with localy build version of samba [SME: 10573] |
124 |
|
|
125 |
|
* Sat Feb 10 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-14.sme |
126 |
|
- add back perl(LWP::Protocol::https) support [SME: 10516] |
127 |
|
|
128 |
|
* Mon Sep 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-13.sme |
129 |
|
- upstream samba packages were not all excluded [SME: 10428] |
130 |
|
|
131 |
|
* Mon Mar 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-12.sme |
132 |
|
- exclude samba from centos repo as we have our own with DC support [SME: 10155] |
133 |
|
|
134 |
|
* Fri Mar 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-11.sme |
135 |
|
- improving link to donation [SME: 9598] |
136 |
|
|
137 |
|
* Tue Jul 19 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-10.sme |
138 |
|
- fix hover color [SME: 9676] |
139 |
|
|
140 |
|
* Tue Jul 19 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-9.sme |
141 |
|
- Koozali branding of manager [SME: 9676] |
142 |
|
- new images in archive; removed old images from cvs |
143 |
|
- updated some css smeserver-support-2.8.0-koozali_manager.patch |
144 |
|
|
145 |
* Wed Jun 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-8.sme |
* Wed Jun 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-8.sme |
146 |
- reverting partly the changes in last patch [SME: 9598] |
- reverting partly the changes in last patch [SME: 9598] |
147 |
- wrong catch of proxy related url with the http to https changes |
- wrong catch of proxy related url with the http to https changes |
941 |
%patch1 -p1 |
%patch1 -p1 |
942 |
%patch2 -p1 |
%patch2 -p1 |
943 |
%patch3 -p1 |
%patch3 -p1 |
944 |
cp %{SOURCE1} root/etc/e-smith/web/common |
%patch4 -p1 |
945 |
cp %{SOURCE2} root/etc/e-smith/web/common |
%patch5 -p1 |
946 |
cp %{SOURCE3} root/etc/e-smith/web/common |
%patch6 -p1 |
947 |
|
%patch7 -p1 |
948 |
|
%patch8 -p1 |
949 |
|
|
950 |
%build |
%build |
951 |
perl createlinks |
perl createlinks |
972 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
973 |
|
|
974 |
%post |
%post |
|
[ -f /boot/grub/splash.xpm.gz ] || ln -s tux.xpm.gz /boot/grub/splash.xpm.gz |
|
|
/bin/true |
|
975 |
|
|
976 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
977 |
%defattr(-,root,root) |
%defattr(-,root,root) |