-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated readme, some cleanup, added example spec files for openSUSE & Fedora. * Added missing patches for openSUSE and Fedora. * Added ecosystem section to readme.
- Loading branch information
1 parent
7075899
commit 97a84eb
Showing
8 changed files
with
158 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/doc/docbook_man.debian.xsl b/doc/docbook_man.debian.xsl | ||
index f6027aa..6c498bc 100644 | ||
--- a/doc/docbook_man.debian.xsl | ||
+++ b/doc/docbook_man.debian.xsl | ||
@@ -5,5 +5,5 @@ | ||
|
||
<xsl:strip-space elements="*"/> | ||
|
||
- <xsl:include href="file:///usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl"/> | ||
+ <xsl:include href="file:///usr/share/sgml/docbook/xsl-ns-stylesheets/manpages/docbook.xsl"/> | ||
</xsl:stylesheet> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
# | ||
# spec file for package qdmr | ||
# | ||
# Copyright (c) 2021-2023, Martin Hauke <[email protected]> | ||
# | ||
# All modifications and additions to the file contributed by third parties | ||
# remain the property of their copyright owners, unless otherwise agreed | ||
# upon. The license for this file, and modifications and additions to the | ||
# file, is the same license as for the pristine package itself (unless the | ||
# license for the pristine package is not an Open Source License, in which | ||
# case the license is the MIT License). An "Open Source License" is a | ||
# license that conforms to the Open Source Definition (Version 1.9) | ||
# published by the Open Source Initiative. | ||
|
||
|
||
%define sover 0 | ||
%define realver 0.12.0 | ||
Name: qdmr | ||
Version: %{realver} | ||
Release: 0 | ||
Summary: Graphical code-plug programming tool for DMR radios | ||
License: GPL-3.0-or-later | ||
Group: Productivity/Hamradio/Other | ||
URL: https://dm3mat.darc.de/qdmr/ | ||
#Git-Clone: https://github.com/hmatuschek/qdmr.git | ||
Source: https://github.com/hmatuschek/qdmr/archive/refs/tags/v%{realver}.tar.gz | ||
Patch0: fix-docbook-xsl-path.patch | ||
BuildRequires: cmake | ||
BuildRequires: docbook5-style-xsl | ||
BuildRequires: xsltproc | ||
BuildRequires: gcc-c++ | ||
BuildRequires: hicolor-icon-theme | ||
BuildRequires: pkgconfig | ||
BuildRequires: pkgconfig(Qt5Core) | ||
BuildRequires: pkgconfig(Qt5Network) | ||
BuildRequires: pkgconfig(Qt5Positioning) | ||
BuildRequires: pkgconfig(Qt5SerialPort) | ||
BuildRequires: pkgconfig(Qt5Test) | ||
BuildRequires: pkgconfig(Qt5UiTools) | ||
BuildRequires: pkgconfig(Qt5Widgets) | ||
BuildRequires: pkgconfig(libusb-1.0) | ||
BuildRequires: pkgconfig(yaml-cpp) | ||
|
||
|
||
%description | ||
qdmr is a Qt5 application to program DMR radios. DMR is a digital modulation | ||
standard used in amateur and commercial radio. To this end, qdmr is an | ||
alternative codeplug programming software (CPS) that supports several radios | ||
across several manufacturers. | ||
|
||
Currently supported devices are: | ||
* Radioddity/Baofeng RD-5R, GD-73, GD-77 | ||
* TYT MD-380, MD-390, MD-UV380, MD-UV390, MD-2017 | ||
* Retevis RT8, RT3S, RT82 | ||
* Open GD77 firmware (GD77, RD-5R & DM-1801) | ||
* AnyTone AT-D868UVE, AT-D878UV, AT-878UVII, AT-D578UV | ||
* BTech DMR-6X2, DM-1701, DR-1801UV | ||
|
||
%package -n libdmrconf%{sover} | ||
Summary: Graphical code-plug programming tool for DMR radios | ||
Group: System/Libraries | ||
|
||
%description -n libdmrconf%{sover} | ||
qDMR is a simple to use and feature-rich code-plug programming software | ||
(CPS) for cheap DMR radios. | ||
|
||
This subpackage contains shared library part of libdmrconf. | ||
|
||
%package devel | ||
Summary: Development files for dmrconf | ||
Group: Development/Libraries/C and C++ | ||
Requires: libdmrconf%{sover} = %{version} | ||
|
||
%description devel | ||
qDMR is a simple to use and feature-rich code-plug programming software | ||
(CPS) for cheap DMR radios. | ||
|
||
This subpackage contains libraries and header files for developing | ||
applications that want to make use of libdmrconf. | ||
|
||
%prep | ||
%setup -q -n %{name}-%{realver} | ||
%patch 0 -p1 | ||
|
||
%build | ||
# with 0.12.1: -DBUILD_MAN=ON -DINSTALL_UDEV_PATH=%{buildroot}%{_udevrulesdir} | ||
%cmake -DBUILD_MAN=ON | ||
%cmake_build | ||
|
||
%install | ||
%cmake_install | ||
install -d %{buildroot}%{_udevrulesdir} | ||
# FIXME: would be nice to have udev-rules install path configurable via cmake | ||
# (will be there with 0.12.1). | ||
mv %{buildroot}%{_sysconfdir}/udev/rules.d/99-qdmr.rules %{buildroot}%{_udevrulesdir} | ||
|
||
%post -n libdmrconf%{sover} -p /sbin/ldconfig | ||
%postun -n libdmrconf%{sover} -p /sbin/ldconfig | ||
|
||
%files | ||
%license LICENSE | ||
%doc README.md | ||
%{_bindir}/dmrconf | ||
%{_bindir}/qdmr | ||
%{_udevrulesdir}/99-qdmr.rules | ||
%{_datadir}/applications/qdmr.desktop | ||
%{_datadir}/icons/hicolor/*/qdmr.png | ||
%{_mandir}/man1/dmrconf.1%{?ext_man} | ||
%{_mandir}/man1/qdmr.1%{?ext_man} | ||
%{_datadir}/locale/de/LC_MESSAGES/qdmr_qt.qm | ||
%{_datadir}/locale/en_US/LC_MESSAGES/qdmr_qt.qm | ||
%{_datadir}/locale/sv/LC_MESSAGES/qdmr_qt.qm | ||
%{_datadir}/locale/fr/LC_MESSAGES/qdmr_qt.qm | ||
|
||
%files -n libdmrconf%{sover} | ||
%{_libdir}/libdmrconf.so.* | ||
|
||
%files devel | ||
%{_includedir}/libdmrconf/ | ||
%{_libdir}/libdmrconf.so | ||
|
||
%changelog | ||
* Thu Jul 25 2024 Hannes Matuschek <[email protected]> | ||
- Updated to 0.12.0 | ||
- added translations | ||
- updated description | ||
- fixed so-version | ||
- adapted from openSUSE spec file |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters