Hello community, here is the log from the commit of package libhangul for openSUSE:Factory checked in at 2014-10-24 10:48:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libhangul (Old) and /work/SRC/openSUSE:Factory/.libhangul.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libhangul" Changes: -------- --- /work/SRC/openSUSE:Factory/libhangul/libhangul.changes 2012-07-30 09:16:06.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libhangul.new/libhangul.changes 2014-10-24 10:48:11.000000000 +0200 @@ -1,0 +2,11 @@ +Thu Oct 23 09:51:31 UTC 2014 - [email protected] + +- update version 0.1.0+git20140928 + * A Korean person take the maintainance role but I don't know + what he has fixed for (the git commits were in Korean) +- fix for sles + * @mkinstalldirs@ doesn't exist, use @mkdir_p@ +- fix for factory + * factory uses gettext 0.19 + +------------------------------------------------------------------- Old: ---- libhangul-0.1.0.tar.gz New: ---- libhangul-0.1.0+git20140928.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libhangul.spec ++++++ --- /var/tmp/diff_new_pack.AQuMJ8/_old 2014-10-24 10:48:12.000000000 +0200 +++ /var/tmp/diff_new_pack.AQuMJ8/_new 2014-10-24 10:48:12.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libhangul # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -19,14 +19,14 @@ %define libname libhangul1 Name: libhangul -Version: 0.1.0 +Version: 0.1.0+git20140928 Release: 0 -Summary: Hangul input library used by scim-hangul and ibus-hangul +Summary: The Hangul input library License: LGPL-2.1+ Group: System/I18n/Korean -Url: http://kldp.net/projects/hangul/ -Source0: http://kldp.net/frs/download.php/3733/%{name}-%{version}.tar.gz -Source1: baselibs.conf +Url: https://github.com/choehwanjin/libhangul +Source: %{name}-%{version}.tar.gz +Source99: baselibs.conf # FIX-FOR-SLES downgrade gettext requirement to 0.14 from 0.18 Patch0: fix-for-sles-gettext-version.patch BuildRequires: libtool @@ -37,30 +37,43 @@ Hangul input library used by scim-hangul and ibus-hangul %package -n %{libname} -Summary: Hangul input library used by scim-hangul and ibus-hangul +Summary: The Hangul input library Group: System/I18n/Korean %description -n %{libname} Hangul input library used by scim-hangul and ibus-hangul %package devel -Summary: Include Files and Libraries mandatory for Development -Group: System/I18n/Korean +Summary: Development headers for libhangul +Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} Requires: glibc-devel %description devel This package contains all necessary include files and libraries needed -to develop applications that require these. +to develop applications that require libhangul. %prep %setup -q %if 0%{?sles_version} %patch0 -p1 %endif +# Fix for factory gettext version +%if 0%{?suse_version} > 1310 +sed -i "s/0\.18/0\.19/" configure.ac +%endif +NOCONFIGURE=1 ./autogen.sh +# Can't merge with the %%if 0%{?sles_version} above, +# This applies _after_ the autogen.sh +%if 0%{?sles_version} +# MKINSTALLDIRS doesn't exist, use MKDIR_P +sed -i "s/@MKINSTALLDIRS@/@MKDIR_P@/" po/Makefile.in.in +sed -i "32d" po/Makefile.in.in +sed -i "32imkinstalldirs= @mkdir_p@" po/Makefile.in.in +cat po/Makefile.in.in +%endif %build -autoreconf --force --install --verbose export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags}" %configure --disable-static --with-pic @@ -69,26 +82,25 @@ %install %makeinstall rm -f %{buildroot}%{_libdir}/*.la +%find_lang %{name} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig -%files -n %{libname} +%files -n %{libname} -f %{name}.lang %defattr(-, root, root) -%doc AUTHORS COPYING NEWS README ChangeLog -%{_libdir}/lib*.so.* -%dir %{_datadir}/libhangul/ -%dir %{_datadir}/libhangul/hanja/ -%{_datadir}/libhangul/hanja/hanja.txt +%doc AUTHORS COPYING NEWS README %{_bindir}/hangul -%{_datadir}/locale/ko/LC_MESSAGES/libhangul.mo +%{_libdir}/libhangul.so.1 +%{_libdir}/libhangul.so.1.0.0 +%{_datadir}/libhangul/ %files devel %defattr(-, root, root) %dir %{_includedir}/hangul-1.0/ %{_includedir}/hangul-1.0/* -%{_libdir}/lib*.so +%{_libdir}/libhangul.so %{_libdir}/pkgconfig/libhangul.pc %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
