File a2ps-h.spec of Package a2ps-h

# spec file for package a2ps-h (Version 20010113)
# Copyright (c) 2010 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

# norootforbuild

Name:           a2ps-h
License:        GPL-2.0+
Group:          Hardware/Printing
Requires:       python
AutoReqProv:    on
Version:        20010113
Release:        657
Summary:        a2ps Support for Korean PostScript Filter (Python Version)
Source1:        a2ps-h-font.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

a2ps support for Korean PostScript filter (Python version).

    Hwang, ChiDeok <>



if [ -n "%{?buildroot}" ] ; then
   [ %{buildroot} != "/" ] && rm -rf %{buildroot}
mkdir -p %{buildroot}%{_prefix}/bin
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
install -m 755 %{SOURCE0} %{buildroot}%{_prefix}/bin/
head -n 18 %{SOURCE0} > %{buildroot}%{_defaultdocdir}/%{name}/Copyright
find %{buildroot}%{_prefix}/bin -name -exec patch {} %{SOURCE1} \;

rm -rf %{buildroot}

%defattr(-, root, root)
%dir %{_defaultdocdir}/%{name}
%attr(555, root, root) %{_prefix}/bin/