%define name fax2pdf %define version 0.1.3 %define release 2mdk Summary: A Fax to PDF converter Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Communications URL: https://sourceforge.net/projects/fax2pdf/ Source0: %{name}-%{version}.tar.bz2 Patch0: fax2pdf-patch01 Requires: hylafax-server BuildRequires: tiff-devel BuildRoot: %{_tmppath}/%{name}-buildroot %description This package contains the fax2pdf utility to convert Fax Files into PDF files. %prep %setup -q %patch0 -p1 %build make CFLAGS="%{optflags}" fax2pdf %install [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} install -m0755 fax2pdf %{buildroot}%{_bindir}/ %clean [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc ChangeLog MANIFEST %{_bindir}/fax2pdf %changelog * Sun Jun 06 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.1.3-2mdk - rebuilt with gcc v3.4.x * Sat May 08 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.1.3-1mdk - initial package