1 |
unnilennium |
1.2 |
# $Id: smeserver-fetchmail.spec,v 1.1 2012/06/03 20:34:06 slords Exp $ |
2 |
slords |
1.1 |
# 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 |
unnilennium |
1.2 |
%define release 2 |
10 |
slords |
1.1 |
%define smepanel FetchMails |
11 |
|
|
Version: %{version} |
12 |
|
|
Release: %{release}%{?dist} |
13 |
|
|
License: GPL |
14 |
|
|
Group: Networking/Daemons |
15 |
|
|
Source: %{name}-%{version}.tgz |
16 |
unnilennium |
1.2 |
Patch0: smeserver-fetchmail-1.4-locale-2013-07-14.patch |
17 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
|
|
BuildArchitectures: noarch |
19 |
|
|
Requires: smeserver-release >= 8.0 |
20 |
|
|
Requires: e-smith-email >= 4.16.0-18 |
21 |
|
|
Requires: e-smith-formmagick >= 1.4.0-12 |
22 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
23 |
|
|
Obsoletes: sme-fetchmail |
24 |
|
|
Obsoletes: smeserver-fetchmail-utf8 |
25 |
|
|
AutoReqProv: no |
26 |
|
|
|
27 |
|
|
%changelog |
28 |
unnilennium |
1.2 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.4-2.sme |
29 |
|
|
- apply locale 2013-07-14 patch |
30 |
|
|
|
31 |
|
|
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 1.4-1.sme |
32 |
slords |
1.1 |
- Initial version |
33 |
|
|
|
34 |
|
|
%description |
35 |
|
|
sme server enhancement to make fetchmail more useable |
36 |
|
|
|
37 |
|
|
%prep |
38 |
|
|
%setup |
39 |
unnilennium |
1.2 |
%patch0 -p1 |
40 |
slords |
1.1 |
|
41 |
|
|
%build |
42 |
|
|
perl createlinks |
43 |
|
|
echo "%{version}-%{release}" >root/etc/e-smith/db/configuration/defaults/%{smepanel}/version |
44 |
|
|
|
45 |
|
|
%install |
46 |
|
|
rm -rf $RPM_BUILD_ROOT |
47 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
48 |
|
|
rm -f %{name}-%{version}-filelist |
49 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
50 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
51 |
|
|
|
52 |
|
|
%clean |
53 |
|
|
rm -rf $RPM_BUILD_ROOT |
54 |
|
|
|
55 |
|
|
%files -f %{name}-%{version}-filelist |
56 |
|
|
%defattr(-,root,root) |