File libhangul.spec of Package libhangul

#
# spec file for package libhangul (Version 0.0.6)
#
# Copyright (c) 2008 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:           libhangul
#BuildRequires:  python python-devel
Version:        0.0.6
Release:        1
License:        LGPL v2.1 or later
Group:          System/I18n/Korean
AutoReqProv:    on
Provides:       locale(scim-hangul:ko)
Url:            http://kldp.net/projects/hangul/
Source0:        http://kldp.net/frs/download.php/3733/%{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Hangul input library used by scim-hangul

%description
Hangul input library used by scim-hangul



Authors:
--------
    Choe Hwanjin <choe.hwanjin@gmail.com>
    Joon-cheol Park <jooncheol@gmail.com>

%package -n libhangul-devel
Summary:        Include Files and Libraries mandatory for Development
Group:          System/I18n/Korean
Requires:       %{name} = %{version}

%description -n libhangul-devel
This package contains all necessary include files and libraries needed
to develop applications that require these.



Authors:
--------
    Choe Hwanjin <choe.hwanjin@gmail.com>
    Joon-cheol Park <jooncheol@gmail.com>

%prep
%setup -q -n %{name}-%{version}

%build
autoreconf --force --install --verbose
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
%configure --disable-static --with-pic
make 
#pushd bindings/python
#    make
#popd

%install
make DESTDIR=${RPM_BUILD_ROOT} install
#pushd bindings/python
#    make DESTDIR=${RPM_BUILD_ROOT} install
#popd

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files 
%defattr(-, root, root)
%doc AUTHORS COPYING NEWS README ChangeLog INSTALL
%{_libdir}/lib*.so.*
%dir %{_datadir}/libhangul/
%{_datadir}/libhangul/*

%files devel
%defattr(-, root, root)
%dir /usr/include/hangul-1.0/
/usr/include/hangul-1.0/*
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/libhangul.pc
%exclude %{_libdir}/*.la

%changelog
* Thu Dec 27 2007 - crrodriguez@suse.de
- update to version 0.0.6
  * Changelog written in Korean, no translation available
- remove static libraries and "la" files
- fix library-without-ldconfig-* errors
* Mon Apr 16 2007 - mfabian@suse.de
- new package: version 0.0.4.
openSUSE Build Service is sponsored by