File a2ps-h.spec of Package a2ps-h

#
# spec file for package a2ps-h (Version 20010113)
#
# Copyright (c) 2004 SuSE Linux AG, 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://www.suse.de/feedback/
#

# norootforbuild
# usedforbuild    aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libselinux libstdc++ libxcrypt m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed sendmail strace syslogd sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils gcc gdbm gettext libtool perl rpm

Name:         a2ps-h
License:      GPL
Group:        Hardware/Printing
Requires:     python
Autoreqprov:  on
Version:      20010113
Release:      490
Summary:      a2ps support for Korean PostScript filter. (python version)
Source0:      a2ps-h.py
Source1:      a2ps-h-font.patch
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
BuildArchitectures: noarch

%description
a2ps support for Korean PostScript filter. (python version)



Authors:
--------
    Hwang, ChiDeok <hwang@mizi.co.kr>

%prep
rm -rf %{buildroot}

%build

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

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root)
%dir %{_defaultdocdir}/%{name}
%{_defaultdocdir}/%{name}/Copyright
%attr(555, root, root) %{_prefix}/bin/a2ps-h.py

%changelog -n a2ps-h
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Feb 23 2004 - hmacht@suse.de
- building as non-root
* Fri Jun 13 2003 - ro@suse.de
- added directory to filelist
* Fri Jan 26 2001 - violiet@suse.de
- NEW a2ps-h package version to 20010113
- change hangul PostScript font.
openSUSE Build Service is sponsored by