File hanout-0.1.spec of Package hanout

#
# spec file for package hanout (Version 0.1)
#
# Copyright (c) 2007 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:           hanout
BuildRequires:  xorg-x11 xorg-x11-devel
License:        Public Domain, Freeware
Group:          System/I18n/Korean
Autoreqprov:    on
Summary:        Quick Hack for X Hangul Display
Version:        0.1
Release:        793
Source:         hanout.c
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Hanout is just a quick (but powerful) hack for Hangul display in X.



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

%prep

%build
gcc $(RPM_OPT_FLAGS) -fPIC -shared -I/usr/X11R6/include $RPM_SOURCE_DIR/hanout.c \
    -L/usr/X11R6/%{_lib} -lX11 -ldl -o hanout.so

%install
install -m 755 -D hanout.so $RPM_BUILD_ROOT%{_libdir}/hanout.so

%clean
rm -rf $RPM_BUILD_ROOT

%files -n hanout
%defattr(-,root,root)
%{_libdir}/hanout.so

%changelog
* Wed Apr 18 2007 - dmueller@suse.de
- fix -debuginfo creation
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 05 2005 - dmueller@suse.de
- add norootforbuild
* Wed Apr 24 2002 - mfabian@suse.de
- fix for x86_64 (use %%{_lib} and %%{_libdir}).
* Thu Dec 06 2001 - schwab@suse.de
- Build with -fPIC.
* Thu Mar 08 2001 - uli@suse.de
- added xf86 to neededforbuild
* Thu Jan 11 2001 - violiet@susekorea.net
- change license. (Public domain, Freeware)
* Tue Nov 28 2000 - violiet@susekorea.net
- initial RPM release for SuSE Linux.
openSUSE Build Service is sponsored by