Hello community,

here is the log from the commit of package libhangul for openSUSE:Factory 
checked in at 2012-07-30 09:16:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libhangul (Old)
 and      /work/SRC/openSUSE:Factory/.libhangul.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libhangul", Maintainer is "lzw...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libhangul/libhangul.changes      2012-03-23 
12:06:17.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libhangul.new/libhangul.changes 2012-07-30 
09:16:06.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jul  4 14:08:29 UTC 2012 - i...@marguerite.su
+
+- fix sles build.
+  * downgrade gettext version requirement to 0.14 from 0.18.
+
+-------------------------------------------------------------------

New:
----
  fix-for-sles-gettext-version.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libhangul.spec ++++++
--- /var/tmp/diff_new_pack.YkzUH6/_old  2012-07-30 09:16:14.000000000 +0200
+++ /var/tmp/diff_new_pack.YkzUH6/_new  2012-07-30 09:16:14.000000000 +0200
@@ -15,101 +15,64 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
+%define libname libhangul1
 
 Name:           libhangul
-%define libname libhangul1
-BuildRequires:  libtool pkg-config
-#BuildRequires:  python python-devel
 Version:        0.1.0
-Release:        1
+Release:        0
+Summary:        Hangul input library used by scim-hangul and ibus-hangul
 License:        LGPL-2.1+
 Group:          System/I18n/Korean
-AutoReqProv:    on
 Url:            http://kldp.net/projects/hangul/
 Source0:        http://kldp.net/frs/download.php/3733/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
+# FIX-FOR-SLES downgrade gettext requirement to 0.14 from 0.18
+Patch0:         fix-for-sles-gettext-version.patch
+BuildRequires:  libtool
+BuildRequires:  pkg-config
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Summary:        Hangul input library used by scim-hangul and ibus-hangul
 
 %description
 Hangul input library used by scim-hangul and ibus-hangul
 
-
-
-Authors:
---------
-    Choe Hwanjin <choe.hwan...@gmail.com>
-    Joon-cheol Park <joonch...@gmail.com>
-
-Hangul input library used by scim-hangul and ibus-hangul
-
-
 %package -n %{libname}
-License:        LGPL-2.1+
 Summary:        Hangul input library used by scim-hangul and ibus-hangul
 Group:          System/I18n/Korean
-Provides:       locale(scim-hangul:ko)
 
 %description -n %{libname}
 Hangul input library used by scim-hangul and ibus-hangul
 
-
-
-Authors:
---------
-    Choe Hwanjin <choe.hwan...@gmail.com>
-    Joon-cheol Park <joonch...@gmail.com>
-
-Hangul input library used by scim-hangul and ibus-hangul
-
-
 %package devel
-License:        GPL-2.0+
 Summary:        Include Files and Libraries mandatory for Development
 Group:          System/I18n/Korean
-Requires:       %{libname} = %{version} glibc-devel
+Requires:       %{libname} = %{version}
+Requires:       glibc-devel
 
 %description devel
 This package contains all necessary include files and libraries needed
 to develop applications that require these.
 
-
-
-Authors:
---------
-    Choe Hwanjin <choe.hwan...@gmail.com>
-    Joon-cheol Park <joonch...@gmail.com>
-
 %prep
 %setup -q
+%if 0%{?sles_version}
+%patch0 -p1
+%endif
 
 %build
 autoreconf --force --install --verbose
-export CFLAGS="$RPM_OPT_FLAGS"
-export CXXFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="%{optflags}"
+export CXXFLAGS="%{optflags}"
 %configure --disable-static --with-pic
-%{__make} %{?jobs:-j%jobs} 
-#pushd bindings/python
-#    make
-#popd
+make %{?_smp_mflags}
 
 %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}
+%makeinstall
+rm -f %{buildroot}%{_libdir}/*.la
 
-%post -n %{libname}
-/sbin/ldconfig
+%post -n %{libname} -p /sbin/ldconfig
 
-%postun -n %{libname}
-/sbin/ldconfig
+%postun -n %{libname} -p /sbin/ldconfig
 
 %files -n %{libname} 
 %defattr(-, root, root)
@@ -123,8 +86,8 @@
 
 %files devel
 %defattr(-, root, root)
-%dir /usr/include/hangul-1.0/
-/usr/include/hangul-1.0/*
+%dir %{_includedir}/hangul-1.0/
+%{_includedir}/hangul-1.0/*
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/libhangul.pc
 

++++++ fix-for-sles-gettext-version.patch ++++++
diff -urN libhangul-0.1.0.orig/configure.ac libhangul-0.1.0/configure.ac
--- libhangul-0.1.0.orig/configure.ac   2012-07-04 22:00:36.200343759 +0800
+++ libhangul-0.1.0/configure.ac        2012-07-04 22:02:21.911022192 +0800
@@ -49,7 +49,7 @@
 AC_SUBST(GETTEXT_PACKAGE)
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", gettext package name)
 AM_GNU_GETTEXT([external])
-AM_GNU_GETTEXT_VERSION(0.18)
+AM_GNU_GETTEXT_VERSION(0.14)
 AM_ICONV
 
 # Checks for unit test framework
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to