1 |
# $Id: smeserver-fetchmail.spec,v 1.2 2013/07/14 20:52:55 unnilennium Exp $ |
2 |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
4 |
|
5 |
Summary: sme module to generate fetchmail poll |
6 |
%define name smeserver-fetchmail |
7 |
Name: %{name} |
8 |
%define version 1.4 |
9 |
%define release 3 |
10 |
%define smepanel FetchMails |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
License: GPL |
14 |
Group: Networking/Daemons |
15 |
Source: %{name}-%{version}.tgz |
16 |
Patch0: smeserver-fetchmail-1.4-locale-2013-07-14.patch |
17 |
Patch1: smeserver-fetchmail-1.4.non_standard_smtpd_TCPPort.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
20 |
Requires: smeserver-release >= 8.0 |
21 |
Requires: e-smith-email >= 4.16.0-18 |
22 |
Requires: e-smith-formmagick >= 1.4.0-12 |
23 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
24 |
Obsoletes: sme-fetchmail |
25 |
Obsoletes: smeserver-fetchmail-utf8 |
26 |
AutoReqProv: no |
27 |
|
28 |
%changelog |
29 |
* Mon Jan 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.4-3.sme |
30 |
- Add settings if smtpd TCPPort set to a non default value [sme: 8796] |
31 |
- code done by ecureuil <gentil_ecureuil@hotmail.com> |
32 |
|
33 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.4-2.sme |
34 |
- apply locale 2013-07-14 patch |
35 |
|
36 |
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 1.4-1.sme |
37 |
- Initial version |
38 |
|
39 |
%description |
40 |
sme server enhancement to make fetchmail more useable |
41 |
|
42 |
%prep |
43 |
%setup |
44 |
%patch0 -p1 |
45 |
%patch1 -p1 |
46 |
|
47 |
%build |
48 |
perl createlinks |
49 |
echo "%{version}-%{release}" >root/etc/e-smith/db/configuration/defaults/%{smepanel}/version |
50 |
|
51 |
%install |
52 |
rm -rf $RPM_BUILD_ROOT |
53 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
54 |
rm -f %{name}-%{version}-filelist |
55 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
56 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
57 |
|
58 |
%clean |
59 |
rm -rf $RPM_BUILD_ROOT |
60 |
|
61 |
%files -f %{name}-%{version}-filelist |
62 |
%defattr(-,root,root) |