Summary: Portable Document Format (PDF) file viewer Name: xpdf Version: 0.7a Release: 9 Group: X11/Applications Copyright: freeware/distributable/encryption Source: ftp://ftp.foolabs.com/pub/xpdf/xpdf-0.7a.tar.gz Vendor: Derek B. Noonburg Packager: Tony Nugent URL: http://www.foolabs.com/xpdf/ Source1: README.decryption Source2: xpdf.wmconfig Patch1: xpdf-0.7a-patch1 Patch2: xpdf-0.7a-patch2 Patch3: xpdf-0.7a-patch3 Group: X11/Applications BuildRoot: /var/tmp/xpdf %description Xpdf is a viewer for Portable Document Format (PDF) files. (These are also sometimes also called 'Acrobat' files, from the name of Adobe's PDF software.) Xpdf is designed to be small and efficient. It does not use the Motif or Xt libraries. It uses standard X fonts. Xpdf is quite usable on a 486-66 PC running Linux. This version has had decryption patches added. %changelog * Sat Oct 31 1998 Tony Nugent - various changes to the spec file to include the decryption README into the install %doc directory. - updated the URLs in the spec and README.decryption files to reflect Derek's new home at foolabs.com * Mon Oct 26 1998 Tony Nugent - added documentation for decryption patch * Sat Sep 26 1998 Tony Nugent - added patch3 - encryption patches - kept --prefix=/usr/X11 rather than /usr - really need to add a README file about the encryption routines * Sun Mar 15 1998 Joel Young - modified to use BuildRoot, %attr, to gzip the manpages, and moved - into the X11R6 hierarchy (since it is an X app). - released as new version with go-ahead from Michal Jaegermann * Thu Mar 12 1998 Michal Jaegermann - corrections to Type3 fonts handling code from the author (Derek B. Noonburg ) remove a need for -mieee workaround * Thu Mar 5 1998 Michal Jaegermann - recompiled from a new release 0-7a including xpdf-0.7a-patch1 for Makefiles from the author. - added -mieee to compilation flags to avoid Alpha floating point problems * Wed Feb 18 1998 Michal Jaegermann - fixed off-by-one error in Stream.cc; nasty stack kill on Alpha * Thu Nov 20 1997 Otto Hammersmith - added changelog - added wmconfig %prep %setup %patch1 -p1 %patch2 -p1 %patch3 -p1 pwd echo $RPM_SOURCE_DIR ls $RPM_SOURCE_DIR echo $RPM_BUILD_DIR ls $RPM_BUILD_DIR echo $RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION ls $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION cp $RPM_SOURCE_DIR/README.decryption $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION %build env CFLAGS="$RPM_OPT_FLAGS" \ CXXFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=/usr/X11R6 --with-gzip make %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/X11R6/{bin,man/man1} make prefix=$RPM_BUILD_ROOT/usr/X11R6 install mkdir -p $RPM_BUILD_ROOT/etc/X11/wmconfig install $RPM_SOURCE_DIR/xpdf.wmconfig $RPM_BUILD_ROOT/etc/X11/wmconfig/xpdf install -m 644 -o root -g root $RPM_SOURCE_DIR/xpdf.wmconfig \ $RPM_BUILD_ROOT/etc/X11/wmconfig/xpdf %files %attr(0644,root,root) %doc ANNOUNCE CHANGES README README.decryption %attr(0755,root,root) /usr/X11R6/bin/* %attr(0644,root,root) /usr/X11R6/man/man1/* %attr(0644,root,root) %config /etc/X11/wmconfig/xpdf %clean rm -rf $RPM_BUILD_ROOT