/[packages]/cauldron/chirp/current/SPECS/chirp.spec
ViewVC logotype

Annotation of /cauldron/chirp/current/SPECS/chirp.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1912294 - (hide annotations) (download)
Mon Nov 28 22:41:28 2022 UTC (16 months ago) by barjac
File size: 1958 byte(s)
SILENT: reinstaing from obsolete
1 barjac 1907835 %define dte 20221115
2     %define rel 0.1
3 barjac 659212 Name: chirp
4 barjac 1907835 Version: 0.4.0~dev
5     Release: %mkrel -c %{dte} %{rel}
6 barjac 659215 Summary: A tool for programming radio equipment
7     Group: Communications/Radio
8 barjac 659212 License: GPLv3+
9 barjac 1554249 URL: http://%{name}.danplanet.com/
10 barjac 1907835 Source0: %{name}-%{version}-%{dte}.tar.gz
11     Patch1: chirp-0.4.0~dev-20221115-mga-2to3.patch
12 barjac 659212
13 barjac 1907835 %global __requires_exclude ^typelib
14    
15 barjac 659212 BuildArch: noarch
16 barjac 659215
17 barjac 659212 BuildRequires: desktop-file-utils
18 barjac 1554249 BuildRequires: libxml2-python3
19     BuildRequires: python3-serial
20     BuildRequires: python3-six
21     BuildRequires: python3-future
22 barjac 659215
23 barjac 1554249 Requires: libxml2-python3
24     Requires: python3-future
25     Requires: python3-serial
26     Requires: python3-suds
27 barjac 1907835 Requires: python3-wxpython4
28 barjac 659212
29     %description
30 barjac 659215 CHIRP is an open-source tool for programming radio tranceivers.
31     It supports a large number of manufacturers and models, as well as providing
32     a way to interface with multiple data sources and formats.
33 barjac 659212
34 barjac 1629426 This version is built from the chirp Python 3 branch which may not be as up to
35     date as the daily builds which use obsolete Python 2, no longer supported in
36     Mageia.
37    
38 barjac 659212 %prep
39 barjac 1907835 %autosetup -p1 -n %{name}-%{version}-%{dte}
40 barjac 659212
41     %build
42 barjac 1554249 %py3_build
43 barjac 659212
44     %install
45 daviddavid 1718173 %py3_install
46 barjac 659212
47 barjac 1554249 rm -f %{buildroot}%{_datadir}/applications/%{name}.desktop
48    
49 barjac 659215 cat>%{buildroot}%{_datadir}/applications/%{name}.desktop<<EOF
50     [Desktop Entry]
51     Name=Chirp
52     GenericName=chirp
53 barjac 1907835 Exec=chirpwx
54 barjac 659215 Icon=chirp
55 barjac 1554249 Terminal=true
56 barjac 659215 Type=Application
57 barjac 1907835 Categories=AudioVideo;Audio;HamRadio;
58 barjac 659215 Comment=CHIRP Radio Programming Tool
59     EOF
60    
61 barjac 659212 desktop-file-install \
62 barjac 659215 --dir=%{buildroot}%{_datadir}/applications \
63     %{buildroot}%{_datadir}/applications/%{name}.desktop
64 barjac 659212
65     %files
66     %doc COPYING
67 barjac 1363244 %{_bindir}/*
68 barjac 1907835 %{python3_sitelib}/%{name}-0.3.0.dev0-py%{python3_version}.egg-info/
69 daviddavid 1718173 %{python3_sitelib}/%{name}/
70 barjac 1554249 %{python3_sitelib}/tests/*
71 barjac 659212 %{_datadir}/applications/%{name}.desktop
72     %{_datadir}/%{name}/
73 barjac 659215 %{_mandir}/man1/*
74 barjac 659212 %{_datadir}/pixmaps/%{name}.png

  ViewVC Help
Powered by ViewVC 1.1.30