/[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 1377150 - (hide annotations) (download)
Fri Mar 15 00:10:05 2019 UTC (5 years, 1 month ago) by barjac
File size: 1712 byte(s)
new version 20190314
1 barjac 659212 Name: chirp
2 barjac 1377150 Version: 20190314
3 barjac 1371758 Release: %mkrel 1
4 barjac 659215 Summary: A tool for programming radio equipment
5     Group: Communications/Radio
6 barjac 659212 License: GPLv3+
7     URL: http://chirp.danplanet.com/
8 barjac 1363244 Source0: https://trac.chirp.danplanet.com/chirp_daily/LATEST/chirp-daily-%{version}.tar.gz
9 barjac 659212 Patch0: chirp-0.2.2-install.patch
10 barjac 1366021 Patch1: chirp-20190201-mga-dont_nag_so_much_about_updates.patch
11 barjac 659212
12     BuildArch: noarch
13 barjac 659215
14 ovitters 1144092 BuildRequires: pkgconfig(python)
15 barjac 659212 BuildRequires: desktop-file-utils
16     BuildRequires: libxml2-python
17 barjac 659215 BuildRequires: python-serial
18    
19 barjac 659212 Requires: libxml2-python
20 barjac 659215 Requires: python-serial
21 barjac 659212 Requires: python-suds
22 barjac 1364625 Requires: pygtk2.0
23 barjac 659212
24     %description
25 barjac 659215 CHIRP is an open-source tool for programming radio tranceivers.
26     It supports a large number of manufacturers and models, as well as providing
27     a way to interface with multiple data sources and formats.
28 barjac 659212
29     %prep
30 barjac 1363244 %autosetup -p1 -n %{name}-daily-%{version}
31 barjac 659212
32     %build
33 ovitters 1143753 %py2_build
34 barjac 659212
35     %install
36     %{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
37    
38 barjac 659215 cat>%{buildroot}%{_datadir}/applications/%{name}.desktop<<EOF
39     [Desktop Entry]
40     Name=Chirp
41     GenericName=chirp
42     Exec=chirpw
43     Icon=chirp
44     Terminal=false
45     Type=Application
46     Categories=Network;HamRadio;
47     Version=1.0
48     Comment=CHIRP Radio Programming Tool
49     EOF
50    
51 barjac 659212 desktop-file-install \
52 barjac 659215 --dir=%{buildroot}%{_datadir}/applications \
53     %{buildroot}%{_datadir}/applications/%{name}.desktop
54 barjac 659212
55     %files
56     %doc COPYING
57 barjac 1363244 %{_bindir}/*
58     %{python2_sitelib}/%{name}-daily_%{version}-py2.7.egg-info
59 ovitters 1143753 %{python2_sitelib}/%{name}/
60 barjac 659212 %{_datadir}/applications/%{name}.desktop
61     %{_datadir}/%{name}/
62 barjac 659215 %{_mandir}/man1/*
63 barjac 659212 %{_datadir}/pixmaps/%{name}.png

  ViewVC Help
Powered by ViewVC 1.1.30