File nh2ps.spec of Package nh2ps

#
# spec file for package nh2ps (Version 2.3.1)
#
# Copyright (c) 2006 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:         nh2ps
License:      distributable
Group:        Productivity/Publishing/PS
Autoreqprov:  on
Summary:      Hangul Text/Postscript Converter
Version:      2.3.1
Release:      520
Source:       ftp://jazz.snu.ac.kr/pub/unix/util/nh2ps/nh2ps-2.3.1.tar.gz
Patch:        nh2ps-2.3.1-cflags.patch
Patch1:       nh2ps-2.3.1-perlpath.patch
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%description
Convert plain hangul text into postscript form. by Choi Jun Ho, the
Junker. <junker@jazz.snu.ac.kr>



Authors:
--------
    Choi Jun Ho <junker@jazz.snu.ac.kr>

%prep
%setup -q
%patch
%patch1 -p1

%build
export RPM_OPT_FLAGS
make

%install
install -d %{buildroot}%{_prefix}/bin
make PREFIX=%{buildroot}%{_prefix} install

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc ksc5601-char-list README.a2ps
%doc README.filtering_with_gs README.nh2ps README.font
%{_prefix}/bin/nh2ps*

%changelog -n nh2ps
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 20 2006 - schwab@suse.de
- Use RPM_OPT_FLAGS.
* Fri Jan 20 2006 - schwab@suse.de
- Don't strip binaries.
* Sat Jan 10 2004 - adrian@suse.de
- add %%defattr
* Fri Aug 30 2002 - ro@suse.de
- corrected changes file
* Tue Nov 28 2000 - violiet@susekorea.net
- initial RPM release for SuSE Linux.