1 |
Name: qmail-autoresponder |
2 |
Summary: Autoresponder for qmail |
3 |
Version: 0.97 |
4 |
Release: 1 |
5 |
License: GPL |
6 |
Group: Utilities/System |
7 |
Source: http://untroubled.org/qmail-autoresponder/archive/qmail-autoresponder-%{version}.tar.gz |
8 |
Patch0: qmail-autoresponder-0.97-mysql_lib64.patch |
9 |
BuildRequires: bglibs >= 1.022 |
10 |
BuildRequires: mysql-devel |
11 |
BuildRoot: %{_tmppath}/qmail-autoresponder-root |
12 |
URL: http://untroubled.org/qmail-autoresponder/ |
13 |
Packager: Bruce Guenter <bruce@untroubled.org> |
14 |
|
15 |
%description |
16 |
This package contains a program to provide automatic rate limited email |
17 |
responses from qmail. |
18 |
|
19 |
%package mysql |
20 |
Summary: MySQL-based Autoresponder for qmail |
21 |
Group: Utilities/System |
22 |
%description mysql |
23 |
This package contains a program to provide automatic rate limited email |
24 |
responses from qmail, based entirely on a MySQL database. |
25 |
|
26 |
%prep |
27 |
%setup |
28 |
%patch0 -p1 |
29 |
|
30 |
%build |
31 |
echo %{_bindir} >conf-bin |
32 |
echo %{_mandir} >conf-man |
33 |
echo gcc "%{optflags}" >conf-cc |
34 |
echo gcc -s "%{optflags}" >conf-ld |
35 |
|
36 |
make all mysql |
37 |
|
38 |
%install |
39 |
rm -fr %{buildroot} |
40 |
mkdir -p %{buildroot}%{_bindir} |
41 |
mkdir -p %{buildroot}%{_mandir}/man1 |
42 |
make install install_prefix=%{buildroot} |
43 |
|
44 |
%clean |
45 |
rm -rf %{buildroot} |
46 |
|
47 |
%files |
48 |
%defattr(-,root,root) |
49 |
%doc COPYING README procedure.txt |
50 |
%{_bindir}/qmail-autoresponder |
51 |
%{_mandir}/man1/qmail-autoresponder.1.gz |
52 |
|
53 |
%files mysql |
54 |
%doc schema.mysql |
55 |
%{_bindir}/qmail-autoresponder-mysql |
56 |
%{_mandir}/man1/qmail-autoresponder-mysql.1.gz |
57 |
|
58 |
%changelog |
59 |
* Fri Jan 15 2016 Daniel Berteaud <daniel@firewall-services.com> 0.97-1 |
60 |
- First build |