SHA256
1
0
forked from pool/hmconv
hmconv/hmconv.spec

63 lines
1.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package hmconv
#
# Copyright (c) 2011 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: SUSE-Public-Domain
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
%__cc $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