|
|
a9b3e1a |
%undefine __cmake_in_source_build
|
|
|
3b54cf7 |
%global commit cce2e5ec01df09ca4b05f055f21942e0de7eb7dd
|
|
|
3b54cf7 |
|
|
|
3b54cf7 |
Name: cutecom
|
|
|
3b54cf7 |
Version: 0.51.0
|
|
Jose Luis Blanco |
9931794 |
Summary: A graphical serial terminal, like minicom or Hyperterminal on Windows
|
|
|
5dc53a5 |
Release: 12%{?dist}
|
|
|
3b54cf7 |
License: GPLv3
|
|
|
3b54cf7 |
URL: http://gitlab.com/cutecom/cutecom
|
|
Jose Luis Blanco |
9931794 |
|
|
|
3b54cf7 |
Source0: https://gitlab.com/%{name}/%{name}/-/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
356a86a |
# Add upstream patch to provide an appdata entry
|
|
|
356a86a |
# rhbz#1476499
|
|
|
3b54cf7 |
Patch0: 3944c431-add-appdata.patch
|
|
|
356a86a |
# Update appdata file to specify cutecom.desktop as the launchable item
|
|
|
356a86a |
# rhbz#1476499
|
|
|
356a86a |
Patch1: cutecom-0.51.0-desktopfix.patch
|
|
|
54e79ff |
# Add upstream patch to fix build against Qt 5.13
|
|
|
54e79ff |
# rhbz#1923578
|
|
|
54e79ff |
# https://gitlab.com/cutecom/cutecom/-/commit/70d0c497acf8f298374052b2956bcf142ed5f6ca.patch
|
|
|
54e79ff |
Patch2: cutecom-0.51.0-painterpath.patch
|
|
Jose Luis Blanco |
9931794 |
|
|
Jose Luis Blanco |
9931794 |
BuildRequires: cmake
|
|
Jose Luis Blanco |
9931794 |
BuildRequires: desktop-file-utils
|
|
|
3b54cf7 |
BuildRequires: libappstream-glib
|
|
|
3b54cf7 |
BuildRequires: qt5-qtserialport-devel
|
|
Jose Luis Blanco |
9931794 |
|
|
Jose Luis Blanco |
9931794 |
%description
|
|
Jose Luis Blanco |
9931794 |
CuteCom is a graphical serial terminal, like minicom or Hyperterminal on
|
|
Jose Luis Blanco |
9931794 |
Windows. It is aimed mainly at hardware developers or other people who need
|
|
Jose Luis Blanco |
9931794 |
a terminal to talk to their devices.
|
|
Jose Luis Blanco |
9931794 |
|
|
Jose Luis Blanco |
9931794 |
%prep
|
|
|
3b54cf7 |
%autosetup -n %{name}-v%{version}-%{commit}
|
|
Jose Luis Blanco |
9931794 |
|
|
Jose Luis Blanco |
9931794 |
%build
|
|
|
a9b3e1a |
%cmake -DCMAKE_BUILD_TYPE=Release
|
|
|
a9b3e1a |
%cmake_build
|
|
Jose Luis Blanco |
9931794 |
|
|
Jose Luis Blanco |
9931794 |
%install
|
|
|
a9b3e1a |
%cmake_install
|
|
|
3b54cf7 |
install -p -D -m 644 $(pwd)/cutecom.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/cutecom.1
|
|
|
a9b3e1a |
install -p -D -m 644 com.gitlab.cutecom.cutecom.appdata.xml %{buildroot}%{_metainfodir}/cutecom.appdata.xml
|
|
|
356a86a |
install -p -D -m 644 images/cutecom.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/cutecom.svg
|
|
Jose Luis Blanco |
9931794 |
|
|
Jose Luis Blanco |
9931794 |
# Upstream script does not install the .desktop file if KDE is not installed,
|
|
Jose Luis Blanco |
9931794 |
# so we install it manually:
|
|
Jose Luis Blanco |
9931794 |
desktop-file-install \
|
|
Jose Luis Blanco |
9931794 |
--remove-key=Path --remove-key=Encoding \
|
|
Jose Luis Blanco |
9931794 |
--remove-key=BinaryPattern --remove-key=TerminalOptions \
|
|
Jose Luis Blanco |
9931794 |
--add-category=System \
|
|
Jose Luis Blanco |
9931794 |
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications/ \
|
|
Jose Luis Blanco |
9931794 |
$(pwd)/cutecom.desktop
|
|
Jose Luis Blanco |
9931794 |
|
|
|
3b54cf7 |
%check
|
|
|
3b54cf7 |
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
|
|
|
3b54cf7 |
|
|
Jose Luis Blanco |
9931794 |
%files
|
|
|
3b54cf7 |
%doc LICENSE README.md Changelog TODO
|
|
Jose Luis Blanco |
9931794 |
%{_bindir}/cutecom
|
|
Jose Luis Blanco |
9931794 |
%{_mandir}/man1/cutecom.1*
|
|
Jose Luis Blanco |
9931794 |
%{_datadir}/applications/cutecom.desktop
|
|
|
356a86a |
%{_datadir}/icons/hicolor/scalable/apps/cutecom.svg
|
|
|
356a86a |
%{_metainfodir}/cutecom.appdata.xml
|
|
Jose Luis Blanco |
9931794 |
|
|
Jose Luis Blanco |
9931794 |
%changelog
|
|
|
5dc53a5 |
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.51.0-12
|
|
|
5dc53a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
5dc53a5 |
|
|
|
7245479 |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.51.0-11
|
|
|
7245479 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
7245479 |
|
|
|
b3e53f4 |
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.51.0-10
|
|
|
b3e53f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
b3e53f4 |
|
|
|
775de48 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.51.0-9
|
|
|
775de48 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
775de48 |
|
|
|
17ce6ab |
* Sun Aug 09 2020 Rich Mattes <richmattes@gmail.com> - 0.51.0-8
|
|
|
17ce6ab |
- Install the cutecom.svg icon
|
|
|
17ce6ab |
- Patch cutecom appdata to associate with cutecom.desktop
|
|
|
17ce6ab |
|
|
|
68ffa25 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.51.0-7
|
|
|
68ffa25 |
- Second attempt - Rebuilt for
|
|
|
68ffa25 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
68ffa25 |
|
|
|
1b6de0f |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.51.0-6
|
|
|
1b6de0f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
1b6de0f |
|
|
|
307ef33 |
* Sat Jul 18 2020 Jeff Law <law@redhat.com> - 0.51.0-5
|
|
|
307ef33 |
- Drop build requirement for qt5-devel
|
|
|
307ef33 |
|
|
|
f727321 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.51.0-4
|
|
|
f727321 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
f727321 |
|
|
|
3df14b1 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.51.0-3
|
|
|
3df14b1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
3df14b1 |
|
|
|
58bda46 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.51.0-2
|
|
|
58bda46 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
58bda46 |
|
|
|
3b54cf7 |
* Sat Nov 24 2018 Rich Mattes <richmattes@gmail.com> - 0.51.0-1
|
|
|
3b54cf7 |
- Update to releas 0.51.0 (rhbz#1583195)
|
|
|
3b54cf7 |
- Add upstream appstream data (rhbz#1476499)
|
|
|
3b54cf7 |
|
|
|
ee18875 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-16
|
|
|
ee18875 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
ee18875 |
|
|
|
d2a4308 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-15
|
|
|
d2a4308 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
d2a4308 |
|
|
|
2321e3b |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-14
|
|
|
2321e3b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
2321e3b |
|
|
|
4afc1ea |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-13
|
|
|
4afc1ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
4afc1ea |
|
|
|
c097a7f |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-12
|
|
|
c097a7f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
c097a7f |
|
|
|
a23b937 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-11
|
|
|
a23b937 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
a23b937 |
|
|
|
bc9da57 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22.0-10
|
|
|
bc9da57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
bc9da57 |
|
|
|
e22cdb1 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.22.0-9
|
|
|
e22cdb1 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
e22cdb1 |
|
|
|
dcab145 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22.0-8
|
|
|
dcab145 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
dcab145 |
|
|
|
70065d0 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22.0-7
|
|
|
70065d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
70065d0 |
|
|
|
7981b5f |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22.0-6
|
|
|
7981b5f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
7981b5f |
|
|
|
1497608 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22.0-5
|
|
|
1497608 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
1497608 |
|
|
|
c8ad57a |
* Wed Aug 15 2012 Rich Mattes <richmattes@gmail.com> - 0.22.0-4
|
|
|
c8ad57a |
- Add support for xmodem via lrzsz package (rhbz#848449)
|
|
|
c8ad57a |
|
|
|
526147b |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22.0-3
|
|
|
526147b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
526147b |
|
|
|
afe40e5 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22.0-2
|
|
|
afe40e5 |
- Rebuilt for c++ ABI breakage
|
|
|
afe40e5 |
|
|
|
d658ef7 |
* Mon Jan 16 2012 Rich Mattes <richmattes@gmail.com> - 0.22.0-1
|
|
|
d658ef7 |
- Update to release 0.22.0
|
|
|
d658ef7 |
|
|
|
76b8490 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.0-7
|
|
|
76b8490 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
76b8490 |
|
|
|
e5c3a8b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.0-6
|
|
|
e5c3a8b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e5c3a8b |
|
|
|
a1402a6 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.0-5
|
|
|
a1402a6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
a1402a6 |
|
|
|
14b843a |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.0-4
|
|
|
14b843a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
14b843a |
|
|
Jose Luis Blanco |
9931794 |
* Thu Feb 19 2009 - Jose Luis Blanco <joseluisblancoc@gmail.com> 0.20.0-3
|
|
Jose Luis Blanco |
9931794 |
- Fixed .desktop file and .spec file comments.
|
|
Jose Luis Blanco |
9931794 |
|
|
Jose Luis Blanco |
9931794 |
* Tue Feb 17 2009 - Jose Luis Blanco <joseluisblancoc@gmail.com> 0.20.0-2
|
|
Jose Luis Blanco |
9931794 |
- Added documentation files.
|
|
Jose Luis Blanco |
9931794 |
- Fixed License field.
|
|
Jose Luis Blanco |
9931794 |
- .desktop file installed with desktop-file-install
|
|
Jose Luis Blanco |
9931794 |
|
|
Jose Luis Blanco |
9931794 |
* Sun Feb 15 2009 - Jose Luis Blanco <joseluisblancoc@gmail.com> 0.20.0-1
|
|
Jose Luis Blanco |
9931794 |
- Initial packaging for Fedora.
|
|
Jose Luis Blanco |
9931794 |
|