1 |
# $Id: e-smith-proxy.spec,v 1.7 2020/12/01 16:03:46 michel Exp $ |
# $Id: e-smith-proxy.spec,v 1.8 2020/12/11 20:35:23 michel Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - proxy module |
Summary: e-smith server and gateway - proxy module |
4 |
%define name e-smith-proxy |
%define name e-smith-proxy |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 5.6.0 |
%define version 5.6.0 |
7 |
%define release 8 |
%define release 9 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
16 |
Patch3: e-smith-proxy-5.6.0.bz9639.disablingSMTPproxyFromManager.patch |
Patch3: e-smith-proxy-5.6.0.bz9639.disablingSMTPproxyFromManager.patch |
17 |
Patch4: e-smith-proxy-5.6.0-bz11116_systemd.patch |
Patch4: e-smith-proxy-5.6.0-bz11116_systemd.patch |
18 |
Patch5: e-smith-proxy-5.6.0-events_update-bz9419.patch |
Patch5: e-smith-proxy-5.6.0-events_update-bz9419.patch |
19 |
|
Patch6: e-smith-proxy-5.6.0-bz9692-cleanup.patch |
20 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
Requires: e-smith-base |
Requires: e-smith-base |
34 |
e-smith server and gateway software - proxy module. |
e-smith server and gateway software - proxy module. |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
* Tue Mar 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-9.sme |
38 |
|
- cleanup in /etc/rc.d and /var/service/squid [SME: 9692] |
39 |
|
|
40 |
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-8.sme |
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-8.sme |
41 |
- fix actions for e-smith-proxy-update event [SME: 11116] |
- fix actions for e-smith-proxy-update event [SME: 11116] |
42 |
- add intercept for squid [SME: 9419] |
- add intercept for squid [SME: 9419] |
734 |
%patch3 -p1 |
%patch3 -p1 |
735 |
%patch4 -p1 |
%patch4 -p1 |
736 |
%patch5 -p1 |
%patch5 -p1 |
737 |
|
%patch6 -p1 |
738 |
|
|
739 |
rm -rf root/var/service/squid/ |
rm -rf root/var/service/squid/ |
740 |
mkdir -p root/usr/lib/systemd/system/squid.service.d |
mkdir -p root/usr/lib/systemd/system/squid.service.d |
761 |
%clean |
%clean |
762 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
763 |
|
|
764 |
|
%post |
765 |
|
if [ -d /var/service/squid ]; then |
766 |
|
rm -rf /var/service/squid |
767 |
|
fi |
768 |
|
|
769 |
%files -f %{name}-%{version}-%{release}-filelist |
%files -f %{name}-%{version}-%{release}-filelist |
770 |
%defattr(-,root,root) |
%defattr(-,root,root) |