File libhangul.spec of Package libhangul
#
# spec file for package libhangul (Version 0.0.9)
#
# 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: libhangul
BuildRequires: pkg-config
#BuildRequires: python python-devel
Version: 0.0.9
Release: 3
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
License: GPL v2 or later
Summary: Include Files and Libraries mandatory for Development
Group: System/I18n/Korean
Requires: %{name} = %{version} glibc-devel
%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
%build
autoreconf --force --install --verbose
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
#pushd bindings/python
# make
#popd
%install
make DESTDIR=${RPM_BUILD_ROOT} install
#pushd bindings/python
# make DESTDIR=${RPM_BUILD_ROOT} install
#popd
%{__rm} -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS COPYING NEWS README ChangeLog INSTALL
%{_libdir}/lib*.so.*
%dir %{_libdir}/libhangul/
%{_libdir}/libhangul/*
%files devel
%defattr(-, root, root)
%dir /usr/include/hangul-1.0/
/usr/include/hangul-1.0/*
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/libhangul.pc
%changelog
* Tue Mar 03 2009 crrodriguez@suse.de
- fix -devel package dependencies
- add missing %%clean section to the spec file
* Wed Feb 11 2009 ro@suse.de
- added baselibs.conf (needed by imhangul)
* Fri Jan 09 2009 mfabian@suse.de
- update to version 0.0.9
* Changelog written in Korean, no translation available
* 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.