Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
qmailadmin
> qmailadmin.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File qmailadmin.spec of Package qmailadmin (Revision 8)
Currently displaying revision
8
,
show latest
# 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: 2 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 Source1: qmailadmin.maildrop Source2: qmailadmin.logrotate Patch0: qmailadmin-makefile.diff BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: maildrop netqmail autorespond vpopmail apache2 mysql BuildRequires: maildrop netqmail autorespond vpopmail mysql-devel ezmlm-idx-mysql ezmlm-idx qmail_prepare_build >= 0.2 %description %prep %setup -q %patch0 %configure \ --enable-vpopmaildir=%{VPOP_HOME} \ --enable-htmldir=/srv/www/htdocs \ --enable-cgibindir=/srv/www/cgi-bin \ --enable-imageurl=/images/qmailadmin \ --enable-imagedir=/srv/www/htdocs/images/qmailadmin \ --enable-htmllibdir=/srv/www/htdocs/qmailadmin \ --enable-qmaildir=%{qdir} \ --enable-ezmlmdir=%{_bindir} \ --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 %{_sysconfdir}/maildrop.d/qmailadmin' \ --enable-help %build %__make %{?_smp_mflags} %install %__make DESTDIR=$RPM_BUILD_ROOT install %__install -m 755 -d %{buildroot}/var/log/maildrop/ %__install -D -m 644 %{S:2} %{buildroot}/%{_sysconfdir}/logrotate.d/qmailadmin %__install -D -m 600 %{S:1} %{buildroot}/%{_sysconfdir}/maildrop.d/qmailadmin %pre %clean rm -rf %{buildroot} %files %defattr(6755,vpopmail,vchkpw) /srv/www/cgi-bin/qmailadmin %defattr(0644,vpopmail,vchkpw) /srv/www/htdocs/images/qmailadmin/* %defattr(0755,vpopmail,vchkpw) /srv/www/htdocs/qmailadmin %defattr(0644,vpopmail,vchkpw) /srv/www/htdocs/qmailadmin/html/* /srv/www/htdocs/qmailadmin/lang/* %attr(0700,vpopmail,vchkpw) %dir %{_sysconfdir}/maildrop.d %attr(0600,vpopmail,vchkpw) %{_sysconfdir}/maildrop.d/qmailadmin %attr(0755,vpopmail,vchkpw) /var/log/maildrop %attr(0644,root,root) %{_sysconfdir}/logrotate.d/qmailadmin %changelog * Mon Jul 14 2008 Carsten Schoene <cs@łinux-administrator.com> - 1.2.12-2 - added maildrop script for spam processing - added logrotate script * Mon Apr 28 2008 Carsten Schoene <cs@linux-administrator.com> - 1.2.12-1 - initial build