1 |
Name: mailfront |
2 |
Summary: Mail server network protocol front-ends |
3 |
Version: 1.10 |
4 |
Release: 9%{?dist} |
5 |
License: GPL |
6 |
Group: Utilities/System |
7 |
Source: http://untroubled.org/mailfront/mailfront-1.10.tar.gz |
8 |
BuildRoot: %{_tmppath}/mailfront-buildroot |
9 |
BuildRequires: bglibs >= 1.101 |
10 |
BuildRequires: cvm-devel >= 0.81 |
11 |
URL: http://untroubled.org/mailfront/ |
12 |
|
13 |
%description |
14 |
This is mailfront, a package containing customizeable network front-ends |
15 |
for mail servers. Handles POP3, QMQP, QMTP, SMTP, and IMAP |
16 |
(authentication only). |
17 |
|
18 |
%package devel |
19 |
Summary: Mailfront development bits |
20 |
Group: Development/Libraries |
21 |
%description devel |
22 |
Headers for building modules (front-ends, plugins, and back-ends) for |
23 |
mailfront. |
24 |
|
25 |
%prep |
26 |
%setup |
27 |
echo "gcc %{optflags}" >conf-cc |
28 |
echo "gcc %{optflags} -fPIC -shared" >conf-ccso |
29 |
echo "gcc -s -rdynamic" >conf-ld |
30 |
echo %{_bindir} >conf-bin |
31 |
echo %{_libdir}/mailfront >conf-modules |
32 |
echo %{_includedir} >conf-include |
33 |
|
34 |
%build |
35 |
make |
36 |
|
37 |
%install |
38 |
rm -fr %{buildroot} |
39 |
make install_prefix=%{buildroot} install |
40 |
|
41 |
%clean |
42 |
rm -rf %{buildroot} |
43 |
|
44 |
%files |
45 |
%defattr(-,root,root) |
46 |
%doc ANNOUNCEMENT COPYING NEWS README *.html |
47 |
%{_bindir}/* |
48 |
%{_libdir}/mailfront |
49 |
|
50 |
%files devel |
51 |
%{_includedir}/mailfront |