1 |
# $Id$ |
2 |
|
3 |
Name: qmail-qfilter |
4 |
Summary: qmail-queue filter front end |
5 |
Version: 1.5 |
6 |
Release: 1%{?dist} |
7 |
License: GPL |
8 |
Group: Utilities/System |
9 |
Source: http://untroubled.org/qmail-qfilter/qmail-qfilter-1.5.tar.gz |
10 |
BuildRoot: %{_tmppath}/qmail-qfilter-root |
11 |
URL: http://untroubled.org/qmail-qfilter/ |
12 |
|
13 |
%description |
14 |
This program allows the body of a message to be filtered through a |
15 |
series of filters before being passed to the real qmail-queue program, |
16 |
and injected into the qmail queue. |
17 |
|
18 |
%prep |
19 |
%setup |
20 |
|
21 |
%build |
22 |
echo %{_bindir} >conf-bin |
23 |
echo %{_mandir} >conf-man |
24 |
echo gcc %{optflags} >conf-cc |
25 |
echo gcc -s >conf-ld |
26 |
make |
27 |
|
28 |
%install |
29 |
rm -fr %{buildroot} |
30 |
mkdir -p %{buildroot}%{_bindir} |
31 |
mkdir -p %{buildroot}%{_mandir} |
32 |
echo %{buildroot}%{_bindir} >conf-bin |
33 |
echo %{buildroot}%{_mandir} >conf-man |
34 |
rm conf_bin.c conf_man.c insthier.o installer instcheck |
35 |
make installer instcheck |
36 |
./installer |
37 |
./instcheck |
38 |
|
39 |
%clean |
40 |
rm -rf %{buildroot} |
41 |
|
42 |
%files |
43 |
%defattr(-,root,root) |
44 |
%doc COPYING NEWS README samples |
45 |
%{_bindir}/qmail-qfilter |
46 |
%{_mandir}/man1/* |