File a2ps-perl-ja.spec of Package a2ps-perl-ja
#
# spec file for package a2ps-perl-ja
#
# Copyright (c) 2025 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: a2ps-perl-ja
Version: 1.45
Release: 0
Summary: Perl Version of Miguel Santana's a2ps (with Japanese Support)
License: Any permissive
Group: Productivity/Publishing/PS
URL: ftp://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
Requires: perl
Provides: locale(ja)
BuildArch: noarch
%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>.
%prep
%setup -c %{name} -n %{name} -T
cp %{_sourcedir}/a2ps.pl-%{version}.bz2 .
bunzip2 a2ps.pl-%{version}.bz2
%patch -P 0
head -n 24 a2ps.pl-%{version} > Copyright
%build
%install
mkdir -p %{buildroot}%{_bindir}
install -m 0755 a2ps.pl-%{version} %{buildroot}%{_bindir}/a2ps.pl
%files
%license Copyright
%{_bindir}/a2ps.pl
%changelog