Hello community,

here is the log from the commit of package libthai for openSUSE:Factory
checked in at Fri Jul 8 11:13:01 CEST 2011.



--------
--- libthai/libthai.changes     2011-04-29 23:29:24.000000000 +0200
+++ /mounts/work_src_done/STABLE/libthai/libthai.changes        2011-07-07 
14:12:31.000000000 +0200
@@ -1,0 +2,22 @@
+Mon Jun 27 12:39:05 CEST 2011 - [email protected]
+
+- Apply SLPP (bnc#647012):
+  + Split out libthai0 subpackage
+  + Move thbrk.tri in new libthai-data subpackage
+  + Add libthai-data Requires to libthai0. This Requires use >=
+    %{version}, instead of =, since the data is not
+    parallel-installable with other versions. We can just hope the
+    data format will stay compatible (and the higher version will
+    be more complete).
+- Change License tag to LGPL-2.1+, as per spdx.org.
+- Do not require libdatrie-devel from the -devel package: it will
+  be added automatically the pkgconfig()-way.
+- Adjust baselibs.conf to follow the SLPP name change.
+- Change Group of the -devel package to be Development/Languages/C
+  and C++ instead of System/Libraries.
+- Stop using source services. Factory is moving away from it and a
+  different approach to verify the authenticity of the tarballs is
+  being implemented (by using the Source URL).
+- spec file cleanups.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  _service
  _service:recompress:download_url:libthai-0.1.15.tar.bz2
  _service:set_version:libthai.spec

New:
----
  libthai-0.1.15.tar.bz2

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

Other differences:
------------------
++++++ libthai.spec ++++++
--- /var/tmp/diff_new_pack.D3gqou/_old  2011-07-08 11:12:46.000000000 +0200
+++ /var/tmp/diff_new_pack.D3gqou/_new  2011-07-08 11:12:46.000000000 +0200
@@ -18,9 +18,10 @@
 
 
 Name:           libthai
-Version:        0.1.14
-Release:        10
-License:        LGPLv2.1+
+Version:        0.1.15
+Release:        3
+# FIXME: At next version update, replace Obsoletes <= with < only to fix 
RPMLint warning in libthai0 (here and in baselibs.conf)
+License:        LGPL-2.1+
 Summary:        Thai Language Support Routines
 Url:            http://linux.thai.net/plone/TLWG/libthai/
 Group:          System/Libraries
@@ -37,12 +38,44 @@
 word breaking, input and output methods, and basic character and string
 support.
 
+%package -n libthai0
+License:        LGPL-2.1+
+Summary:        Thai Language Support Routines
+Group:          System/Libraries
+# SLPP applied since version 0.1.15.
+Provides:       libthai = %{version}
+Obsoletes:      libthai <= %{version}
+# libthai needs the data to run, but the data is not parallel-installable,
+# hence the >= instead of =. We just hope the data format will stay the same in
+# the future.
+Requires:       libthai-data >= %{version}
+
+%description -n libthai0
+LibThai is a set of Thai language support routines aimed to ease
+developers' tasks to incorporate Thai language support in their
+applications. It includes important Thai-specific functions, such as
+word breaking, input and output methods, and basic character and string
+support.
+
+%package data
+License:        LGPL-2.1+
+Summary:        Thai Language Support Routines - Data files
+Group:          System/Libraries
+
+%description data
+LibThai is a set of Thai language support routines aimed to ease
+developers' tasks to incorporate Thai language support in their
+applications. It includes important Thai-specific functions, such as
+word breaking, input and output methods, and basic character and string
+support.
+
+This package contains the data files for libthai.
+
 %package devel
-License:        LGPLv2.1+
+License:        LGPL-2.1+
 Summary:        Thai Language Support Routines (development files)
-Group:          System/Libraries
-Requires:       %{name} = %{version}
-Requires:       libdatrie-devel
+Group:          Development/Languages/C and C++
+Requires:       libthai0 = %{version}
 
 %description devel
 LibThai is a set of Thai language support routines aimed to ease
@@ -59,27 +92,30 @@
 
 %build
 %configure --disable-static --with-pic
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
-%makeinstall
-rm %{buildroot}%{_libdir}/*.la
+%make_install
+find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
 
 %clean
 rm -rf %{buildroot}
 
-%post -p /sbin/ldconfig
+%post -n libthai0 -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun -n libthai0 -p /sbin/ldconfig
 
-%files
+%files -n libthai0
 %defattr(-,root,root)
 %{_libdir}/libthai.so.*
-%{_datadir}/libthai
+
+%files data
+%defattr(-, root, root)
+%{_datadir}/libthai/
 
 %files devel
 %defattr(-,root,root)
-%{_includedir}/thai
+%{_includedir}/thai/
 %{_libdir}/libthai.so
 %{_libdir}/pkgconfig/*.pc
 

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.D3gqou/_old  2011-07-08 11:12:46.000000000 +0200
+++ /var/tmp/diff_new_pack.D3gqou/_new  2011-07-08 11:12:46.000000000 +0200
@@ -1 +1,3 @@
-libthai
+libthai0
+  provides "libthai-<targettype> = <version>"
+  obsoletes "libthai-<targettype> <= <version>"


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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to