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