1 |
Name: qmail-autoresponder |
2 |
Summary: Autoresponder for qmail |
3 |
Version: 2.0 |
4 |
Release: 1 |
5 |
License: GPL |
6 |
Group: Utilities/System |
7 |
Source: http://untroubled.org/qmail-autoresponder/archive/qmail-autoresponder-%{version}.tar.gz |
8 |
BuildRequires: bglibs >= 2 |
9 |
BuildRequires: bglibs-devel |
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 |
|
29 |
%build |
30 |
echo %{_bindir} >conf-bin |
31 |
echo %{_mandir} >conf-man |
32 |
#echo gcc "%{optflags}" >conf-cc |
33 |
#echo gcc -s "%{optflags}" >conf-ld |
34 |
echo gcc "%{optflags}" ' -I/usr/local/bglibs/include ' >conf-cc |
35 |
echo gcc -s "%{optflags}" ' -L/usr/lib/mysql/ -L/usr/local/bglibs/lib -L/usr/lib64/mysql/ ' >conf-ld |
36 |
|
37 |
make all mysql |
38 |
|
39 |
%install |
40 |
rm -fr %{buildroot} |
41 |
mkdir -p %{buildroot}%{_bindir} |
42 |
mkdir -p %{buildroot}%{_mandir}/man1 |
43 |
make install install_prefix=%{buildroot} |
44 |
|
45 |
%clean |
46 |
rm -rf %{buildroot} |
47 |
|
48 |
%files |
49 |
%defattr(-,root,root) |
50 |
%doc COPYING README procedure.txt |
51 |
%{_bindir}/qmail-autoresponder |
52 |
%{_mandir}/man1/qmail-autoresponder.1.gz |
53 |
|
54 |
%files mysql |
55 |
%doc schema.mysql |
56 |
%{_bindir}/qmail-autoresponder-mysql |
57 |
%{_mandir}/man1/qmail-autoresponder-mysql.1.gz |
58 |
|
59 |
%changelog |
60 |
* Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0-1.sme |
61 |
- import to Koozali SME builder |
62 |
- update to version 2.0 |
63 |
|
64 |
* Fri Jan 15 2016 Daniel Berteaud <daniel@firewall-services.com> 0.97-1 |
65 |
- First build |