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 11)
Currently displaying revision
11
,
show latest
# needsrootforbuild # rootforbuild %define qdir /var/qmail %define VPOP_HOME /var/vpopmail # vpopmail group %define VPOPGID 89 # vpopmail user %define VPOPUID 89 %if 0%{?suse_version} %define _apachewww /srv/www/htdocs %define _apachecgi /srv/www/cgi-bin %endif %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} %define _apachewww /var/www/html %define _apachecgi /var/www/cgi-bin %endif %define _helpversion 1.0.8 Name: qmailadmin Version: 1.2.12 Release: 3 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 Source10: %{name}-help-%{_helpversion}.tar.gz 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 -b10 %patch0 %configure \ --enable-vpopmaildir=%{VPOP_HOME} \ --enable-htmldir=%{_apachewww} \ --enable-cgibindir=%{_apachecgi} \ --enable-imageurl=/images/qmailadmin \ --enable-imagedir=%{_apachewww}/images/qmailadmin \ --enable-htmllibdir=%{_apachewww}/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 # help files %__install -m 755 -d %{buildroot}%{_apachewww}/images/qmailadmin/help cp -rp $RPM_BUILD_DIR/%{name}-help-%{_helpversion}/* %{buildroot}%{_apachewww}/images/qmailadmin/help/ rm -rf %{buildroot}%{_apachewww}/images/qmailadmin/help/INSTALL %pre %clean rm -rf %{buildroot} %files %defattr(6755,vpopmail,vchkpw) %{_apachecgi}/qmailadmin %defattr(0644,vpopmail,vchkpw) %{_apachewww}/images/qmailadmin/* %defattr(0755,vpopmail,vchkpw) %{_apachewww}/qmailadmin %defattr(0644,vpopmail,vchkpw) %{_apachewww}/qmailadmin/html/* %{_apachewww}/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 * Thu Oct 23 2008 Carsten Schoene <cs@linux-administrator.com> - 1.2.12-3 - added qmailadmin help files - changed some macros for cross distribution build * 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