# $Id: rpm.spec.in,v 1.1 2003/12/07 03:07:43 selinger Exp $ ###################################################################### # This file is used by "rpm" to create the source and binary # distributions for Redhat Package Manager. Summary: Calculates optimal page layout for n-up printing Name: @PACKAGE@ Version: @RPMVERSION@ Release: @RPMRELEASE@ Copyright: GNU Public License Group: Applications/Printing Source: http://quasar.mathstat.uottawa.ca/~selinger/@PACKAGE@/@PACKAGE@-@RPMVERSION@.tar.gz URL: http://quasar.mathstat.uottawa.ca/~selinger/@PACKAGE@/ Packager: Peter Selinger BuildRoot: /tmp/@PACKAGE@-buildroot %description psdim is a small utility to be used in conjunction with pstops. It looks at the contents of a postscript document to determine the size of the printed pages. From this, it calculates the optimal placement of the pages for n-up printing. It outputs a format string suitable for processing by pstops. %prep rm -rf $RPM_BUILD_ROOT %setup %build ./configure --prefix=%{_prefix} --bindir=%{_bindir} --datadir=%{_datadir} make %install make install-strip \ prefix=$RPM_BUILD_ROOT/%{_prefix} \ bindir=$RPM_BUILD_ROOT/%{_bindir} \ datadir=$RPM_BUILD_ROOT/%{_datadir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, 0755) %doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/* %{_datadir}/* %changelog