Hello community, here is the log from the commit of package libqt5-qttools for openSUSE:Factory checked in at 2014-02-11 10:35:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqt5-qttools (Old) and /work/SRC/openSUSE:Factory/.libqt5-qttools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libqt5-qttools" Changes: -------- --- /work/SRC/openSUSE:Factory/libqt5-qttools/libqt5-qttools.changes 2013-12-19 12:46:14.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libqt5-qttools.new/libqt5-qttools.changes 2014-02-11 10:35:05.000000000 +0100 @@ -1,0 +2,13 @@ +Mon Feb 10 11:17:47 UTC 2014 - mlin@suse.com + +- Update LICENSE files in %doc + +------------------------------------------------------------------- +Wed Feb 5 17:07:24 UTC 2014 - hrvoje.senjan@gmail.com + +- Update to 5.2.1: + * For more details please see: + http://blog.qt.digia.com/blog/2014/02/05/qt-5-2-1-released/ +- Remove libtool archives from packages + +------------------------------------------------------------------- Old: ---- qttools-opensource-src-5.2.0.tar.xz New: ---- qttools-opensource-src-5.2.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqt5-qttools.spec ++++++ --- /var/tmp/diff_new_pack.8F9GnJ/_old 2014-02-11 10:35:06.000000000 +0100 +++ /var/tmp/diff_new_pack.8F9GnJ/_new 2014-02-11 10:35:06.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libqt5-qttools # -# Copyright (c) 2013 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 @@ -16,13 +16,23 @@ # +%define qt5_snapshot 0 + Name: libqt5-qttools -Version: 5.2.0 +Version: 5.2.1 Release: 0 Summary: Qt 5 QtTools Module License: SUSE-LGPL-2.1-with-digia-exception-1.1 or GPL-3.0 Group: Development/Libraries/X11 Url: http://qt.digia.com +%define base_name libqt5 +%define real_version 5.2.1 +%define so_version 5.2.1 +%if %qt5_snapshot +%define tar_version qttools-%{real_version} +%else +%define tar_version qttools-opensource-src-%{real_version} +%endif Source: %{tar_version}.tar.xz Source11: designer5.desktop Source12: linguist5.desktop @@ -31,14 +41,16 @@ Source15: designer5.png Source16: linguist5.png BuildRequires: fdupes -%define base_name libqt5 -%define real_version 5.2.0 -%define so_version 5.2.0 -%define tar_version qttools-opensource-src-%{real_version} -BuildRequires: libqt5-qtdeclarative-private-headers-devel >= %{version} BuildRequires: libQt5WebKitWidgets-devel >= %{version} +BuildRequires: libqt5-qtbase-devel >= %{version} +BuildRequires: libqt5-qtbase-private-headers-devel >= %{version} +BuildRequires: libqt5-qtdeclarative-private-headers-devel >= %{version} BuildRequires: libxslt-devel BuildRequires: update-desktop-files +%if %qt5_snapshot +#to create the forwarding headers +BuildRequires: perl +%endif BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -49,7 +61,11 @@ This package contains base tools, like string, xml, and network handling. %prep +%if %qt5_snapshot +%setup -q -n qttools-%{real_version} +%else %setup -q -n qttools-opensource-src-%{real_version} +%endif %package devel Summary: Qt Development Kit @@ -59,8 +75,6 @@ Requires: libQt5Designer5 = %{version} Requires: libQt5DesignerComponents5 = %{version} Requires: libQt5Help5 = %{version} -Requires: libqt5-qtdeclarative-devel >= %{version} -Requires: libQt5WebKitWidgets-devel >= %{version} Requires: libxslt-devel %description devel @@ -70,7 +84,6 @@ Summary: Non-ABI stable experimental API Group: Development/Libraries/C and C++ Requires: %{name}-devel = %{version} -Requires: libqt5-qtdeclarative-private-headers-devel >= %{version} %description private-headers-devel This package provides private headers of libqt5-qttools that are normally @@ -127,6 +140,10 @@ %postun -n libQt5Help5 -p /sbin/ldconfig %build +%if %qt5_snapshot +#force the configure script to generate the forwarding headers (it checks whether .git directory exists) +mkdir .git +%endif %qmake5 %make_jobs @@ -134,15 +151,26 @@ %qmake5_install find %{buildroot}/%{_libdir} -type f -name '*la' -print -exec perl -pi -e 's, -L%{_builddir}/\S+,,g' {} \; find %{buildroot}/%{_libdir} -type f -name '*pc' -print -exec perl -pi -e "s, -L$RPM_BUILD_DIR/?\S+,,g" {} \; -exec sed -i -e "s,^moc_location=.*,moc_location=%{_libqt5_bindir}/moc," -e "s,uic_location=.*,uic_location=%{_libqt5_bindir}/uic," {} \; -%fdupes %{buildroot}/%{_libqt5_includedir} +%fdupes -s %{buildroot}/%{_libqt5_includedir} + +# kill .la files +rm -f %{buildroot}%{_libqt5_libdir}/lib*.la -# put all the binaries to %{_bindir}, add -qt5 suffix, and symlink them back to %_qt5_bindir -mkdir %{buildroot}%{_bindir} +# put all the binaries to %_bindir, add -qt5 suffix, and symlink them back to %_qt5_bindir +mkdir -p %{buildroot}%{_bindir} pushd %{buildroot}%{_libqt5_bindir} for i in * ; do + case "${i}" in + assistant|designer|lconvert|linguist|lrelease|lupdate|pixeltool|qcollectiongenerator|qdbus|qdbusviewer|qhelpconverter|qhelpgenerator) mv $i ../../../bin/${i}-qt5 ln -s ../../../bin/${i}-qt5 . ln -s ../../../bin/${i}-qt5 $i + ;; + *) + mv $i ../../../bin/ + ln -s ../../../bin/$i . + ;; + esac done popd @@ -159,7 +187,8 @@ %files %defattr(-,root,root,755) -%{_bindir}/* +%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL +%_bindir/* %{_libqt5_bindir}/* %{_datadir}/applications/*.desktop %{_datadir}/pixmaps/*.png @@ -168,26 +197,27 @@ %files -n libQt5CLucene5 %defattr(-,root,root,755) -%doc *.txt LICENSE.LGPL LICENSE.FDL +%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL %{_libqt5_libdir}/libQt5CLucene.so.* %files -n libQt5Designer5 %defattr(-,root,root,755) -%doc *.txt LICENSE.LGPL LICENSE.FDL +%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL %{_libqt5_libdir}/libQt5Designer.so.* %files -n libQt5DesignerComponents5 %defattr(-,root,root,755) -%doc *.txt LICENSE.LGPL LICENSE.FDL +%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL %{_libqt5_libdir}/libQt5DesignerComponents.so.* %files -n libQt5Help5 %defattr(-,root,root,755) -%doc *.txt LICENSE.LGPL LICENSE.FDL +%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL %{_libqt5_libdir}/libQt5Help.so.* %files private-headers-devel %defattr(-,root,root,755) +%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL %{_libqt5_includedir}/QtCLucene/%{so_version} %{_libqt5_includedir}/QtDesigner/%{so_version} %{_libqt5_includedir}/QtDesignerComponents/%{so_version} @@ -196,6 +226,7 @@ %files devel %defattr(-,root,root,755) +%doc LGPL_EXCEPTION.txt LICENSE.FDL LICENSE.GPL LICENSE.LGPL %exclude %{_libqt5_includedir}/QtCLucene/%{so_version} %{_libqt5_includedir}/QtCLucene %exclude %{_libqt5_includedir}/QtDesigner/%{so_version} @@ -207,7 +238,6 @@ %exclude %{_libqt5_includedir}/QtUiTools/%{so_version} %{_libqt5_includedir}/QtUiTools %{_libqt5_libdir}/cmake/Qt5* -%{_libqt5_libdir}/libQt5*.la %{_libqt5_libdir}/libQt5*.prl %{_libqt5_libdir}/libQt5*.so %{_libqt5_libdir}/libQt5*.a ++++++ qttools-opensource-src-5.2.0.tar.xz -> qttools-opensource-src-5.2.1.tar.xz ++++++ /work/SRC/openSUSE:Factory/libqt5-qttools/qttools-opensource-src-5.2.0.tar.xz /work/SRC/openSUSE:Factory/.libqt5-qttools.new/qttools-opensource-src-5.2.1.tar.xz differ: char 26, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org