File a2ps-perl-ja.spec of Package a2ps-perl-ja

#
# spec file for package a2ps-perl-ja (Version 1.45)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           a2ps-perl-ja
License:        Any permissive
Group:          Productivity/Publishing/PS
Requires:       perl
Provides:       locale(ja)
Autoreqprov:    on
Version:        1.45
Release:        1
URL:            tp://ftp.sra.co.jp/pub/lang/perl/scripts/utashiro-scripts/
Source0:        ftp://ftp.sra.co.jp/pub/lang/perl/scripts/utashiro-scripts/a2ps.pl-1.45.bz2
Patch0:         a2ps-perl-ja.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArchitectures: noarch
Summary:        Perl Version of Miguel Santana's a2ps (with Japanese Support)
# Summary(ja): 
# Obsoletes: 

%description
This program is a Perl version of Miguel Santana's a2ps.  Postscript
Kanji enhancement was done by Naoki Kanazawa <kanazawa@sra.co.jp>.
Converted to perl and enhanced by Kazumasa Utashiro
<utashiro@iij.ad.jp>.  B4 support and punchmark was contributed by
Masami Ueno <cabbage@kki.esi.yamanashi.ac.jp>.



Authors:
--------
    Kazumasa Utashiro <utashiro@iij.ad.jp>

%prep
%setup0 -c %{name} -n %{name} -T
cp $RPM_SOURCE_DIR/a2ps.pl-%{version}.bz2 .
bunzip2 a2ps.pl-%{version}.bz2
%patch0 -p0
head -n 24 a2ps.pl-%{version} > Copyright

%build

%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
cp a2ps.pl-%{version} $RPM_BUILD_ROOT/usr/bin/a2ps.pl

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc Copyright
%attr(755, root, root) /usr/bin/a2ps.pl

%changelog
* Mon Jul 23 2007 - mfabian@suse.de
- update to 1.45 (better license now).
- add "Provides: locale(ja)".
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Feb 23 2004 - hmacht@suse.de
- building as non-root
* Thu Nov 23 2000 - mfabian@suse.de
- new package: perl-ja, Version 1.44
openSUSE Build Service is sponsored by