File hmconv.spec of Package hmconv

#
# spec file for package hmconv (Version 1.0pl5)
#
# Copyright (c) 2009 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           hmconv
License:        Public Domain, Freeware
Group:          System/I18n/Korean
AutoReqProv:    on
Version:        1.0pl5
Release:        650
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
* 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