From 9b2009ccd0ffe622dcb9ae4e7e4c314c674ef168 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 16:59:52 +0100 Subject: [PATCH] automatic version update by autodist [release 3.21.2.3-1mamba;Sun Jul 29 2018] --- qcad.spec | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/qcad.spec b/qcad.spec index e34fc89..962600a 100644 --- a/qcad.spec +++ b/qcad.spec @@ -4,7 +4,7 @@ %define _huver 2.0.4.0-1 Name: qcad -Version: 3.21.2.1 +Version: 3.21.2.3 Release: 1mamba Summary: A professional 2D CAD system Group: Graphical Desktop/Applications/Graphics @@ -23,10 +23,13 @@ License: GPL BuildRequires: glibc-devel BuildRequires: libGL-devel BuildRequires: libGLU-devel -BuildRequires: libexpat-devel +BuildRequires: libX11-devel +BuildRequires: libcups-devel BuildRequires: libgcc BuildRequires: libqt4-devel +BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel +BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libmng-devel BuildRequires: libpng-devel @@ -36,7 +39,6 @@ BuildRequires: libICE-devel BuildRequires: libIDL-devel BuildRequires: libpthread-stubs-devel BuildRequires: libXext-devel -BuildRequires: libX11-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -45,16 +47,20 @@ These DXF-files are the interface to many CAD-systems such as AutoCAD(TM) and ma %prep %setup -q +#-D -T +#:<< _EOF #-n %{name}-%{version}-1-community.src -a1 -a2 -a3 -a4 -if [ ! -e src/3rdparty/qt-labs-qtscriptgenerator-%{_qt4_version} ]; then - cp -a src/3rdparty/qt-labs-qtscriptgenerator-4.8.4 src/3rdparty/qt-labs-qtscriptgenerator-%{_qt4_version} - mv src/3rdparty/qt-labs-qtscriptgenerator-%{_qt4_version}/qt-labs-qtscriptgenerator-4.8.4.pro \ - src/3rdparty/qt-labs-qtscriptgenerator-%{_qt4_version}/qt-labs-qtscriptgenerator-%{_qt4_version}.pro +if [ ! -e src/3rdparty/qt-labs-qtscriptgenerator-%{_qt5_version} ]; then + cp -a src/3rdparty/qt-labs-qtscriptgenerator-5.9.5 src/3rdparty/qt-labs-qtscriptgenerator-%{_qt5_version} + mv src/3rdparty/qt-labs-qtscriptgenerator-%{_qt5_version}/qt-labs-qtscriptgenerator-5.9.5.pro \ + src/3rdparty/qt-labs-qtscriptgenerator-%{_qt5_version}/qt-labs-qtscriptgenerator-%{_qt5_version}.pro fi %build -qmake +#:<< _EOF +qmake-qt5 + %make %install @@ -72,13 +78,13 @@ cp release/* %{buildroot}%{_datadir}/qcad/ install -m755 readme.txt %{buildroot}%{_datadir}/qcad/readme.txt # qtwebkit -ln -sf %{_libdir}/qt4/plugins/designer/libqwebview.so %{buildroot}%{_datadir}/qcad/plugins/designer/libqwebview.so +ln -sf %{_libdir}/qt5/plugins/designer/libqwebengineview.so %{buildroot}%{_datadir}/qcad/plugins/designer/libqwebengineview.so # qt -for sofiles in %{_libdir}/qt4/plugins/imageformats/*.so +for sofiles in %{_libdir}/qt5/plugins/imageformats/*.so do ln -sf ${sofiles} %{buildroot}%{_datadir}/qcad/plugins/imageformats/${sofiles##/*/} done -for sofiles in %{_libdir}/qt4/plugins/sqldrivers/*.so +for sofiles in %{_libdir}/qt5/plugins/sqldrivers/*.so do ln -sf ${sofiles} %{buildroot}%{_datadir}/qcad/plugins/sqldrivers/${sofiles##/*/} done @@ -140,6 +146,9 @@ EOF #% doc qcad/doc qcad/README qcad/data %changelog +* Sun Jul 29 2018 Automatic Build System 3.21.2.3-1mamba +- automatic version update by autodist + * Tue Jul 17 2018 Automatic Build System 3.21.2.1-1mamba - automatic version update by autodist