]>
Commit | Line | Data |
---|---|---|
cf69edc8 | 1 | Summary: ax25 tools for hamradio |
ee6a3a66 | 2 | Summary(pl.UTF-8): Narzędzia ax25 dla hamradio |
cf69edc8 JB |
3 | Name: ax25-tools |
4 | Version: 0.0.8 | |
ece8d3a6 JB |
5 | Release: 9 |
6 | License: GPL v2+ | |
cf69edc8 | 7 | Group: Applications/Communications |
ece8d3a6 | 8 | Source0: https://downloads.sourceforge.net/ax25/%{name}-%{version}.tar.gz |
32392ec0 | 9 | # Source0-md5: 70172b979b38a9434f21d2e8152f0d5e |
217c8c11 AM |
10 | Patch0: %{name}-soundmodem.patch |
11 | Patch1: %{name}-build.patch | |
ece8d3a6 JB |
12 | Patch2: %{name}-format.patch |
13 | Patch3: %{name}-glibc.patch | |
14 | Patch4: %{name}-gcc.patch | |
15 | URL: https://ax25.sourceforge.net/ | |
16 | BuildRequires: OpenGL-devel | |
dc3dbd09 JB |
17 | BuildRequires: autoconf |
18 | BuildRequires: automake | |
ece8d3a6 JB |
19 | BuildRequires: fltk-devel |
20 | BuildRequires: glibc-devel >= 2.2 | |
21 | BuildRequires: libax25-devel >= 0.0.9 | |
22 | BuildRequires: ncurses-devel | |
23 | BuildRequires: xorg-lib-libX11-devel | |
24 | BuildRequires: xorg-lib-libXext-devel | |
25 | BuildRequires: xorg-lib-libXi-devel | |
26 | BuildRequires: zlib-devel >= 1.1.3 | |
cf69edc8 JB |
27 | Requires: libax25 >= 0.0.9 |
28 | Requires: zlib >= 1.1.3 | |
53f93f73 JB |
29 | Conflicts: kernel < 2.2.0 |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
3045c029 | 31 | |
f506785d JB |
32 | %define _localstatedir /var/lib |
33 | ||
3045c029 | 34 | %description |
cf69edc8 | 35 | Tools for start up ax25 protocol. |
3045c029 | 36 | |
46016436 JR |
37 | %description -l pl.UTF-8 |
38 | Narzędzia inicjalizujące protokół ax25. | |
3045c029 | 39 | |
ece8d3a6 JB |
40 | %package gui |
41 | Summary: FLTK-based GUI tools for AX.25 protocol | |
42 | Summary(pl.UTF-8): Oparte na FLTK graficzne narzędzia do protokołu AX.25 | |
43 | Group: X11/Applications | |
44 | Requires: %{name} = %{version}-%{release} | |
45 | ||
46 | %description gui | |
47 | FLTK-based GUI tools for AX.25 protocol. | |
48 | ||
49 | %description gui -l pl.UTF-8 | |
50 | Oparte na FLTK graficzne narzędzia do protokołu AX.25. | |
51 | ||
3045c029 | 52 | %prep |
53 | %setup -q | |
dc3dbd09 | 54 | %patch0 -p1 |
217c8c11 | 55 | %patch1 -p1 |
ece8d3a6 JB |
56 | %patch2 -p1 |
57 | %patch3 -p1 | |
58 | %patch4 -p1 | |
3045c029 | 59 | |
60 | %build | |
dc3dbd09 JB |
61 | %{__aclocal} |
62 | %{__autoconf} | |
63 | %{__autoheader} | |
64 | %{__automake} | |
65 | %configure \ | |
f506785d | 66 | --without-x |
dc3dbd09 | 67 | |
cf69edc8 | 68 | %{__make} |
3045c029 | 69 | |
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
b2859cbb | 72 | install -d $RPM_BUILD_ROOT{%{_mandir}/man3,%{_localstatedir}/ax25} |
3045c029 | 73 | |
c1f70a93 | 74 | %{__make} install installconf \ |
75 | DESTDIR=$RPM_BUILD_ROOT | |
3045c029 | 76 | |
ece8d3a6 JB |
77 | cp -p hdlcutil/baycom.9 $RPM_BUILD_ROOT%{_mandir}/man3/baycom.3 |
78 | cp -p hdlcutil/hdlcdrv.9 $RPM_BUILD_ROOT%{_mandir}/man3/hdlcdrv.3 | |
79 | %{__rm} -r $RPM_BUILD_ROOT%{_mandir}/man9 | |
b2859cbb | 80 | |
ece8d3a6 JB |
81 | # packaged as %doc |
82 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/ax25-tools | |
b2859cbb | 83 | |
9bfdd8aa | 84 | %clean |
3045c029 | 85 | rm -rf $RPM_BUILD_ROOT |
86 | ||
87 | %files | |
cf69edc8 | 88 | %defattr(644,root,root,755) |
ece8d3a6 JB |
89 | %doc AUTHORS ChangeLog dmascc/README.dmascc tcpip/ttylinkd.{README,INSTALL} user_call/README.user_call yamdrv/README.yamdrv |
90 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/ax25.profile | |
91 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/ax25d.conf | |
92 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/axspawn.conf | |
93 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/nrbroadcast | |
94 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/rip98d.conf | |
95 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/rxecho.conf | |
96 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/ttylinkd.conf | |
97 | %attr(755,root,root) %{_bindir}/mheard | |
98 | %attr(755,root,root) %{_bindir}/sethdlc | |
99 | %attr(755,root,root) %{_bindir}/smmixer | |
100 | %attr(755,root,root) %{_sbindir}/ax25_call | |
101 | %attr(755,root,root) %{_sbindir}/ax25d | |
102 | %attr(755,root,root) %{_sbindir}/axctl | |
103 | %attr(755,root,root) %{_sbindir}/axparms | |
104 | %attr(755,root,root) %{_sbindir}/axspawn | |
105 | %attr(755,root,root) %{_sbindir}/beacon | |
106 | %attr(755,root,root) %{_sbindir}/bpqparms | |
107 | %attr(755,root,root) %{_sbindir}/dmascc_cfg | |
108 | %attr(755,root,root) %{_sbindir}/kissattach | |
109 | %attr(755,root,root) %{_sbindir}/kissnetd | |
110 | %attr(755,root,root) %{_sbindir}/kissparms | |
111 | %attr(755,root,root) %{_sbindir}/mcs2h | |
112 | %attr(755,root,root) %{_sbindir}/mheardd | |
113 | %attr(755,root,root) %{_sbindir}/mkiss | |
114 | %attr(755,root,root) %{_sbindir}/net2kiss | |
115 | %attr(755,root,root) %{_sbindir}/netrom_call | |
116 | %attr(755,root,root) %{_sbindir}/netromd | |
117 | %attr(755,root,root) %{_sbindir}/nodesave | |
118 | %attr(755,root,root) %{_sbindir}/nrattach | |
119 | %attr(755,root,root) %{_sbindir}/nrparms | |
120 | %attr(755,root,root) %{_sbindir}/nrsdrv | |
121 | %attr(755,root,root) %{_sbindir}/rip98d | |
122 | %attr(755,root,root) %{_sbindir}/rose_call | |
123 | %attr(755,root,root) %{_sbindir}/rsattach | |
124 | %attr(755,root,root) %{_sbindir}/rsdwnlnk | |
125 | %attr(755,root,root) %{_sbindir}/rsmemsiz | |
126 | %attr(755,root,root) %{_sbindir}/rsparms | |
127 | %attr(755,root,root) %{_sbindir}/rsuplnk | |
128 | %attr(755,root,root) %{_sbindir}/rsusers.sh | |
129 | %attr(755,root,root) %{_sbindir}/rxecho | |
130 | %attr(755,root,root) %{_sbindir}/spattach | |
131 | %attr(755,root,root) %{_sbindir}/tcp_call | |
132 | %attr(755,root,root) %{_sbindir}/ttylinkd | |
133 | %attr(755,root,root) %{_sbindir}/yamcfg | |
134 | %{_mandir}/man1/dmascc_cfg.1* | |
135 | %{_mandir}/man1/mheard.1* | |
136 | %{_mandir}/man3/baycom.3* | |
137 | %{_mandir}/man3/hdlcdrv.3* | |
138 | %{_mandir}/man4/ax25.4* | |
139 | %{_mandir}/man4/netrom.4* | |
140 | %{_mandir}/man4/rose.4* | |
141 | %{_mandir}/man5/ax25d.conf.5* | |
142 | %{_mandir}/man5/axspawn.conf.5* | |
143 | %{_mandir}/man5/nrbroadcast.5* | |
144 | %{_mandir}/man5/rip98d.conf.5* | |
145 | %{_mandir}/man5/rxecho.conf.5* | |
146 | %{_mandir}/man5/ttylinkd.conf.5* | |
147 | %{_mandir}/man8/ax25_call.8* | |
148 | %{_mandir}/man8/ax25d.8* | |
149 | %{_mandir}/man8/axctl.8* | |
150 | %{_mandir}/man8/axparms.8* | |
151 | %{_mandir}/man8/axspawn.8* | |
152 | %{_mandir}/man8/beacon.8* | |
153 | %{_mandir}/man8/bpqparms.8* | |
154 | %{_mandir}/man8/kissattach.8* | |
155 | %{_mandir}/man8/kissnetd.8* | |
156 | %{_mandir}/man8/kissparms.8* | |
157 | %{_mandir}/man8/mheardd.8* | |
158 | %{_mandir}/man8/mkiss.8* | |
159 | %{_mandir}/man8/net2kiss.8* | |
160 | %{_mandir}/man8/netrom_call.8* | |
161 | %{_mandir}/man8/netromd.8* | |
162 | %{_mandir}/man8/nodesave.8* | |
163 | %{_mandir}/man8/nrattach.8* | |
164 | %{_mandir}/man8/nrparms.8* | |
165 | %{_mandir}/man8/nrsdrv.8* | |
166 | %{_mandir}/man8/rip98d.8* | |
167 | %{_mandir}/man8/rose_call.8* | |
168 | %{_mandir}/man8/rsattach.8* | |
169 | %{_mandir}/man8/rsdwnlnk.8* | |
170 | %{_mandir}/man8/rsparms.8* | |
171 | %{_mandir}/man8/rsuplnk.8* | |
172 | %{_mandir}/man8/rxecho.8* | |
173 | %{_mandir}/man8/sethdlc.8* | |
174 | %{_mandir}/man8/smdiag.8* | |
175 | %{_mandir}/man8/smmixer.8* | |
176 | %{_mandir}/man8/spattach.8* | |
177 | %{_mandir}/man8/tcp_call.8* | |
178 | %{_mandir}/man8/ttylinkd.8* | |
179 | %dir %{_localstatedir}/ax25/mheard | |
180 | %config(noreplace) %verify(not md5 mtime size) %{_localstatedir}/ax25/mheard/mheard.dat | |
181 | ||
182 | %files gui | |
183 | %defattr(644,root,root,755) | |
184 | %attr(755,root,root) %{_sbindir}/xfhdlcchpar | |
185 | %attr(755,root,root) %{_sbindir}/xfhdlcst | |
186 | %attr(755,root,root) %{_sbindir}/xfsmdiag | |
187 | %attr(755,root,root) %{_sbindir}/xfsmmixer |