Lee Howard 7c2f854
%global faxspool    /var/spool/hylafax
Lee Howard b8f2d2a
%global _hardened_build 1
Lee Howard cbae200
%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7
Lee Howard cbae200
%global lockdir    /var/lock/lockdev
Lee Howard cbae200
%else
Lee Howard cbae200
%global lockdir    /var/lock
Lee Howard cbae200
%endif
Lee Howard 7c2f854
Lee Howard 7c2f854
Summary:   An enterprise-strength fax server
Lee Howard 7c2f854
Name:      hylafax+
Lee Howard 91402d5
Version:   5.5.7
d9427ee
Release:   2%{?dist}
Lee Howard 7c2f854
License:   libtiff and BSD with advertising
Lee Howard 7c2f854
Group:     Applications/Communications
Lee Howard 7c2f854
URL:       http://hylafax.sourceforge.net
Lee Howard 7c2f854
Lee Howard 7c2f854
Source0:   http://downloads.sourceforge.net/hylafax/hylafax-%{version}.tar.gz
Lee Howard 7c2f854
Source1:   hylafax+_rh.init
Lee Howard 7c2f854
Source2:   hylafax+_daily.cron
Lee Howard 7c2f854
Source3:   hylafax+_hourly.cron
Lee Howard 7c2f854
Source4:   hylafax+_hfaxd_systemd.service
Lee Howard 7c2f854
Source5:   hylafax+_faxq_systemd.service
Lee Howard 14b155d
Source6:   hylafax+_faxgetty_systemd.service
Lee Howard 14b155d
Source7:   hylafax+_sysconfig
Lee Howard 7c2f854
Lee Howard 4ddcf93
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Lee Howard 4ddcf93
Lee Howard 4ddcf93
Provides:    hylafax = %{version}-%{release}
306bb1d
Requires:    %{name}-client%{?_isa} = %{version}-%{release}
Lee Howard 7c2f854
f760b9e
BuildRequires: libjpeg-devel, libtiff-devel, zlib-devel, pam-devel, openldap-devel, uucp, %{_bindir}/tiffcp
f760b9e
BuildRequires: %{_sbindir}/sendmail, ghostscript, ghostscript-fonts, mgetty
f760b9e
%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7
Lee Howard 020c9d4
BuildRequires: jbigkit-devel
Lee Howard 020c9d4
%endif
f760b9e
%if 0%{?fedora} || 0%{?rhel} >= 7
f760b9e
BuildRequires: lcms2-devel
f760b9e
%else
f760b9e
BuildRequires: lcms-devel
f760b9e
%endif
f760b9e
%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7
Lee Howard 7c2f854
BuildRequires: systemd-units
Lee Howard 7c2f854
%endif
f760b9e
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
Lee Howard 7c2f854
BuildRequires: systemd
Lee Howard 7c2f854
%endif
f760b9e
Requires:    ghostscript, ghostscript-fonts, uucp, gawk, sharutils, mailx, crontabs, %{_bindir}/tiffcp, mgetty
Lee Howard 7c2f854
Conflicts:   mgetty-sendfax
Lee Howard 7c2f854
Obsoletes:   hylafax < 5.5.2-1
Lee Howard 7c2f854
Lee Howard 7c2f854
Requires(post): /sbin/ldconfig
Lee Howard 7c2f854
Requires(postun): /sbin/ldconfig
Lee Howard 4ddcf93
f760b9e
%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7
Lee Howard 7c2f854
Requires(post): systemd-units
Lee Howard 7c2f854
Requires(preun): systemd-units
Lee Howard 7c2f854
Requires(postun): systemd-units
Lee Howard 7c2f854
%else
Lee Howard 7c2f854
Requires(post): /sbin/chkconfig
Lee Howard 7c2f854
Requires(preun): /sbin/chkconfig
Lee Howard 7c2f854
Requires(preun): /sbin/service
Lee Howard 7c2f854
Requires(postun): /sbin/service
Lee Howard 7c2f854
%endif
Lee Howard 7c2f854
Lee Howard 7c2f854
%description
Lee Howard 7c2f854
HylaFAX(tm) is a enterprise-strength fax server supporting
Lee Howard 7c2f854
Class 1 and 2 fax modems on UNIX systems. It provides spooling
Lee Howard 7c2f854
services and numerous supporting fax management tools. 
Lee Howard 7c2f854
The fax clients may reside on machines different from the server
Lee Howard 7c2f854
and client implementations exist for a number of platforms including 
Lee Howard 7c2f854
windows.
Lee Howard 7c2f854
Lee Howard 4ddcf93
%package client
Lee Howard 4ddcf93
Summary:     Client programs for HylaFAX fax servers
Lee Howard 4ddcf93
Provides:    hylafax-client = %{version}-%{release}
306bb1d
Obsoletes:   hylafax-client < 5.5.2-1
Lee Howard fa9a239
Group:       Applications/Communications
f760b9e
Requires:    %{_sbindir}/sendmail
Lee Howard 4ddcf93
Lee Howard 4ddcf93
%description client
Lee Howard 4ddcf93
HylaFAX(tm) is a enterprise-strength fax server supporting
Lee Howard 4ddcf93
Class 1 and 2 fax modems on UNIX systems. This package provides
Lee Howard 4ddcf93
fax clients which may reside on machines different from the server.
Lee Howard 4ddcf93
Lee Howard 7c2f854
%prep
Lee Howard 7c2f854
%setup -q -n hylafax-%{version}
Lee Howard 7c2f854
Lee Howard 7c2f854
%build
Lee Howard 7c2f854
# - Can't use the configure macro because HylaFAX configure script does
Lee Howard 7c2f854
#   not understand the config options used by that macro
Lee Howard 7c2f854
STRIP=':' \
Lee Howard 7c2f854
./configure \
Lee Howard 7c2f854
        --with-DIR_BIN=%{_bindir} \
Lee Howard 7c2f854
        --with-DIR_SBIN=%{_sbindir} \
Lee Howard 7c2f854
        --with-DIR_LIB=%{_libdir} \
Lee Howard 7c2f854
        --with-DIR_LIBEXEC=%{_sbindir} \
Lee Howard 7c2f854
        --with-DIR_LIBDATA=%{_sysconfdir}/hylafax \
Lee Howard cbae200
        --with-DIR_LOCKS=%{lockdir} \
Lee Howard 7c2f854
        --with-LIBDIR=%{_libdir} \
Lee Howard 7c2f854
        --with-TIFFBIN=%{_bindir} \
Lee Howard 7c2f854
        --with-DIR_MAN=%{_mandir} \
Lee Howard 7c2f854
        --with-PATH_GSRIP=%{_bindir}/gs \
Lee Howard 7c2f854
        --with-TIFFINC=-L%{_includedir} \
Lee Howard 7c2f854
        --with-LIBTIFF="-ltiff" \
Lee Howard 7c2f854
        --with-DIR_SPOOL=%{faxspool} \
Lee Howard 7c2f854
        --with-AFM=no \
Lee Howard 7c2f854
        --with-AWK=%{_bindir}/gawk \
Lee Howard 7c2f854
        --with-PATH_VGETTY=/sbin/vgetty \
Lee Howard 7c2f854
        --with-PATH_GETTY=/sbin/mgetty \
Lee Howard 7c2f854
        --with-PAGESIZE=A4 \
Lee Howard 7c2f854
        --with-PATH_DPSRIP=%{faxspool}/bin/ps2fax \
Lee Howard 7c2f854
        --with-PATH_IMPRIP="" \
Lee Howard 7c2f854
        --with-SYSVINIT=%{_initrddir}/hylafax+ \
Lee Howard 7c2f854
        --with-INTERACTIVE=no
Lee Howard 7c2f854
Lee Howard 7c2f854
# can't use %{?_smp_mflags} because it breaks libfaxutil dso building
Lee Howard 7c2f854
make OPTIMIZER="$RPM_OPT_FLAGS"
Lee Howard 7c2f854
Lee Howard 7c2f854
%install
Lee Howard 7c2f854
rm -rf $RPM_BUILD_ROOT
Lee Howard 7c2f854
Lee Howard 7c2f854
# install: make some dirs...
Lee Howard 7c2f854
mkdir -p -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/{cron.daily,cron.hourly} 
5415672
mkdir -p -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/{hylafax,sysconfig}
f760b9e
%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7
Lee Howard 7c2f854
mkdir -p -m 755 $RPM_BUILD_ROOT%{_unitdir}
Lee Howard 7c2f854
%else
Lee Howard 7c2f854
mkdir -p -m 755 $RPM_BUILD_ROOT%{_initrddir}
Lee Howard 7c2f854
%endif
Lee Howard 7c2f854
mkdir -p -m 755 $RPM_BUILD_ROOT%{_bindir}
Lee Howard 7c2f854
mkdir -p -m 755 $RPM_BUILD_ROOT%{_sbindir}
Lee Howard 7c2f854
mkdir -p -m 755 $RPM_BUILD_ROOT%{_libdir}
Lee Howard 7c2f854
mkdir -p -m 755 $RPM_BUILD_ROOT%{_mandir}
Lee Howard 7c2f854
mkdir -p -m 755 $RPM_BUILD_ROOT%{faxspool}/config
Lee Howard 7c2f854
Lee Howard 7c2f854
# install: binaries and man pages 
Lee Howard 7c2f854
# FAXUSER, FAXGROUP, SYSUSER and SYSGROUP are set to the current user to
Lee Howard 7c2f854
# avoid warnings about chown/chgrp if the user building the SRPM is not root; 
Lee Howard 7c2f854
# they are set to the correct values with the RPM attr macro
Lee Howard 7c2f854
make install -e \
Lee Howard 7c2f854
        FAXUSER=`id -u` \
Lee Howard 7c2f854
        FAXGROUP=`id -g` \
Lee Howard 7c2f854
        SYSUSER=`id -u` \
Lee Howard 7c2f854
        SYSGROUP=`id -g` \
Lee Howard 7c2f854
        BIN=$RPM_BUILD_ROOT%{_bindir} \
Lee Howard 7c2f854
        SBIN=$RPM_BUILD_ROOT%{_sbindir} \
Lee Howard 7c2f854
        LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
Lee Howard 7c2f854
        LIBDATA=$RPM_BUILD_ROOT%{_sysconfdir}/hylafax \
Lee Howard 7c2f854
        LIBEXEC=$RPM_BUILD_ROOT%{_sbindir} \
Lee Howard 7c2f854
        SPOOL=$RPM_BUILD_ROOT%{faxspool} \
Lee Howard 7c2f854
        MAN=$RPM_BUILD_ROOT%{_mandir} \
Lee Howard 7c2f854
        INSTALL_ROOT=$RPM_BUILD_ROOT
Lee Howard 7c2f854
Lee Howard 7c2f854
# install: remaining files
f760b9e
%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7
Lee Howard 7c2f854
install -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_unitdir}/hylafax-hfaxd.service
Lee Howard 7c2f854
install -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_unitdir}/hylafax-faxq.service
Lee Howard 14b155d
install -p -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_unitdir}/hylafax-faxgetty@.service
Lee Howard 7c2f854
%else
Lee Howard 7c2f854
install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/hylafax+
Lee Howard 7c2f854
%endif
Lee Howard 14b155d
install -p -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/hylafax+
Lee Howard 4ddcf93
install -p -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/hylafax+
Lee Howard 4ddcf93
install -p -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/cron.hourly/hylafax+
Lee Howard 7c2f854
Lee Howard 7c2f854
# Prepare docdir by removing non-doc files
Lee Howard 7c2f854
# Remove files that are not needed on Linux
Lee Howard 7c2f854
rm -f $RPM_BUILD_ROOT%{_sbindir}/{faxsetup.irix,faxsetup.bsdi}
Lee Howard 7c2f854
rm -f $RPM_BUILD_ROOT%{faxspool}/bin/{ps2fax.imp,ps2fax.dps}
Lee Howard 4ddcf93
rm -f $RPM_BUILD_ROOT%{faxspool}/etc/dpsprinter.ps
Lee Howard 7c2f854
Lee Howard 7c2f854
rm -f $RPM_BUILD_ROOT%{faxspool}/COPYRIGHT
Lee Howard 7c2f854
Lee Howard 7c2f854
%clean
Lee Howard 7c2f854
rm -rf $RPM_BUILD_ROOT
Lee Howard 7c2f854
Lee Howard 7c2f854
f760b9e
%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7
Lee Howard 7c2f854
%post
Lee Howard 7c2f854
/sbin/ldconfig
Lee Howard 7c2f854
if [ 0$1 -eq 1 ]; then
Lee Howard 7c2f854
    # Initial installation
Lee Howard 7c2f854
    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
Lee Howard 7c2f854
fi
Lee Howard 7c2f854
Lee Howard 4ddcf93
%post client -p /sbin/ldconfig
Lee Howard 4ddcf93
Lee Howard 7c2f854
%preun
Lee Howard 7c2f854
if [ 0$1 -eq 0 ]; then
Lee Howard 7c2f854
    /bin/systemctl --no-reload disable hylafax-hfaxd.service > /dev/null 2>&1 || :
Lee Howard 7c2f854
    /bin/systemctl stop hylafax-hfaxd.service > /dev/null 2>&1 || :
Lee Howard 7c2f854
    /bin/systemctl --no-reload disable hylafax-faxq.service > /dev/null 2>&1 || :
Lee Howard 7c2f854
    /bin/systemctl stop hylafax-faxq.service > /dev/null 2>&1 || :
Lee Howard 7c2f854
fi
Lee Howard 7c2f854
Lee Howard 7c2f854
%postun
Lee Howard 7c2f854
/sbin/ldconfig
Lee Howard 7c2f854
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
Lee Howard 7c2f854
if [ 0$1 -ge 1 ]; then
Lee Howard 7c2f854
    /bin/systemctl try-restart hylafax-hfaxd.service >/dev/null 2>&1 || :
Lee Howard 7c2f854
    /bin/systemctl try-restart hylafax-faxq.service >/dev/null 2>&1 || :
Lee Howard 7c2f854
fi
Lee Howard 4ddcf93
Lee Howard 4ddcf93
%postun client -p /sbin/ldconfig
Lee Howard 4ddcf93
Lee Howard 7c2f854
%else
Lee Howard 7c2f854
%post
Lee Howard 7c2f854
/sbin/ldconfig
Lee Howard 7c2f854
if [ 0$1 -eq 1 ]; then
Lee Howard 7c2f854
    /sbin/chkconfig --add hylafax+
Lee Howard 7c2f854
fi
Lee Howard 7c2f854
306bb1d
%post client -p /sbin/ldconfig
Lee Howard 4ddcf93
Lee Howard 7c2f854
%preun
Lee Howard 7c2f854
if [ 0$1 -eq 0 ]; then
Lee Howard 7c2f854
    /sbin/chkconfig --del hylafax+
Lee Howard 1554886
    /sbin/service hylafax+ stop >/dev/null 2>&1 || :
Lee Howard 7c2f854
fi
Lee Howard 7c2f854
Lee Howard 7c2f854
%postun
Lee Howard 7c2f854
/sbin/ldconfig
Lee Howard 7c2f854
if [ 0$1 -ge 1 ]; then
Lee Howard 7c2f854
    /sbin/service hylafax+ condrestart >/dev/null 2>&1 || :
Lee Howard 7c2f854
fi
Lee Howard 4ddcf93
306bb1d
%postun client -p /sbin/ldconfig
Lee Howard 7c2f854
%endif
Lee Howard 7c2f854
Lee Howard 7c2f854
%files
f760b9e
%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7
Lee Howard 6dfce9d
%{_unitdir}/hylafax-faxgetty@.service
Lee Howard 7c2f854
%{_unitdir}/hylafax-hfaxd.service
Lee Howard 7c2f854
%{_unitdir}/hylafax-faxq.service
f760b9e
%else
f760b9e
%{_initrddir}/hylafax+
Lee Howard 7c2f854
%endif
Lee Howard 7c2f854
%doc CHANGES CONTRIBUTORS COPYRIGHT README TODO VERSION
Lee Howard 4ddcf93
%{_libdir}/libfaxserver*
Lee Howard 4ddcf93
%{_mandir}/man5/doneq.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man5/hosts.hfaxd.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man5/hylafax-config.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man5/hylafax-info.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man5/hylafax-log.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man5/hylafax-server.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man5/hylafax-shutdown.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man5/pagermap.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man5/recvq.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man5/sendq.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man5/status.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man5/tsi.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man5/xferfaxlog.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man8/choptest.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/cqtest.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxabort.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxaddmodem.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxadduser.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxanswer.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxconfig.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxcron.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxdeluser.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxgetty.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxlock.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxmodem.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxq.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxqclean.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxquit.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxrcvd.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxsend.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxstate.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/hfaxd.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/jobcontrol.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/mkcover.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/notify.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/pagesend.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/pollrcvd.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/ps2fax.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/recvstats.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/tagtest.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/tsitest.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/wedged.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/xferfaxstats.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxmsg.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/hylafax.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/lockname.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/ondelay.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/probemodem.8c.gz
Lee Howard 7c2f854
%dir %{_sysconfdir}/hylafax
Lee Howard 7c2f854
%config(noreplace) %{_sysconfdir}/hylafax/hfaxd.conf
Lee Howard 7c2f854
%dir %{faxspool}/config
Lee Howard 7c2f854
%dir %{faxspool}/dev
Lee Howard 7c2f854
%{faxspool}/config/*
Lee Howard 7c2f854
%{faxspool}/bin/dict/*
Lee Howard 7c2f854
%{faxspool}/bin/auto-rotate.ps
Lee Howard 7c2f854
%{faxspool}/etc/cover.templ
Lee Howard 7c2f854
%{faxspool}/etc/lutRS18.pcf
Lee Howard 7c2f854
%{faxspool}/etc/LiberationSans-25.pcf
f760b9e
%config(noreplace) %{_sysconfdir}/sysconfig/hylafax+
Lee Howard 7c2f854
%defattr(755,root,root,-)
Lee Howard 4ddcf93
%{_sysconfdir}/cron.daily/hylafax+
Lee Howard 4ddcf93
%{_sysconfdir}/cron.hourly/hylafax+
Lee Howard 4ddcf93
%{_sbindir}/choptest
Lee Howard 4ddcf93
%{_sbindir}/cqtest
Lee Howard 4ddcf93
%{_sbindir}/faxabort
Lee Howard 4ddcf93
%{_sbindir}/faxaddmodem
Lee Howard 4ddcf93
%{_sbindir}/faxadduser
Lee Howard 4ddcf93
%{_sbindir}/faxanswer
Lee Howard 4ddcf93
%{_sbindir}/faxconfig
Lee Howard 4ddcf93
%{_sbindir}/faxcron
Lee Howard 4ddcf93
%{_sbindir}/faxdeluser
Lee Howard 4ddcf93
%{_sbindir}/faxgetty
Lee Howard 4ddcf93
%{_sbindir}/faxlock
Lee Howard 4ddcf93
%{_sbindir}/faxmodem
Lee Howard 4ddcf93
%{_sbindir}/faxmsg
Lee Howard 4ddcf93
%{_sbindir}/faxq
Lee Howard 4ddcf93
%{_sbindir}/faxqclean
Lee Howard 4ddcf93
%{_sbindir}/faxquit
Lee Howard 4ddcf93
%{_sbindir}/faxsend
Lee Howard 4ddcf93
%{_sbindir}/faxstate
Lee Howard 4ddcf93
%{_sbindir}/hfaxd
Lee Howard 4ddcf93
%{_sbindir}/hylafax
Lee Howard 4ddcf93
%{_sbindir}/lockname
Lee Howard 4ddcf93
%{_sbindir}/ondelay
Lee Howard 4ddcf93
%{_sbindir}/pagesend
Lee Howard 4ddcf93
%{_sbindir}/probemodem
Lee Howard 4ddcf93
%{_sbindir}/recvstats
Lee Howard 4ddcf93
%{_sbindir}/tagtest
Lee Howard 4ddcf93
%{_sbindir}/tsitest
Lee Howard 4ddcf93
%{_sbindir}/xferfaxstats
Lee Howard 7c2f854
%{faxspool}/bin/archive
Lee Howard 7c2f854
%{faxspool}/bin/dictionary
Lee Howard 7c2f854
%{faxspool}/bin/faxrcvd
Lee Howard 7c2f854
%{faxspool}/bin/mkcover
Lee Howard 7c2f854
%{faxspool}/bin/notify
Lee Howard 7c2f854
%{faxspool}/bin/pollrcvd
Lee Howard 7c2f854
%{faxspool}/bin/qp-encode.awk
Lee Howard 7c2f854
%{faxspool}/bin/rfc2047-encode.awk
Lee Howard 7c2f854
%{faxspool}/bin/wedged
Lee Howard 7c2f854
%defattr(-,uucp,uucp,-)
Lee Howard 7c2f854
%dir %{faxspool}
Lee Howard 7c2f854
%dir %{faxspool}/client
Lee Howard 7c2f854
%dir %{faxspool}/etc
Lee Howard 7c2f854
%dir %{faxspool}/info
Lee Howard 7c2f854
%dir %{faxspool}/log
Lee Howard 7c2f854
%dir %{faxspool}/recvq
Lee Howard 7c2f854
%dir %{faxspool}/status
Lee Howard 7c2f854
%config(noreplace) %{faxspool}/etc/xferfaxlog
Lee Howard 7c2f854
%attr(700,uucp,uucp) %dir %{faxspool}/docq
Lee Howard 7c2f854
%attr(700,uucp,uucp) %dir %{faxspool}/doneq
Lee Howard 7c2f854
%attr(700,uucp,uucp) %dir %{faxspool}/archive
Lee Howard 7c2f854
%attr(700,uucp,uucp) %dir %{faxspool}/sendq
Lee Howard 7c2f854
%attr(700,uucp,uucp) %dir %{faxspool}/tmp
Lee Howard 7c2f854
%attr(700,uucp,uucp) %dir %{faxspool}/pollq
Lee Howard 7c2f854
%defattr(600,uucp,uucp,-)
Lee Howard 7c2f854
%config(noreplace) %{faxspool}/etc/hosts.hfaxd
Lee Howard 7c2f854
Lee Howard 4ddcf93
%files client
Lee Howard 4ddcf93
%doc CHANGES CONTRIBUTORS COPYRIGHT README TODO VERSION
Lee Howard 4ddcf93
%{_libdir}/libfaxutil*
Lee Howard 4ddcf93
%{_mandir}/man1/*
Lee Howard 4ddcf93
%{_mandir}/man5/dialrules.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man5/pagesizes.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man5/typerules.5f.gz
Lee Howard 4ddcf93
%{_mandir}/man8/dialtest.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxinfo.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxwatch.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxsetup.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/pdf2fax.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/tiff2fax.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/tiffcheck.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxfetch.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/faxsetup.linux.8c.gz
Lee Howard 4ddcf93
%{_mandir}/man8/typetest.8c.gz
Lee Howard 4ddcf93
%dir %{_sysconfdir}/hylafax
Lee Howard 4ddcf93
%dir %{_sysconfdir}/hylafax/faxmail
Lee Howard 4ddcf93
%dir %{_sysconfdir}/hylafax/faxmail/application
Lee Howard 4ddcf93
%dir %{_sysconfdir}/hylafax/faxmail/image
Lee Howard 4ddcf93
%config(noreplace) %{_sysconfdir}/hylafax/faxcover.ps
Lee Howard 4ddcf93
%config(noreplace) %{_sysconfdir}/hylafax/faxmail.ps
Lee Howard 4ddcf93
%config(noreplace) %{_sysconfdir}/hylafax/pagesizes
Lee Howard 4ddcf93
%config(noreplace) %{_sysconfdir}/hylafax/typerules
Lee Howard 4ddcf93
%{faxspool}/bin/genfontmap.ps
Lee Howard 4ddcf93
%config(noreplace) %{faxspool}/etc/dialrules*
Lee Howard 4ddcf93
%defattr(755,root,root,-)
Lee Howard 4ddcf93
%{_bindir}/*
Lee Howard 4ddcf93
%{_sbindir}/dialtest
Lee Howard 4ddcf93
%{_sbindir}/edit-faxcover
Lee Howard 4ddcf93
%{_sbindir}/faxfetch
Lee Howard 4ddcf93
%{_sbindir}/faxinfo
Lee Howard 4ddcf93
%{_sbindir}/faxsetup
Lee Howard 4ddcf93
%{_sbindir}/faxsetup.linux
Lee Howard 4ddcf93
%{_sbindir}/faxwatch
Lee Howard 4ddcf93
%{_sbindir}/textfmt
Lee Howard 4ddcf93
%{_sbindir}/tiffcheck
Lee Howard 4ddcf93
%{_sbindir}/typetest
Lee Howard 4ddcf93
%{faxspool}/bin/common-functions
Lee Howard 4ddcf93
%{faxspool}/bin/pcl2fax
Lee Howard 4ddcf93
%{faxspool}/bin/pdf2fax.gs
Lee Howard 4ddcf93
%{faxspool}/bin/ps2fax.gs
Lee Howard 4ddcf93
%{faxspool}/bin/tiff2fax
Lee Howard 4ddcf93
%{faxspool}/bin/tiff2pdf
Lee Howard 6dfce9d
%{_sysconfdir}/hylafax/faxmail/application/binary
Lee Howard 4ddcf93
%{_sysconfdir}/hylafax/faxmail/application/pdf
Lee Howard 4ddcf93
%{_sysconfdir}/hylafax/faxmail/application/octet-stream
Lee Howard 4ddcf93
%{_sysconfdir}/hylafax/faxmail/image/tiff
Lee Howard 4ddcf93
%defattr(-,uucp,uucp,-)
Lee Howard 4ddcf93
%dir %{faxspool}
Lee Howard 4ddcf93
%dir %{faxspool}/etc
Lee Howard 4ddcf93
Lee Howard 7c2f854
%changelog
d9427ee
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.7-2
d9427ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d9427ee
Lee Howard 91402d5
* Mon Dec 28 2015 Lee Howard <faxguy@howardsilvan.com> 5.5.7-1
Lee Howard 91402d5
- update to 5.5.7
Lee Howard 91402d5
- add hylafax-faxgetty@.service
Lee Howard 91402d5
- allow sysconfig/hylafax+ to disable faxqclean from being run
Lee Howard 91402d5
- fix lockdir location for recent dist releases
Lee Howard 91402d5
e321098
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.6-2
e321098
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e321098
Lee Howard a6f4d15
* Mon Apr 27 2015 Lee Howard <faxguy@howardsilvan.com> 5.5.6-1
Lee Howard a6f4d15
- update to 5.5.6
Lee Howard a6f4d15
f760b9e
* Sun Feb 22 2015 Robert Scheck <robert@fedoraproject.org> 5.5.5-5
f760b9e
- allow the package building for RHEL >= 7 with systemd support
f760b9e
- build using lcms2 on all Fedora branches and also RHEL >= 7
f760b9e
- add build requirements to sendmail(1), ghostscript and mgetty
f760b9e
- correct wrong day of the week in %%changelog to silence rpm
f760b9e
- correct permissions of %%{_sysconfdir}/sysconfig/hylafax+ file
f760b9e
05734bd
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.5-4
05734bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
05734bd
Rex Dieter f71100a
* Thu Aug 14 2014 Rex Dieter <rdieter@fedoraproject.org> 5.5.5-3
Rex Dieter f71100a
- rebuild (jbigkit)
Rex Dieter f71100a
3a43e4f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.5-2
3a43e4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3a43e4f
Lee Howard 94a3291
* Mon May 26 2014 Lee Howard <faxguy@howardsilvan.com> - 5.5.5-1
Lee Howard 94a3291
- update to 5.5.5
Lee Howard 94a3291
Lee Howard a12fd89
* Thu Apr 24 2014 Lee Howard <faxguy@howardsilvan.com> - 5.5.4-3
Lee Howard a12fd89
- add uucp dependency for build and install, bug 998737
Lee Howard a12fd89
Lee Howard 1554886
* Sat Sep 14 2013 Lee Howard <faxguy@howardsilvan.com> - 5.5.4-2
Lee Howard a12fd89
- fix preun stop call to hylafax+ (and not hylafax)
Lee Howard 1554886
Lee Howard b8f2d2a
* Tue Aug 06 2013 Lee Howard <faxguy@howardsilvan.com> - 5.5.4-1
Lee Howard b8f2d2a
- update to 5.5.4
Lee Howard b8f2d2a
- add _hardened_build 1 per https://bugzilla.redhat.com/show_bug.cgi?id=955168
Lee Howard b8f2d2a
efbbf40
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.3-5
efbbf40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
efbbf40
e3a96f3
* Sun Apr 14 2013 Robert Scheck <robert@fedoraproject.org> 5.5.3-4
e3a96f3
- ship hylafax+ initscript only in base, not in both packages
e3a96f3
306bb1d
* Sat Apr 13 2013 Robert Scheck <robert@fedoraproject.org> 5.5.3-3
306bb1d
- ensure that hylafax+-client has same architecture like base
306bb1d
- obsolete hylafax-client packages in favor of hylafax+-client
306bb1d
- added option to disable daily faxcron like in other hylafax
306bb1d
- added %%{_sysconfdir}/sysconfig/hylafax+ also for RHEL 5 & 6
306bb1d
- use $HFAXD_OPTIONS in hylafax+ initscript on RHEL 5 and 6
306bb1d
- added $FAXQ_OPTIONS to hylafax+ initscript for RHEL 5 and 6
306bb1d
Lee Howard fa9a239
* Tue Feb 26 2013 Lee Howard <faxguy@howardsilvan.com> - 5.5.3-2
Lee Howard fa9a239
- add Group tag for client package
Lee Howard fa9a239
Lee Howard 7fd21a2
* Mon Feb 25 2013 Lee Howard <faxguy@howardsilvan.com> - 5.5.3-1
Lee Howard 4ddcf93
- update to 5.5.3
Lee Howard 4ddcf93
- break out client utilities into hylafax+-client package
Lee Howard 4ddcf93
- add sysconfig feature
Lee Howard 4ddcf93
84b48cd
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.2-9
84b48cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
84b48cd
Adam Tkac e0d3da2
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 5.5.2-8
Adam Tkac e0d3da2
- rebuild due to "jpeg8-ABI" feature drop
Adam Tkac e0d3da2
Lee Howard 020c9d4
* Sat Dec 15 2012 Lee Howard <faxguy@howardsilvan.com> - 5.5.2-7
Lee Howard 020c9d4
- make jbigkit-devel BuildRequires conditional for Fedora >= 16
Lee Howard 020c9d4
Lee Howard 7c2f854
* Tue Dec 11 2012 Lee Howard <faxguy@howardsilvan.com> - 5.5.2-6
Lee Howard 7c2f854
- make dependency on systemd-units and system instead of /bin/systemctl
Lee Howard 7c2f854
- modify systemd scriptlets
Lee Howard 7c2f854
- use defattr to accomodate correct permissions for mock builds
Lee Howard 7c2f854
Lee Howard 7c2f854
* Sat Dec 8 2012 Lee Howard <faxguy@howardsilvan.com> - 5.5.2-5
Lee Howard 7c2f854
- remove defattr from files
Lee Howard 7c2f854
- rename patches and all but Source0 to hylafax+
Lee Howard 7c2f854
- remove config(noreplace) from FIFO
Lee Howard 7c2f854
- add /bin/systemctl build dependency for Fedora > 16
Lee Howard 7c2f854
Lee Howard 7c2f854
* Mon Dec 3 2012 Lee Howard <faxguy@howardsilvan.com> - 5.5.2-4
Lee Howard 7c2f854
- add missing man pages
Lee Howard 7c2f854
f760b9e
* Sun Nov 4 2012 Lee Howard <faxguy@howardsilvan.com> - 5.5.2-3
Lee Howard 7c2f854
- spec optimizations
Lee Howard 7c2f854
- clarify linkage in libfaxserver
Lee Howard 7c2f854
- add systemd support
Lee Howard 7c2f854
Lee Howard 7c2f854
* Thu Nov 1 2012 Lee Howard <faxguy@howardsilvan.com> - 5.5.2-2
Lee Howard 7c2f854
- change package name to hylafax+
Lee Howard 7c2f854
- add Provides: hylafax
Lee Howard 7c2f854
Lee Howard 7c2f854
* Sat Oct 13 2012 Lee Howard <faxguy@howardsilvan.com> - 5.5.2-1
Lee Howard 7c2f854
- update to 5.5.2
Lee Howard 7c2f854
f760b9e
* Thu Jan 12 2012 Lee Howard <faxguy@howardsilvan.com> - 5.5.1-1
Lee Howard 7c2f854
- update to 5.5.1
Lee Howard 7c2f854
Lee Howard 7c2f854
* Sat Dec 18 2010 Lee Howard <faxguy@howardsilvan.com> - 5.5.0-1
Lee Howard 7c2f854
- update to 5.5.0
Lee Howard 7c2f854
f760b9e
* Wed Oct 13 2010 Lee Howard <faxguy@howardsilvan.com> - 5.4.3-1
Lee Howard 7c2f854
- update to 5.4.3
Lee Howard 7c2f854
Lee Howard 7c2f854
* Sun May 2 2010 Lee Howard <faxguy@howardsilvan.com> - 5.4.2-1
Lee Howard 7c2f854
- update to 5.4.2
Lee Howard 7c2f854
Lee Howard 7c2f854
* Mon Feb 22 2010 Lee Howard <faxguy@howardsilvan.com> - 5.4.1-1
Lee Howard 7c2f854
- update to 5.4.1
Lee Howard 7c2f854
f760b9e
* Wed Dec 23 2009 Lee Howard <faxguy@howardsilvan.com> - 5.4.0-1
Lee Howard 7c2f854
- update to 5.4.0
Lee Howard 7c2f854
- add lcms-devel build dependency
Lee Howard 7c2f854
f760b9e
* Sun Oct 25 2009 Lee Howard <faxguy@howardsilvan.com> - 5.3.0-1
Lee Howard 7c2f854
- update to 5.3.0
Lee Howard 7c2f854
Lee Howard 7c2f854
* Sat Feb 28 2009 Lee Howard <faxguy@howardsilvan.com> - 5.2.9-1
Lee Howard 7c2f854
- update to 5.2.9
Lee Howard 7c2f854
- remove "Provides: hylafax"
Lee Howard 7c2f854
Lee Howard 7c2f854
* Sun Dec 21 2008 Lee Howard <faxguy@howardsilvan.com> - 5.2.8-1
Lee Howard 7c2f854
- update to 5.2.8
Lee Howard 7c2f854
Lee Howard 7c2f854
* Mon Apr 28 2008 Lee Howard <faxguy@howardsilvan.com> - 5.2.4-3
Lee Howard 7c2f854
- openldap-devel and pam-devel build dependencies
Lee Howard 7c2f854
Lee Howard 7c2f854
* Wed Apr 23 2008 Lee Howard <faxguy@howardsilvan.com> - 5.2.4-1
Lee Howard 7c2f854
- update to 5.2.4
Lee Howard 7c2f854
Lee Howard 7c2f854
* Sat Mar 29 2008 Lee Howard <faxguy@howardsilvan.com> - 5.2.3-1
Lee Howard 7c2f854
- update to 5.2.3
Lee Howard 7c2f854
Lee Howard 7c2f854
* Fri Jan 18 2008 Lee Howard <faxguy@howardsilvan.com> - 5.2.2-1
Lee Howard 7c2f854
- make licensing BSD, initscript is not config, remove libtiff dependency
Lee Howard 7c2f854
Lee Howard 7c2f854
* Thu Nov 8 2007 Lee Howard <faxguy@howardsilvan.com> - 5.1.11-1
Lee Howard 7c2f854
- add libtiff dependency
Lee Howard 7c2f854
Lee Howard 7c2f854
* Thu Aug 2 2007 Lee Howard <faxguy@howardsilvan.com> - 5.1.7-1
Lee Howard 7c2f854
- update to 5.1.7
Lee Howard 7c2f854
Lee Howard 7c2f854
* Sat Jul 14 2007 Lee Howard <faxguy@howardsilvan.com> - 5.1.6-1
Lee Howard 7c2f854
- accomodate MIMEConverter script location change
Lee Howard 7c2f854
Lee Howard 7c2f854
* Fri Mar 23 2007 Lee Howard <faxguy@howardsilvan.com> - 5.1.2-1
Lee Howard 7c2f854
- made faxq's FIFO "noreplace" to keep upgrades from messing up a running faxq
Lee Howard 7c2f854
Lee Howard 7c2f854
* Thu Mar  8 2007 Lee Howard <faxguy@howardsilvan.com> - 5.1.1-1
Lee Howard 7c2f854
- update to 5.1.1
Lee Howard 7c2f854
Lee Howard 7c2f854
* Thu Feb 22 2007 Lee Howard <faxguy@howardsilvan.com> - 5.1.0-1
Lee Howard 7c2f854
- update to 5.1.0
Lee Howard 7c2f854
Lee Howard 7c2f854
* Thu Jan 11 2007 Lee Howard <faxguy@howardsilvan.com> - 5.0.4-1
Lee Howard 7c2f854
- update to 5.0.4
Lee Howard 7c2f854
f760b9e
* Mon Jan 1 2007 Lee Howard <faxguy@howardsilvan.com> - 5.0.3-1
Lee Howard 7c2f854
- update to 5.0.3
Lee Howard 7c2f854
Lee Howard 7c2f854
* Wed Dec 13 2006 Lee Howard <faxguy@howardsilvan.com> - 5.0.2-1
Lee Howard 7c2f854
- update to 5.0.2
Lee Howard 7c2f854
Lee Howard 7c2f854
* Wed Nov 1 2006 Lee Howard <faxguy@howardsilvan.com> - 5.0.0-1
Lee Howard 7c2f854
- update to 5.0.0
Lee Howard 7c2f854
- disable build of debuginfo package
Lee Howard 7c2f854
- change ownership of config and dev to root,root
Lee Howard 7c2f854
- move changelog to the end of the spec file
Lee Howard 7c2f854
Lee Howard 7c2f854
* Mon Sep 18 2006 Lee Howard <faxguy@howardsilvan.com> - 4.3.0.11-1
Lee Howard 7c2f854
- update to 4.3.0.1
Lee Howard 7c2f854
Lee Howard 7c2f854
* Tue Apr 11 2006 Lee Howard <faxguy@howardsilvan.com> - 4.2.5.6-1
Lee Howard 7c2f854
- update to 4.2.5.6
Lee Howard 7c2f854
Lee Howard 7c2f854
* Tue Apr 11 2006 Lee Howard <faxguy@howardsilvan.com> - 4.2.5.5-1
Lee Howard 7c2f854
- initial 4.2.5.5 build