1 |
vip-ire |
1.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.5 |
9 |
|
|
%define release 1 |
10 |
|
|
%define smepanel FetchMails |
11 |
|
|
Version: %{version} |
12 |
|
|
Release: %{release}%{?dist} |
13 |
|
|
License: GPL |
14 |
|
|
Group: Networking/Daemons |
15 |
|
|
Source: %{name}-%{version}.tar.xz |
16 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
|
|
BuildArchitectures: noarch |
18 |
|
|
Requires: smeserver-release >= 8.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 |
|
|
* Tue Nov 12 2013 Daniel Berteaud <daniel@firewall-services.com> 1.5-1.sme |
28 |
|
|
- Rebuild for SME9 |
29 |
|
|
|
30 |
|
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.4-2.sme |
31 |
|
|
- apply locale 2013-07-14 patch |
32 |
|
|
|
33 |
|
|
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 1.4-1.sme |
34 |
|
|
- Initial version |
35 |
|
|
|
36 |
|
|
%description |
37 |
|
|
sme server enhancement to make fetchmail more useable |
38 |
|
|
|
39 |
|
|
%prep |
40 |
|
|
%setup |
41 |
|
|
|
42 |
|
|
%build |
43 |
|
|
perl createlinks |
44 |
|
|
echo "%{version}-%{release}" >root/etc/e-smith/db/configuration/defaults/%{smepanel}/version |
45 |
|
|
|
46 |
|
|
%install |
47 |
|
|
rm -rf $RPM_BUILD_ROOT |
48 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
49 |
|
|
rm -f %{name}-%{version}-filelist |
50 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
51 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
52 |
|
|
|
53 |
|
|
%clean |
54 |
|
|
rm -rf $RPM_BUILD_ROOT |
55 |
|
|
|
56 |
|
|
%files -f %{name}-%{version}-filelist |
57 |
|
|
%defattr(-,root,root) |