Hello community,

here is the log from the commit of package quazip for openSUSE:Factory checked 
in at 2019-04-08 10:36:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/quazip (Old)
 and      /work/SRC/openSUSE:Factory/.quazip.new.3908 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "quazip"

Mon Apr  8 10:36:01 2019 rev:18 rq:691810 version:0.7.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/quazip/quazip.changes    2019-02-15 
09:55:44.799753405 +0100
+++ /work/SRC/openSUSE:Factory/.quazip.new.3908/quazip.changes  2019-04-08 
10:36:20.315220003 +0200
@@ -1,0 +2,12 @@
+Fri Apr  5 10:52:30 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Fix description grammar.
+
+-------------------------------------------------------------------
+Thu Apr  4 16:33:53 UTC 2019 - Christophe Giboudeaux <[email protected]>
+
+- Drop the Qt4-based quazip.
+- Rename quazip-qt5 to quazip.
+- Merge the changelog files.
+
+-------------------------------------------------------------------
@@ -33,0 +46,5 @@
+Tue Nov 10 08:00:40 UTC 2015 - [email protected]
+
+- Add Provides/Obsoletes for old libquazip-qt5
+
+-------------------------------------------------------------------
@@ -41,0 +59,5 @@
+Thu May  7 20:27:34 UTC 2015 - [email protected]
+
+- Comment out the Source URL, since we now have a git snapshot
+
+-------------------------------------------------------------------
@@ -79,0 +102,13 @@
+
+-------------------------------------------------------------------
+Fri Feb  6 22:46:59 UTC 2015 - [email protected]
+
+- update to latest svn trunk
+  * fixes coninstallation of Qt4 and Qt5 devel packages 
+  * remove patch soversion.diff, it was a downstream hack
+    * upstream uses a new soname now
+
+-------------------------------------------------------------------
+Sun Dec 28 20:53:51 UTC 2014 - [email protected]
+
+- this is qt5 version splitted from the qt4 one. 

Old:
----
  quazip-qt5.changes
  quazip-qt5.spec

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

Other differences:
------------------
++++++ quazip.spec ++++++
--- /var/tmp/diff_new_pack.MFCb7e/_old  2019-04-08 10:36:21.135219761 +0200
+++ /var/tmp/diff_new_pack.MFCb7e/_new  2019-04-08 10:36:21.139219759 +0200
@@ -23,7 +23,7 @@
 Summary:        C++ wrapper for ZIP/UNZIP
 License:        GPL-2.0-or-later OR LGPL-2.1-or-later
 Group:          Development/Libraries/C and C++
-Url:            https://github.com/stachenov/quazip
+URL:            https://github.com/stachenov/quazip
 Source:         
https://github.com/stachenov/quazip/archive/%{version}.tar.gz#/quazip-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  doxygen
@@ -32,74 +32,77 @@
 BuildRequires:  graphviz-gnome
 BuildRequires:  pkgconfig
 BuildRequires:  zlib-devel
-BuildRequires:  pkgconfig(QtCore)
+BuildRequires:  pkgconfig(Qt5Core)
 
 %description
-A C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package, using Qt4 toolkit.
-Useful to access ZIP archives from the Qt programs.
+A C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package, using Qt5 toolkit.
+Useful to access ZIP archives from Qt5 programs.
 
-%package -n libquazip%{so_ver}
+%package -n libquazip5-%{so_ver}
 Summary:        C++ wrapper for ZIP/UNZIP
 Group:          Development/Libraries/C and C++
+Provides:       libquazip%{so_ver} = %{version}
+Obsoletes:      libquazip%{so_ver} < %{version}
 
-%description -n libquazip%{so_ver}
-A C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package, using Qt4 toolkit.
-Useful to access ZIP archives from the Qt programs.
+%description -n libquazip5-%{so_ver}
+A C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package, using Qt5 toolkit.
+Useful to access ZIP archives from Qt5 programs.
 
 %package        devel
 Summary:        Development files for %{name}
 Group:          Development/Libraries/C and C++
-Requires:       libquazip%{so_ver} = %{version}-%{release}
-Requires:       pkgconfig(QtCore)
+Requires:       libquazip5-%{so_ver} = %{version}-%{release}
+Requires:       pkgconfig(Qt5Core)
+Provides:       libquazip-qt5-devel = %{version}
+Obsoletes:      libquazip-qt5-devel < %{version}
+Provides:       quazip-qt5-devel = %{version}
+Obsoletes:      quazip-qt5-devel < %{version}
 
 %description    devel
 The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
 %package doc
-Summary:        C++ wrapper for ZIP/UNZIP
-Group:          Development/Libraries/C and C++
+Summary:        Documentation for quazip, a C++ wrapper for ZIP/UNZIP
+Group:          Documentation/HTML
+Provides:       libquazip-qt5-doc = %{version}
+Obsoletes:      libquazip-qt5-doc < %{version}
+Provides:       quazip-qt5-doc = %{version}
+Obsoletes:      quazip-qt5-doc < %{version}
 
 %description doc
-A C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package, using Qt4 toolkit.
-Useful to access ZIP archives from the Qt programs.
+A C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package, using Qt5 toolkit.
+Useful to access ZIP archives from Qt5 programs.
 
 %prep
-%setup -q
+%setup -q -n quazip-%{version}
 
 %build
-pushd quazip
-qmake PREFIX=%{_prefix} QMAKE_CFLAGS="%{optflags}" QMAKE_CXXFLAGS="%{optflags} 
-fvisibility-inlines-hidden"
-make %{?_smp_mflags}
-popd
+%cmake -DCMAKE_CXX_FLAGS="-fPIC"
+%make_jobs
+cd ..
+
 sed -i 's/HTML_TIMESTAMP\s*= YES/HTML_TIMESTAMP=NO/' Doxyfile
 doxygen -u
 doxygen
 
 %install
-pushd quazip
-make install INSTALL_ROOT=%{buildroot}
-if [ "%{_lib}" != "lib" ]; then
-  mv %{buildroot}%{_prefix}/lib %{buildroot}%{_libdir}
-fi
-popd
-pushd doc/html
-%fdupes -s .
-popd
+%cmake_install
+rm %{buildroot}/%{_libdir}/libquazip5.a
 
-%post -n libquazip%{so_ver} -p /sbin/ldconfig
-%postun -n libquazip%{so_ver} -p /sbin/ldconfig
+%post -n libquazip5-%{so_ver} -p /sbin/ldconfig
+%postun -n libquazip5-%{so_ver} -p /sbin/ldconfig
 
-%files -n libquazip%{so_ver}
+%files -n libquazip5-%{so_ver}
 %license COPYING*
 %doc NEWS.txt README*
-%{_libdir}/libquazip.so.%{so_ver}*
+%{_libdir}/libquazip5.so.%{so_ver}*
 
 %files devel
 %license COPYING*
-%{_includedir}/quazip
-%{_libdir}/libquazip.so
-%{_libdir}/pkgconfig/quazip.pc
+%{_includedir}/quazip5/
+%{_libdir}/libquazip5.so
+%{_datadir}/cmake/Modules/FindQuaZip5.cmake
 
 %files doc
 %doc doc/html


Reply via email to