From a78f846514a5a38d1863082bef19b47c5508dc4c Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 23:46:53 +0100 Subject: [PATCH] automatic version update by autodist [release 6.0.6-1mamba;Sun Jun 10 2012] --- README.md | 9 ++ hylafax-6.0.5-gcc45.patch | 12 ++ hylafax.spec | 242 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 263 insertions(+) create mode 100644 hylafax-6.0.5-gcc45.patch create mode 100644 hylafax.spec diff --git a/README.md b/README.md index af639f0..ebca40d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # hylafax +HylaFAX is an enterprise-class system for sending and receiving facsimiles as well as for sending alpha-numeric pages. +The software is designed around a client-server architecture. +Fax modems may reside on a single machine on a network and clients can submit an outbound job from any other machine on the network. +Client software is designed to be lightweight and easy to port. +HylaFAX is designed to be very robust and reliable. +The fax server is designed to guard against unexpected failures in the software, in the configuration, in the hardware and in general use. +HylaFAX can support multiple modems and a heavy traffic load. +If you expect to send more than a few facsimiles a day, then HylaFAX is the fax package for you! + diff --git a/hylafax-6.0.5-gcc45.patch b/hylafax-6.0.5-gcc45.patch new file mode 100644 index 0000000..fcd5d09 --- /dev/null +++ b/hylafax-6.0.5-gcc45.patch @@ -0,0 +1,12 @@ +diff -Nru hylafax-6.0.5.orig//configure hylafax-6.0.5/configure +--- hylafax-6.0.5.orig//configure 2011-03-28 17:01:20.670053643 +0200 ++++ hylafax-6.0.5/configure 2011-03-28 17:02:18.815721010 +0200 +@@ -2882,7 +2882,7 @@ + echo '#define HAS_FCHMOD 1' + Note "... configure use of fchmod" + CheckFuncDecl fchmod 'extern int fchmod(int, mode_t);' \ +- unistd.h libc.h $OSFCNH sys/stat.h ++ unistd.h $OSFCNH sys/stat.h libc.h + } + CheckFuncDecl mknod 'extern int mknod(const char*, mode_t, dev_t);' \ + unistd.h sys/stat.h diff --git a/hylafax.spec b/hylafax.spec new file mode 100644 index 0000000..d366e3d --- /dev/null +++ b/hylafax.spec @@ -0,0 +1,242 @@ +%define dirspool /var/spool/hylafax +%define dirlibdata /var/lib/fax +%define libname libhylafax + +Name: hylafax +Version: 6.0.6 +Release: 1mamba +Summary: An enterprise-class system for sending and receiving facsimiles +Group: System/Telephony +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://www.hylafax.org/ +Source: ftp://ftp.hylafax.org/source/hylafax-%{version}.tar.gz +Patch0: %{name}-6.0.5-gcc45.patch +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: libtiff-devel +BuildRequires: libz-devel +BuildRequires: pam-devel +BuildRequires: sharutils +## AUTOBUILDREQ-END +BuildRequires: libjbig-devel +BuildRequires: ghostscript +BuildRequires: tiff-utils +Requires: sharutils +Requires: /usr/sbin/sendmail +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +# FIXME: +# WARNING, no vgetty program found to handle a voice call, using /bin/vgetty. +# WARNING, no egetty program found, using /bin/egetty. + +%description +HylaFAX is an enterprise-class system for sending and receiving facsimiles as well as for sending alpha-numeric pages. +The software is designed around a client-server architecture. +Fax modems may reside on a single machine on a network and clients can submit an outbound job from any other machine on the network. +Client software is designed to be lightweight and easy to port. +HylaFAX is designed to be very robust and reliable. +The fax server is designed to guard against unexpected failures in the software, in the configuration, in the hardware and in general use. +HylaFAX can support multiple modems and a heavy traffic load. +If you expect to send more than a few facsimiles a day, then HylaFAX is the fax package for you! + +%package client +Summary: Client tools for HylaFax +Group: System/Telephony +Requires: %{name} = %{version} + +%description client +HylaFAX is an enterprise-class system for sending and receiving facsimiles as well as for sending alpha-numeric pages. +The software is designed around a client-server architecture. +Fax modems may reside on a single machine on a network and clients can submit an outbound job from any other machine on the network. +Client software is designed to be lightweight and easy to port. +HylaFAX is designed to be very robust and reliable. +The fax server is designed to guard against unexpected failures in the software, in the configuration, in the hardware and in general use. +HylaFAX can support multiple modems and a heavy traffic load. +If you expect to send more than a few facsimiles a day, then HylaFAX is the fax package for you! + +This is the client package. + +%package server +Summary: HylaFax server +Group: System/Servers +Requires: %{name} = %{version} + +%description server +HylaFAX is an enterprise-class system for sending and receiving facsimiles as well as for sending alpha-numeric pages. +The software is designed around a client-server architecture. +Fax modems may reside on a single machine on a network and clients can submit an outbound job from any other machine on the network. +Client software is designed to be lightweight and easy to port. +HylaFAX is designed to be very robust and reliable. +The fax server is designed to guard against unexpected failures in the software, in the configuration, in the hardware and in general use. +HylaFAX can support multiple modems and a heavy traffic load. +If you expect to send more than a few facsimiles a day, then HylaFAX is the fax package for you!! + +This is the server package. + +%package -n %{libname} +Summary: Hylafax shared libraries +Group: System/Libraries + +%description -n %{libname} +HylaFAX is an enterprise-class system for sending and receiving facsimiles as well as for sending alpha-numeric pages. +The software is designed around a client-server architecture. +Fax modems may reside on a single machine on a network and clients can submit an outbound job from any other machine on the network. +Client software is designed to be lightweight and easy to port. +HylaFAX is designed to be very robust and reliable. +The fax server is designed to guard against unexpected failures in the software, in the configuration, in the hardware and in general use. +HylaFAX can support multiple modems and a heavy traffic load. +If you expect to send more than a few facsimiles a day, then HylaFAX is the fax package for you!! + +This is the shared librairies of HylaFAX. + +%package -n %{libname}-devel +Summary: Devel files for HylaFAX +Group: Development/Libraries +Requires: %{name} = %{version} + +%description -n %{libname}-devel +HylaFAX is an enterprise-class system for sending and receiving facsimiles as well as for sending alpha-numeric pages. +The software is designed around a client-server architecture. +Fax modems may reside on a single machine on a network and clients can submit an outbound job from any other machine on the network. +Client software is designed to be lightweight and easy to port. +HylaFAX is designed to be very robust and reliable. +The fax server is designed to guard against unexpected failures in the software, in the configuration, in the hardware and in general use. +HylaFAX can support multiple modems and a heavy traffic load. +If you expect to send more than a few facsimiles a day, then HylaFAX is the fax package for you!! + +This package contains files need for development. + +%prep +%setup -q +#%patch0 -p1 +sed -i "s|-ljbig|-L/usr/lib -ljbig|" configure + +%build +./configure \ + --nointeractive \ + --with-DIR_BIN=%{_bindir} \ + --with-DIR_SBIN=%{_sbindir} \ + --with-DIR_LIB=%{_libdir} \ + --with-DIR_LIBEXEC=%{_sbindir} \ + --with-DIR_MAN=%{_mandir} \ + --with-DIR_LIBDATA=%{dirlibdata} \ + --with-DIR_SPOOL=%{dirspool} \ + --with-DIR_HTML=/var/www/html/hylafax \ + --with-AWK=/usr/bin/gawk \ + --with-PAGESIZE=A4 + +make OPTIMIZER="%{optflags}" + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +install -d %{buildroot}%{_bindir} +install -d %{buildroot}%{_sbindir} +install -d %{buildroot}%{_mandir} +install -d %{buildroot}%{_libdir} +install -d %{buildroot}%{_initrddir} +install -d %{buildroot}%{dirspool} +install -d %{buildroot}%{dirlibdata} + +make install \ + DESTDIR=%{buildroot} \ + SBIN=%{buildroot}%{_sbindir} \ + LIBEXEC=%{buildroot}%{_sbindir} \ + BIN=%{buildroot}%{_bindir} \ + MAN=%{buildroot}%{_mandir} \ + LIBDIR=%{buildroot}%{_libdir} \ + SPOOL=%{buildroot}%{dirspool} \ + DIR_SYSVINIT=%{buildroot}%{_initrddir} \ + LIBDATA=%{buildroot}%{dirlibdata} + +#(cd %{buildroot}%{faxspool}/bin; ln -s ps2fax.gs ps2fax) + +rm -f %{buildroot}%{_sbindir}/faxsetup.{bsdi,irix} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%attr(755,root,root) %{_sbindir}/faxsetup +%attr(755,root,root) %{_sbindir}/faxsetup.linux +%doc CONTRIBUTORS COPYRIGHT README TODO + +%files client +%defattr(-,root,root) +%{_bindir}/* +%attr(755,root,root) %{_sbindir}/edit-faxcover +%attr(755,root,root) %{_sbindir}/textfmt +%{_mandir}/man1/* + +%files server +%defattr(-,root,root) +%attr(755,root,root) %{_sbindir}/* +%exclude %{_sbindir}/faxsetup +%exclude %{_sbindir}/faxsetup.* +%exclude %{_sbindir}/edit-faxcover +%exclude %{_sbindir}/textfmt +%attr(755,root,root) %{_initrddir}/hylafax +%dir %{dirspool} +%{dirspool}/* +%dir %{dirlibdata} +%{dirlibdata}/* +%{_mandir}/man5/* +%{_mandir}/man8/* + +%files -n %{libname} +%defattr(-,root,root) +%{_libdir}/*.so.* + +%files -n %{libname}-devel +%defattr(-,root,root) +##%#{_libdir}/*.so + +%changelog +* Sun Jun 10 2012 Automatic Build System 6.0.6-1mamba +- automatic version update by autodist + +* Mon Mar 28 2011 Automatic Build System 6.0.5-1mamba +- automatic update by autodist + +* Sat Jan 16 2010 Automatic Build System 6.0.4-1mamba +- automatic update by autodist + +* Sun Jul 05 2009 Tiziana Ferro 6.0.2-1mamba +- update to 6.0.2 +- added libjbig support +- added pam support + +* Thu Apr 06 2006 Silvan Calarco 4.2.5-1qilnx +- update to version 4.2.5 by autospec +- removed dependency on qmail, added requirement for /usr/sbin/sendmail + +* Wed Oct 12 2005 Davide Madrisan 4.2.1-3qilnx +- fixed DIR_LIBEXEC directory + +* Mon Oct 10 2005 Davide Madrisan 4.2.1-2qilnx +- security fix: QSA-2005-116 (CAN-2005-3069) +- fixed initscript permissions +- compile using %%optflags optimizations +- use A4 for default pagesize +- new packages %{libname}, %{libname}-devel + +* Wed Apr 27 2005 Davide Madrisan 4.2.1-1qilnx +- update to version 4.2.1 by autospec +- also fix the security issue QSA-2005-054 (CAN-2004-1182) +- added %%post and %%postun scripts +- fixed license + +* Wed Nov 12 2003 Davide Madrisan 4.1.8-1qilnx +- rebuilt with 4.1.8 (important security fixes) + +* Wed Jun 11 2003 Silvan Calarco 4.1.5-1qilnx +- first build of HylaFax