1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
# 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 <wolfgang@ultim.net>
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
|