# Note that this is NOT a relocatable package # for Mandrake, you might want to change the .gz extension to .bz2 # for the manpage (at the end of the file) %define ver @VERSION@ %define rel 1 %define prefix /usr Summary: The GNU HaliFAX - Viewer (for GNOME) Name: ghfaxviewer Version: %ver Release: %rel Obsoletes: gfaxviewer Copyright: GPL Group: Applications/GNOME Vendor: Wolfgang Sourdeau Source: ftp://ftp.gnu.org/gnu/halifax/ghfaxviewer-%{ver}.tar.gz BuildRoot: /var/tmp/ghfaxviewer-%{PACKAGE_VERSION}-root URL: http://www.ultim.net/~wolfgang/gfv.html Requires: gnome-libs >= 1.2.3 Requires: libtiff >= 3.4 %description This is the GNU HaliFAX Viewer, a component of GNU HaliFAX which will help you look at the TIFF g3/g4 fax files produced by HylaFAX . The GNU HaliFAX will be a complete free client package for HylaFAX and maybe for other fax systems in the future. It is intended to run on both the Win32 platform and the GNU system. %prep %setup %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix make %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{prefix} make mandir=%{?buildroot:%{buildroot}}%{_mandir} install-man %{makeinstall} %post %postun %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS TODO docs/README docs/README.cvs %{prefix}/bin/* %{prefix}/share/locale/*/LC_MESSAGES/%{name}.mo %{prefix}/share/pixmaps/ghfaxviewer/* %{prefix}/share/gnome/apps/Graphics/* %(_mandir}/man1/ghfaxviewer.1.gz