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 63 64 65 66 67 68 69 70
|
Summary: Prints the source files in PostScript
Name: trueprint
Version: 5.3
Release: 1
Source: ftp://ftp.gnu.org/pub/gnu/trueprint/trueprint-%{PACKAGE_VERSION}.tar.gz
Copyright: GPL
Group: Applications/Text
Vendor: Jan "Yenya" Kasprzak <kas@fi.muni.cz>
Packager: Jan "Yenya" Kasprzak <kas@fi.muni.cz>
BuildRoot: /var/tmp/trueprint-root
Prereq: info
Obsoletes: Trueprint
%description
Trueprint is a general purpose program printing program. It tries to produce
everything that anybody could need in a program printout without the need for
large numbers of switches or pipelines.
Trueprint can currently handle C, C++, Verilog, shell (including ksh),
perl, pascal, listing files and plain text files.
%changelog
* Tue Mar 20 2001 Lezz Giles <gilesfamily@mediaone.net>
- Updated to the 5.3 release.
* Wed Feb 16 2000 Lezz Giles <gilesfamily@mediaone.net>
- Updated to the 5.2.1 release.
* Wed Nov 3 1999 Lezz Giles <gilesfamily@mediaone.net>
- Updated to the 5.2 release.
* Sat Oct 30 1999 Jan "Yenya" Kasprzak <kas@fi.muni.cz>
- Updated to the 5.1 release.
- Strip trueprint (-s added to CFLAGS).
* Tue Jul 27 1999 Jan "Yenya" Kasprzak <kas@fi.muni.cz>
- Initial release
%prep
%setup -n trueprint-%{PACKAGE_VERSION}
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
make
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}/usr/{bin,lib,info,man/man1}
make prefix=${RPM_BUILD_ROOT}/usr install
strip ${RPM_BUILD_ROOT}/usr/bin/trueprint
%post
if [ $1 = 1 ]
then
/sbin/install-info --dir-file=/usr/info/dir /usr/info/trueprint.info
fi
%postun
if [ $1 = 0 ]
then
/sbin/install-info --dir-file=/usr/info/dir --remove /usr/info/trueprint.info
fi
%files
%attr(0755,root,root) /usr/bin/trueprint
%attr(0644,root,root) %doc /usr/man/man1/trueprint.1
%attr(0644,root,root) %config(noreplace) /usr/lib/printers
%attr(0644,root,root) %doc /usr/info/trueprint.info
%attr(0644,root,root) %doc BUGS NEWS README
|