/[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 678378 - (hide annotations) (download)
Tue Sep 16 15:27:08 2014 UTC (9 years, 7 months ago) by umeabot
File size: 1620 byte(s)
Mageia 5 Mass Rebuild
1 barjac 659212 Name: chirp
2 barjac 659215 Version: 0.4.0
3 umeabot 678378 Release: %mkrel 2
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     Source0: http://chirp.danplanet.com/download/%{version}/%{name}-%{version}.tar.gz
9     Patch0: chirp-0.2.2-install.patch
10    
11     BuildArch: noarch
12 barjac 659215
13 barjac 659212 BuildRequires: python-devel
14     BuildRequires: desktop-file-utils
15     BuildRequires: libxml2-python
16 barjac 659215 BuildRequires: python-serial
17    
18 barjac 659212 Requires: libxml2-python
19 barjac 659215 Requires: python-serial
20 barjac 659212 Requires: python-suds
21    
22     %description
23 barjac 659215 CHIRP is an open-source tool for programming radio tranceivers.
24     It supports a large number of manufacturers and models, as well as providing
25     a way to interface with multiple data sources and formats.
26 barjac 659212
27     %prep
28     %setup -q
29 barjac 659215 %apply_patches
30 barjac 659212
31     %build
32     %{__python} setup.py build
33    
34     %install
35     %{__python} setup.py install -O1 --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
36    
37 barjac 659215 cat>%{buildroot}%{_datadir}/applications/%{name}.desktop<<EOF
38     [Desktop Entry]
39     Name=Chirp
40     GenericName=chirp
41     Exec=chirpw
42     Icon=chirp
43     Terminal=false
44     Type=Application
45     Categories=Network;HamRadio;
46     Version=1.0
47     Comment=CHIRP Radio Programming Tool
48     EOF
49    
50 barjac 659212 desktop-file-install \
51 barjac 659215 --dir=%{buildroot}%{_datadir}/applications \
52     %{buildroot}%{_datadir}/applications/%{name}.desktop
53 barjac 659212
54     %files
55     %doc COPYING
56     %{_bindir}/chirpw
57     %{python_sitelib}/%{name}-%{version}-py2.7.egg-info
58     %{python_sitelib}/%{name}/
59     %{python_sitelib}/chirpui/
60     %{_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