update to 0.51.0 [release 0.51.0-1mamba;Fri Nov 12 2021]

This commit is contained in:
Silvan Calarco 2024-02-28 09:57:10 +01:00
parent ae8450bb63
commit a30130c524
3 changed files with 36 additions and 28 deletions

View File

@ -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 )

View File

@ -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 <QApplication>
#include <QKeyEvent>
#include <QPainter>
+#include <QPainterPath>
#include <QPoint>
#include <QPushButton>
#include <QSignalMapper>
#include <QString>
#include <QTimer>

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.51.0-1mamba
- update to 0.51.0
* Tue Jul 16 2013 Automatic Build System <autodist@mambasoft.it> 0.22.0-2mamba
- automatic rebuild by autodist