diff --git a/qcad.spec b/qcad.spec index 2ed8fd8..31c0f0c 100644 --- a/qcad.spec +++ b/qcad.spec @@ -1,10 +1,5 @@ -%define _csver 2.0.4.0-1 -%define _dever 2.1.0.0-1 -%define _enver 2.1.0.0-1 -%define _huver 2.0.4.0-1 - Name: qcad -Version: 3.27.1.6 +Version: 3.29.6.4 Release: 1mamba Summary: A professional 2D CAD system Group: Graphical Desktop/Applications/Graphics @@ -12,21 +7,16 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.qcad.org/en/ -Source0: git://github.com/qcad/qcad.git/v%{version}/%{name}-%{version}.tar.bz2 -#Source0: ftp://ribbonsoft.com/archives/qcad/%{name}-%{version}-1-community.src.tar.gz -#Source1: ftp://ribbonsoft.com/archives/qcad/%{name}-manual-cs-%{_csver}.html.zip -#Source2: ftp://ribbonsoft.com/archives/qcad/%{name}-manual-de-%{_dever}.html.zip -#Source3: ftp://ribbonsoft.com/archives/qcad/%{name}-manual-en-%{_enver}.html.zip -#Source4: ftp://ribbonsoft.com/archives/qcad/%{name}-manual-hu-%{_huver}.html.zip +Source0: https://github.com/qcad/qcad.git/v%{version}/%{name}-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libGLU-devel BuildRequires: libQt5Svg-devel BuildRequires: libQt5XmlPatterns-devel BuildRequires: libX11-devel BuildRequires: libcups-devel BuildRequires: libgcc +BuildRequires: libglu-devel BuildRequires: libglvnd-devel BuildRequires: libstdc++6-devel BuildRequires: qt5-qtbase-devel @@ -52,31 +42,23 @@ These DXF-files are the interface to many CAD-systems such as AutoCAD(TM) and ma %setup -q #-D -T #:<< _EOF -#-n %{name}-%{version}-1-community.src -a1 -a2 -a3 -a4 - -#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 +sed -e 's|$${QT_VERSION}|5.5.0|g' -i src/3rdparty/3rdparty.pro %build #:<< _EOF -qmake-qt5 - -%make -j1 +qmake-qt5 qcad.pro +%make -j1 release %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -# remove project files -find . \( -name '*.pri' -or -name '.pro' -or -name '*.ts' \) -delete -find . \( -name 'Makefile' -name '.gitignore' \) -delete - install -dm755 %{buildroot}%{_datadir}/{qcad,pixmaps,applications} -cp -r examples fonts libraries patterns plugins scripts ts %{buildroot}%{_datadir}/qcad +cp -r examples fonts libraries linetypes patterns plugins scripts themes ts %{buildroot}%{_datadir}/qcad cp release/* %{buildroot}%{_datadir}/qcad/ -#cp debug/* %{buildroot}%{_datadir}/qcad + +# remove project files +find %{buildroot}%{_datadir} \( -name '*.pri' -or -name '.pro' -or -name '*.ts' \) -delete +find %{buildroot}%{_datadir} \( -name 'Makefile' -name '.gitignore' \) -delete install -m755 readme.txt %{buildroot}%{_datadir}/qcad/readme.txt @@ -123,10 +105,12 @@ EOF %files %defattr(-,root,root) %{_bindir}/qcad +%{_datadir}/qcad/libdxflib.a +%{_datadir}/qcad/libopennurbs.a +%{_datadir}/qcad/libstemmer.a +%{_datadir}/qcad/libzlib.a %dir %{_datadir}/qcad -%{_datadir}/qcad/*.a %{_datadir}/qcad/*.so -#%{_datadir}/qcad/mainwindow_prototype %{_datadir}/qcad/qcad-bin %{_datadir}/qcad/readme.txt %dir %{_datadir}/qcad/examples @@ -135,12 +119,16 @@ EOF %{_datadir}/qcad/fonts/* %dir %{_datadir}/qcad/libraries %{_datadir}/qcad/libraries/* +%dir %{_datadir}/qcad/linetypes +%{_datadir}/qcad/linetypes/* %dir %{_datadir}/qcad/patterns %{_datadir}/qcad/patterns/* %dir %{_datadir}/qcad/plugins %{_datadir}/qcad/plugins/* %dir %{_datadir}/qcad/scripts %{_datadir}/qcad/scripts/* +%dir %{_datadir}/qcad/themes +%{_datadir}/qcad/themes/* %dir %{_datadir}/qcad/ts %{_datadir}/qcad/ts/* %{_datadir}/applications/* @@ -149,6 +137,9 @@ EOF #% doc qcad/doc qcad/README qcad/data %changelog +* Thu May 02 2024 Silvan Calarco 3.29.6.4-1mamba +- update to 3.29.6.4 + * Thu Jan 27 2022 Automatic Build System 3.27.1.6-1mamba - automatic version update by autodist