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.6 |
9 |
%define release 7 |
10 |
%define smepanel FetchMails |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
License: GPL |
14 |
Group: Networking/Daemons |
15 |
Source: %{name}-%{version}.tar.gz |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
18 |
Requires: smeserver-release >= 9.0 |
19 |
Requires: e-smith-email >= 4.16.0-18 |
20 |
Requires: e-smith-formmagick >= 1.4.0-12 |
21 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
22 |
Obsoletes: sme-fetchmail |
23 |
Obsoletes: smeserver-fetchmail-utf8 |
24 |
AutoReqProv: no |
25 |
|
26 |
%changelog |
27 |
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-7.sme |
28 |
- Initial release to contribs9 |
29 |
|
30 |
* Fri Feb 06 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-6.sme |
31 |
- Corrected a typo in the detection of smtpd port in the template 90fetchmail |
32 |
|
33 |
* Mon Jan 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-4.sme |
34 |
- Add settings if smtpd TCPPort set to a non default value [sme: 8797] |
35 |
- code done by ecureuil <gentil_ecureuil@hotmail.com> |
36 |
|
37 |
* Sun Nov 2 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-3.sme |
38 |
- Recovery of large attachments with fetchmail [SME:8630] |
39 |
|
40 |
* Sun Oct 5 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-2.sme |
41 |
- bug of .gitignore in /etc/e-smith/web/panels/manager/cgi-bin |
42 |
|
43 |
* Sat Jun 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-1.sme |
44 |
- Initial release to sme9 |
45 |
|
46 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.4-2.sme |
47 |
- apply locale 2013-07-14 patch |
48 |
|
49 |
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 1.4-1.sme |
50 |
- Initial version |
51 |
|
52 |
%description |
53 |
sme server enhancement to make fetchmail more useable |
54 |
|
55 |
%prep |
56 |
%setup |
57 |
|
58 |
%build |
59 |
perl createlinks |
60 |
echo "%{version}-%{release}" >root/etc/e-smith/db/configuration/defaults/%{smepanel}/version |
61 |
|
62 |
%install |
63 |
rm -rf $RPM_BUILD_ROOT |
64 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
65 |
rm -f %{name}-%{version}-filelist |
66 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
67 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
68 |
|
69 |
%clean |
70 |
rm -rf $RPM_BUILD_ROOT |
71 |
|
72 |
%files -f %{name}-%{version}-filelist |
73 |
%defattr(-,root,root) |