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