Summary: Ascii to PostScript (Perl version)
Name: a2ps.pl
Version: 1.41
Release: 1c
Copyright: non-commercaial-use-only
Group: Utilities/Text
Source: ftp://ftp.sra.co.jp/pub/lang/perl/scripts/utashiro-scripts/a2ps.pl-1.41
BuildRoot: %{_tmppath}/a2ps.pl
# Packager: Atsushi Yamagata <yamagata@jwu.ac.jp>
Packager: Keisuke Fujii <fujiik@jlcxuf.kek.jp>
BuildArch: noarch

%description
This program is perl version of Miguel Santana's a2ps.

%prep
rm -fr $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
mkdir $RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
cd    $RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
cp $RPM_SOURCE_DIR/a2ps.pl-1.41 .
sed -e s,'/usr/local/bin/perl','/usr/bin/perl', a2ps.pl-1.41 >a2ps

%install
mkdir -p $RPM_BUILD_ROOT/usr/local/bin
install -c -m 0755 $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION/a2ps \
 $RPM_BUILD_ROOT/usr/local/bin

%clean
rm -fr $RPM_BUILD_ROOT

%files
/usr/local/bin/a2ps
