File hmconv.spec of Package hmconv

#
# spec file for package hmconv (Version 1.0pl5)
#
# Copyright (c) 2005 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://www.suse.de/feedback/
#

# norootforbuild

Name:         hmconv
License:      distributable
Group:        System/I18n/Korean
Autoreqprov:  on
Version:      1.0pl5
Release:      518
Summary:      HangulCode Conversion Program
Source0:      hmconv1.0pl3.tar.gz
Source1:      hmconv.c
Patch0:       hmconv.patch
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%description
HangulCode conversion program.



Authors:
--------
    Jungshik Shin <jshin@pantheon.yale.edu>

%prep
%setup -q -n hmconv

%build
cp %{SOURCE1} .
patch -p0 -i $RPM_SOURCE_DIR/hmconv.patch
gcc $RPM_OPT_FLAGS -o hmconv hmconv.c

%install
mkdir -p %{buildroot}%{_prefix}/bin
install -m 755 hmconv %{buildroot}%{_prefix}/bin

%clean
rm -rf %{buildroot}

%files -n hmconv
%defattr(-,root,root)
%doc CHANGES README README.elm README.pine hmailedit
%{_prefix}/bin/hmconv

%changelog -n hmconv
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Apr 12 2005 - mfabian@suse.de
- fix build with gcc 4.
* Sun Jan 11 2004 - adrian@suse.de
- add %%defattr
* Fri Aug 30 2002 - ro@suse.de
- corrected changes file
* Thu Jan 04 2001 - violiet@susekorea.net
- update to 1.0p15.
- change COPYRIGHT: distributable.
* Tue Nov 28 2000 - violiet@susekorea.net
- initial RPM release for SuSE Linux.
openSUSE Build Service is sponsored by