Hello community,

here is the log from the commit of package libquazip-qt5 for openSUSE:Factory 
checked in at 2015-05-10 10:46:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libquazip-qt5 (Old)
 and      /work/SRC/openSUSE:Factory/.libquazip-qt5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libquazip-qt5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libquazip-qt5/libquazip-qt5.changes      
2015-01-08 23:01:34.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libquazip-qt5.new/libquazip-qt5.changes 
2015-05-10 10:47:01.000000000 +0200
@@ -1,0 +2,13 @@
+Thu May  7 20:27:34 UTC 2015 - [email protected]
+
+- Comment out the Source URL, since we now have a git snapshot
+
+-------------------------------------------------------------------
+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
+
+-------------------------------------------------------------------

Old:
----
  quazip-0.7.tar.gz
  soversion.diff

New:
----
  quazip-0.7+20150206.tar.gz

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

Other differences:
------------------
++++++ libquazip-qt5.spec ++++++
--- /var/tmp/diff_new_pack.IQlzCF/_old  2015-05-10 10:47:01.000000000 +0200
+++ /var/tmp/diff_new_pack.IQlzCF/_new  2015-05-10 10:47:01.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package quazip
+# spec file for package libquazip-qt5
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -15,33 +15,36 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define  _sov   2
+
+%define  _sov   1
 Name:           libquazip-qt5
-Version:        0.7
+Version:        0.7+20150206
 Release:        0
 Summary:        C++ wrapper for ZIP/UNZIP
 License:        GPL-2.0+ or LGPL-2.1+
 Group:          Development/Libraries/C and C++
-
 Url:            http://quazip.sourceforge.net/
-Source0:        
http://sourceforge.net/projects/quazip/files/quazip/%{version}/quazip-%{version}.tar.gz
-Patch0:         soversion.diff 
+#Source0:        
http://sourceforge.net/projects/quazip/files/quazip/%{version}/quazip-%{version}.tar.gz
+Source0:        quazip-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  graphviz
 BuildRequires:  graphviz-gnome
 BuildRequires:  zlib-devel
 BuildRequires:  pkgconfig(Qt5Core)
+
 %description
 A C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package, using Qt5 toolkit.
 Useful to access ZIP archives from the Qt5 programs.
 
-%package -n libquazip%_sov
+%package -n libquazip5-%_sov
 Summary:        C++ wrapper for ZIP/UNZIP
 Group:          Development/Libraries/C and C++
 
-%description -n libquazip%_sov
+%description -n libquazip5-%_sov
 A C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package, using Qt5 toolkit.
 Useful to access ZIP archives from the Qt5 programs.
 
@@ -49,9 +52,8 @@
 %package        devel
 Summary:        Development files for %{name}
 Group:          Development/Libraries/C and C++
-Requires:       libquazip2 = %{version}-%{release}
+Requires:       libquazip5-%_sov = %{version}-%{release}
 Requires:       pkgconfig(Qt5Core)
-Conflicts:      quazip-devel
 
 %description    devel
 The %{name}-devel package contains libraries and header files for
@@ -68,41 +70,35 @@
 
 %prep
 %setup -q  -n quazip-%{version}
-%patch0 -p0
 
 %build
+%cmake -DCMAKE_CXX_FLAGS="-fPIC"
+%make_jobs
+
+cd ..
 echo 'HTML_TIMESTAMP=NO' >> Doxyfile
-pushd quazip
-qmake-qt5 PREFIX=%{_prefix} QMAKE_CFLAGS="%optflags" QMAKE_CXXFLAGS="%optflags 
-fvisibility-inlines-hidden"
-%__make %{?_smp_mflags}
-popd
 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
+cd build
+%make_install
+rm %{buildroot}/%{_libdir}/libquazip.a
 
-%post -n libquazip%_sov -p /sbin/ldconfig
+%post -n libquazip5-%_sov -p /sbin/ldconfig
 
-%postun -n libquazip%_sov -p /sbin/ldconfig
+%postun -n libquazip5-%_sov -p /sbin/ldconfig
 
-%files -n libquazip%_sov
+%files -n libquazip5-%_sov
 %defattr(-,root,root,-)
 %doc COPYING* NEWS.txt README.txt
 %{_libdir}/*.so.*
 
 %files devel
 %defattr(-,root,root,-)
-%{_includedir}/*
+%{_includedir}/quazip5/
 %{_libdir}/*.so
+%{_datadir}/cmake/Modules/FindQuaZip5.cmake
 
 %files doc
 %defattr(-,root,root,-)


Reply via email to