plt - Software for 2D Plots 2.5

File: <base>/plt-2.5a/plt.spec (2,585 bytes)
Summary: A command-line utility for creating X11 and PostScript plots of data
Name: plt
Version: PLTVER
Release: PLTREL
Source0: %{name}-%{version}.tar.gz
License: GPL
Group: Applications
BuildRoot: %{_tmppath}/%{name}-root
Prefix: /usr

`plt' is a command-line, scriptable plotting utility originally written for
Unix by Paul Albrecht.  `plt' can produce publication-quality 2D plots in an X
window or in PostScript from easily-produced text or binary data files.  The
package includes `pltf', which can generate function plots using `bc' and
`plt', `imageplt', which can generate plots of grey-scale images, and `lwcat',
which can generate PDF and PNG plots using `plt' or `pltf' and ImageMagick
converters.  The entire package, including the X11 driver, works under
GNU/Linux, Mac OS X, MS-Windows, or any version of Unix.  The latest version,
including a complete manual with many examples, is available at

%setup -q

%ifarch x86_64
make XLIBDIR=/usr/X11R6/lib64 PSPDIR=/usr/lib64/ps

mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/bin
mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/lib/ps
mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/share/man/man1
make "INSTALL_PREFIX=${RPM_BUILD_ROOT}%{_prefix}" "PREFIX=%{_prefix}" "MAN1DIR=${RPM_BUILD_ROOT}%{_prefix}/share/man/manl" install

rm -rf ${RPM_BUILD_ROOT}


* Wed Apr 27 2005 George B Moody <>
- updated spec to work with updated Makefiles
* Thu May 01 2003 George B Moody <>
- added lwcat man page, updated doc/book.tex
* Wed Feb 26 2003 George B Moody <>
- added imageplt source, example, and man page
- avoid installing man pages in mandir to avoid conflict with wfdb-doc
* Thu Oct 17 2002 George B Moody <>
- Updated summary and package description, added missing files
* Thu Oct 17 2002 Isaac C Henry <>
- fixed install command to use temporary rpm build root
- changed '%files' listings to use rpm's path variables
* Fri Oct 1 2002 George B Moody <>
- 'make rpms' now works
* Mon Apr 1 2002 Isaac C Henry <>
- Initial rpm build