1 |
# $Id: smeserver-denyhosts.spec,v 1.30 2011/04/27 16:47:18 slords Exp $ |
2 |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
4 |
|
5 |
Summary: smeserver-denyhosts |
6 |
%define name smeserver-denyhosts |
7 |
%define version 2.7 |
8 |
%define release 1 |
9 |
Name: %{name} |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Applications/System |
14 |
Source: %{name}-%{version}.tgz |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArch: noarch |
17 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
18 |
Requires: smeserver-release >= 8.0 |
19 |
Requires: denyhosts >= 2.6 |
20 |
Requires: e-smith-formmagick >= 1.4.0-12 |
21 |
|
22 |
%description |
23 |
Integration package to mesh denyhosts with SME Server. |
24 |
|
25 |
%prep |
26 |
%setup |
27 |
|
28 |
%build |
29 |
/usr/bin/perl createlinks |
30 |
|
31 |
%install |
32 |
/bin/rm -rf $RPM_BUILD_ROOT |
33 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
34 |
/bin/rm -f %{name}-%{version}-filelist |
35 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
36 |
|
37 |
%files -f %{name}-%{version}-filelist |
38 |
%defattr(-,root,root,-) |
39 |
|
40 |
%clean |
41 |
rm -rf $RPM_BUILD_ROOT |
42 |
|
43 |
%post |
44 |
touch /etc/hosts.deny_ssh |
45 |
|
46 |
%changelog |
47 |
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 2.7-1.sme |
48 |
- Initial version |