Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
qmailadmin
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
qmailadmin.spec
@@ -0,0 +1,67 @@ +# needsrootforbuild +# rootforbuild + +%define qdir /var/qmail +%define VPOP_HOME /var/vpopmail +# vpopmail group +%define VPOPGID 89 + +# vpopmail user +%define VPOPUID 89 + + +Name: qmailadmin +Version: 1.2.12 +Release: 1 +Summary: virtual domains for qmail + +Group: Applications/Productivity +License: GPL +URL: http://vpopmail.sourceforge.net +Source0: http://osdn.dl.sourceforge.net/sourceforge/qmailadmin/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: maildrop netqmail autorespond vpopmail apache2 +BuildRequires: maildrop netqmail autorespond vpopmail qmail_prepare_build >= 0.2 + +%description + +%prep +%setup -q +%configure \ + --enable-vpopmaildir=%{VPOP_HOME} \ + --enable-htmldir=/srv/www/html \ + --enable-cgibindir=/srv/www/cgi-bin \ + --enable-imageurl=/images/qmailadmin \ + --enable-imagedir=/srv/www/html/images/qmailadmin \ + --enable-htmllibdir=/srv/www/html/qmailadmin \ + --enable-qmaildir=%{qdir} \ + --enable-ezmlmdir \ + --enable-cgipath=/cgi-bin/qmailadmin \ + --enable-autoresponder-path=%{_bindir} \ + --enable-vpopuser=vpopmail \ + --enable-vpopgroup=vchkpw \ + --enable-maxusersperpage=25 \ + --enable-maxaliasesperpage=25 \ + --disable-ipauth \ + --enable-modify-quota \ + --enable-spamcmd-needs-email \ + --enable-modify-spam \ + --enable-spam-command='|preline %{_bindir}/maildrop /etc/maildrop.d/qmailadmin' \ + --enable-help + +%build +%__make %{?_smp_mflags} + +%install +%__make DESTDIR=$RPM_BUILD_ROOT install + +%pre + +%clean +rm -rf %{buildroot} + +%files + +%changelog +* Mon Apr 28 2008 Carsten Schoene <cs@linux-administrator.com> - 1.2.12 +- initial build