File a2ps-perl-ja.spec of Package a2ps-perl-ja
#
# spec file for package a2ps-perl-ja (Version 1.45)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# 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: 75
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
BuildArch: 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