automatic version update by autodist [release 3.21.2.3-1mamba;Sun Jul 29 2018]

This commit is contained in:
Automatic Build System 2024-01-05 16:59:52 +01:00
parent 9a1829d03f
commit 9b2009ccd0

View File

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