Hello community,

here is the log from the commit of package libzhuyin for openSUSE:Factory 
checked in at 2017-10-13 14:14:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libzhuyin (Old)
 and      /work/SRC/openSUSE:Factory/.libzhuyin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libzhuyin"

Fri Oct 13 14:14:22 2017 rev:7 rq:532833 version:1.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libzhuyin/libzhuyin.changes      2016-10-20 
23:07:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libzhuyin.new/libzhuyin.changes 2017-10-13 
14:14:23.940683594 +0200
@@ -1,0 +2,15 @@
+Sun Oct  8 14:11:38 UTC 2017 - [email protected]
+
+- Move documentation to libzhuyin7-devel. Manpages do not belong
+  into libzhuyin7 (SLPP guideline).
+- Adhere to package naming guidelines and use package versions,
+  not SO versions for package names.
+- Avoid running fdupes across partition boundaries.
+- Rename %soname to %sover to better reflect its use.
+
+-------------------------------------------------------------------
+Thu Sep 28 07:31:59 UTC 2017 - [email protected]
+
+- Change the install libdir. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libzhuyin.spec ++++++
--- /var/tmp/diff_new_pack.q8407C/_old  2017-10-13 14:14:25.104632414 +0200
+++ /var/tmp/diff_new_pack.q8407C/_new  2017-10-13 14:14:25.108632238 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libzhuyin
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
 #
 
 
-%define soname 7
+%define sover  7
 Name:           libzhuyin
 Version:        1.1.1
 Release:        0
@@ -40,39 +40,42 @@
 BuildRequires:  libtool
 Obsoletes:      libzhuyin-tools < %{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+#
+# libzhuyin has been source-merged with libpinyin and recent versions
+# come from there.
 
 %description
-The libzhuyin project aims to provide the algorithms core 
+The libzhuyin project provides the algorithms core 
 for intelligent sentence-based Chinese zhuyin input methods.
 
-
-%package -n libzhuyin%{soname}
-Summary:        Runtime libraries for libzhuyin
+%package -n libzhuyin%{sover}
+Summary:        Runtime libraries for libzhuyin 1.1
 Group:          System/Libraries
-Requires:       libzhuyin-data
+Requires:       libzhuyin-1_1-data
 
-%description -n libzhuyin%{soname}
-The libzhuyin project aims to provide the algorithms core
+%description -n libzhuyin%{sover}
+The libzhuyin project provide the algorithms core
 for intelligent sentence-based Chinese zhuyin input methods.
 
 This package provides the runtime libraries for libzhuyin.
 
-%package data
-Summary:        Data files for libzhuyin
+%package -n libzhuyin-1_1-data
+Summary:        Data files for libzhuyin 1.1
 Group:          System/I18n/Chinese
 
-%description data
+%description -n libzhuyin-1_1-data
 The libzhuyin project aims to provide the algorithms core
 for intelligent sentence-based Chinese zhuyin input methods.
 
-This package provides the data files used by libzhuyin to be functional.
+This package provides the data files used by libzhuyin%{sover} to be 
functional.
 
-%package devel
+%package -n libzhuyin-1_1-devel
 Summary:        Development headers for libzhuyin
 Group:          Development/Libraries/C and C++
-Requires:       libzhuyin%{soname} = %{version}
+Requires:       libzhuyin%{sover} = %{version}
+Conflicts:      libzhuyin-devel
 
-%description devel
+%description -n libzhuyin-1_1-devel
 The libzhuyin project aims to provide the algorithms core
 for intelligent sentence-based Chinese zhuyin input methods.
 
@@ -87,37 +90,39 @@
 tar -xf model9.text.tar.gz
 popd &> /dev/null
 NOCONFIGURE=1 ./autogen.sh
+# Add version number to directory for (arch-dependent!) data
+perl -i -lpe 's{^pkgdatadir=.*}{pkgdatadir=\@libdir\@/\@PACKAGE_NAME\@-1.1}' 
*.pc.in
 
 %build
-%configure --prefix=%{_prefix} --libdir=%{_libdir}
-make %{?_smp_mflags}
+%configure --disable-static
+make %{?_smp_mflags} libzhuyin_dbdir='${libdir}/${PACKAGE_NAME}-1.1/data'
 
 %install
-make install DESTDIR=%{buildroot} %{?_smp_mflags}
+%make_install %{?_smp_mflags} 
libzhuyin_dbdir='${libdir}/${PACKAGE_NAME}-1.1/data'
+rm -rf %{buildroot}/%{_libdir}/%{name}.la
+%fdupes %{buildroot}/%{_prefix}
 
-rm -rf %{buildroot}%{_libdir}/%{name}.{a,la}
+%post -n libzhuyin%{sover} -p /sbin/ldconfig
 
-%fdupes %{buildroot}
+%postun -n libzhuyin%{sover} -p /sbin/ldconfig
 
-%post -n libzhuyin%{soname} -p /sbin/ldconfig
-
-%postun -n libzhuyin%{soname} -p /sbin/ldconfig
-
-%files -n libzhuyin%{soname}
+%files -n libzhuyin%{sover}
 %defattr(-,root,root)
-%doc AUTHORS ChangeLog README COPYING
-%dir %{_libdir}/%{name}
-%{_libdir}/libzhuyin.so.*
-%{_mandir}/man1/%{name}.1.gz
+%doc COPYING
+%{_libdir}/%{name}.so.*
 
-%files data
+%files -n libzhuyin-1_1-data
 %defattr(-,root,root)
-%{_libdir}/%{name}/data
+%{_libdir}/%{name}-1.1/
 
-%files devel
+%files -n libzhuyin-1_1-devel
 %defattr(-,root,root)
+%doc AUTHORS ChangeLog README
 %{_includedir}/%{name}-%{version}
 %{_libdir}/%{name}.so
+%{_libdir}/libzhuyin.so
+%dir %{_libdir}/pkgconfig
 %{_libdir}/pkgconfig/%{name}.pc
+%{_mandir}/man1/%{name}.1.gz
 
 %changelog


Reply via email to