From a30130c5246d038552a527bd7c2cb40d00901c1d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 28 Feb 2024 09:57:10 +0100 Subject: [PATCH] update to 0.51.0 [release 0.51.0-1mamba;Fri Nov 12 2021] --- cutecom-0.20.0-install_man.patch | 12 --------- cutecom-0.51.0-fix_qpainterpath.patch | 14 ++++++++++ cutecom.spec | 38 ++++++++++++++++----------- 3 files changed, 36 insertions(+), 28 deletions(-) delete mode 100644 cutecom-0.20.0-install_man.patch create mode 100644 cutecom-0.51.0-fix_qpainterpath.patch diff --git a/cutecom-0.20.0-install_man.patch b/cutecom-0.20.0-install_man.patch deleted file mode 100644 index 9e270b3..0000000 --- a/cutecom-0.20.0-install_man.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nru cutecom-0.20.0.orig/CMakeLists.txt cutecom-0.20.0/CMakeLists.txt ---- cutecom-0.20.0.orig/CMakeLists.txt 2008-03-12 22:09:49.000000000 +0100 -+++ cutecom-0.20.0/CMakeLists.txt 2008-12-18 18:06:55.000000000 +0100 -@@ -17,7 +17,7 @@ - - install(TARGETS cutecom DESTINATION bin ) - --install(FILES cutecom.1 DESTINATION man/man1 ) -+install(FILES cutecom.1 DESTINATION share/man/man1 ) - - find_program(KDECONFIG_EXECUTABLE NAMES kde-config ) - diff --git a/cutecom-0.51.0-fix_qpainterpath.patch b/cutecom-0.51.0-fix_qpainterpath.patch new file mode 100644 index 0000000..1d3a8e2 --- /dev/null +++ b/cutecom-0.51.0-fix_qpainterpath.patch @@ -0,0 +1,14 @@ +--- ctrlcharacterspopup.cpp 2018-09-01 14:46:58.000000000 +0300 ++++ ctrlcharacterspopup.cpp 2020-07-06 17:22:57.636027139 +0300 +@@ -21,10 +21,11 @@ + + #include "ctrlcharacterspopup.h" + #include + #include + #include ++#include + #include + #include + #include + #include + #include diff --git a/cutecom.spec b/cutecom.spec index a169ae1..e9540f4 100644 --- a/cutecom.spec +++ b/cutecom.spec @@ -1,33 +1,33 @@ Name: cutecom -Version: 0.22.0 -Release: 2mamba +Version: 0.51.0 +Release: 1mamba Summary: A graphical serial terminal, like minicom Group: Graphical Desktop/Applications/Networking Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://cutecom.sourceforge.net/ -Source: http://cutecom.sourceforge.net/cutecom-%{version}.tar.gz +URL: https://gitlab.com/cutecom/cutecom +Source: https://gitlab.com/cutecom/cutecom.git/v%{version}/cutecom-%{version}.tar.bz2 Patch0: %{name}-0.14.2-desktopfile.patch -Patch1: %{name}-0.20.0-install_man.patch +Patch1: cutecom-0.51.0-fix_qpainterpath.patch License: GPL -BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libQt5SerialPort-devel BuildRequires: libgcc -BuildRequires: libqt-devel BuildRequires: libstdc++6-devel -BuildRequires: libX11-devel -BuildRequires: libXext-devel +BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END %description CuteCom is a graphical serial terminal, like minicom. +%debug_package + %prep %setup -q -%patch0 -p1 -#%patch1 -p1 +%patch 0 -p1 +%patch 1 -p0 -b .fix_qpainterpath %build %cmake -d build @@ -36,8 +36,10 @@ CuteCom is a graphical serial terminal, like minicom. %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall -C build -#install -D -m0755 cutecom %{buildroot}%{_bindir}/cutecom -#install -D -m0644 cutecom.desktop %{buildroot}%{_datadir}/applications/cutecom.desktop + +install -D -m0644 cutecom.1 %{buildroot}%{_mandir}/man1/cutecom.1 +install -D -m0644 cutecom.desktop %{buildroot}%{_datadir}/applications/cutecom.desktop +install -D -m0644 cutecom.png %{buildroot}%{_datadir}/pixmaps/cutecom.png %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} @@ -45,11 +47,15 @@ CuteCom is a graphical serial terminal, like minicom. %files %defattr(-,root,root) %{_bindir}/cutecom -%{_kdedatadir}/applnk/Utilities/cutecom.desktop -%{_mandir}/man1/cutecom.* -%doc Changelog COPYING README +%{_datadir}/applications/cutecom.desktop +%{_datadir}/pixmaps/cutecom.png +%{_mandir}/man1/cutecom.1* +%doc LICENSE %changelog +* Fri Nov 12 2021 Silvan Calarco 0.51.0-1mamba +- update to 0.51.0 + * Tue Jul 16 2013 Automatic Build System 0.22.0-2mamba - automatic rebuild by autodist