1 |
# $Id: smeserver-denyhosts.spec,v 1.3 2014/06/17 17:46:14 unnilennium Exp $ |
2 |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
4 |
|
5 |
Summary: smeserver-denyhosts |
6 |
%define name smeserver-denyhosts |
7 |
%define version 2.8 |
8 |
%define release 2 |
9 |
Name: %{name} |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Applications/System |
14 |
Source: %{name}-%{version}.tgz |
15 |
Patch0: smeserver-denyhosts-2.8-regexpatch.patch |
16 |
#REM contribs9 Patch0: smeserver-denyhosts-2.8-locale-2013-07-14.patch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArch: noarch |
19 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
20 |
Requires: smeserver-release >= 8.0 |
21 |
Requires: denyhosts >= 2.6 |
22 |
Requires: e-smith-formmagick >= 1.4.0-12 |
23 |
|
24 |
%description |
25 |
Integration package to mesh denyhosts with SME Server. |
26 |
|
27 |
%prep |
28 |
%setup |
29 |
%patch0 -p1 |
30 |
|
31 |
%build |
32 |
/usr/bin/perl createlinks |
33 |
|
34 |
%install |
35 |
/bin/rm -rf $RPM_BUILD_ROOT |
36 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
37 |
/bin/rm -f %{name}-%{version}-filelist |
38 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
39 |
|
40 |
%files -f %{name}-%{version}-filelist |
41 |
%defattr(-,root,root,-) |
42 |
|
43 |
%clean |
44 |
rm -rf $RPM_BUILD_ROOT |
45 |
|
46 |
%post |
47 |
touch /etc/hosts.deny_ssh |
48 |
|
49 |
%changelog |
50 |
* Wed Nov 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8-2.sme |
51 |
- fix [SME: 9877] |
52 |
- fix regex issue import from SME9 |
53 |
|
54 |
* Mon Jun 16 2014 JP Pialasse <tests@pialasse.com> 2.8-1.sme |
55 |
- new version preparing for SME9 contribs |
56 |
|
57 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 2.7-2.sme |
58 |
- apply locale 2013-07-14 patch |
59 |
|
60 |
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 2.7-1.sme |
61 |
- Initial version |