]>
Commit | Line | Data |
---|---|---|
2efabd46 | 1 | Summary: ax25 tools for hamradio |
d5f2f811 | 2 | Summary(pl.UTF-8): Narzędzia ax25 dla hamradio |
2efabd46 | 3 | Name: ax25-apps |
ac93fc8f | 4 | Version: 0.0.6 |
04a5d2e5 | 5 | Release: 6 |
a5332b5b | 6 | License: GPL v2+ |
2efabd46 | 7 | Group: Applications/Communications |
a5332b5b | 8 | Source0: https://downloads.sourceforge.net/ax25/%{name}-%{version}.tar.gz |
dc36990c | 9 | # Source0-md5: 47d9a775890f3694cf47659423a69ae5 |
a5332b5b JB |
10 | Patch0: %{name}-optflags.patch |
11 | URL: https://ax25.sourceforge.net/ | |
870f6450 JB |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
a5332b5b | 14 | BuildRequires: libax25-devel >= 0.0.8 |
870f6450 | 15 | BuildRequires: libtool |
d9ec699e | 16 | BuildRequires: ncurses-devel |
2efabd46 | 17 | BuildRequires: zlib-devel |
d9ec699e | 18 | Requires: ax25-tools >= 0.0.8 |
73d0de91 | 19 | Requires: libax25 >= 0.0.9 |
d9ec699e | 20 | Conflicts: kernel <= 2.2.0 |
a5332b5b | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
3c3d30cc | 22 | |
23 | %description | |
3c3d30cc | 24 | Applications to test our AX25 connects. |
25 | ||
c1b4ef54 JR |
26 | %description -l pl.UTF-8 |
27 | Aplikacje testujące sprawność połączeń protokołu AX25. | |
3c3d30cc | 28 | |
29 | %prep | |
30 | %setup -q | |
a5332b5b | 31 | %patch0 -p1 |
3c3d30cc | 32 | |
3c3d30cc | 33 | %build |
b065c8f1 | 34 | %{__libtoolize} |
870f6450 | 35 | %{__aclocal} |
394d4da9 | 36 | %{__autoconf} |
37 | %{__automake} | |
a5332b5b | 38 | CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses" |
d9ec699e | 39 | %configure |
2efabd46 | 40 | %{__make} |
3c3d30cc | 41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
d9ec699e | 45 | %{__make} install installconf \ |
46 | DESTDIR=$RPM_BUILD_ROOT | |
47 | ||
a5332b5b JB |
48 | # packaged as %doc |
49 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/ax25-apps | |
50 | ||
ceb4f2e1 | 51 | %clean |
9959864e | 52 | rm -rf $RPM_BUILD_ROOT |
3c3d30cc | 53 | |
54 | %files | |
2efabd46 | 55 | %defattr(644,root,root,755) |
e2423951 | 56 | # note: ax25ipd/COPYING.ax25ipd contains notes other than GPL |
a5332b5b JB |
57 | %doc AUTHORS ChangeLog NEWS README ax25ipd/{COPYING,HISTORY,README}.ax25ipd ax25rtd/{README,TODO}.ax25rtd |
58 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/ax25ipd.conf | |
59 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/ax25mond.conf | |
60 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ax25/ax25rtd.conf | |
61 | %attr(755,root,root) %{_bindir}/call | |
62 | %attr(755,root,root) %{_bindir}/listen | |
63 | %attr(755,root,root) %{_sbindir}/ax25ipd | |
64 | %attr(755,root,root) %{_sbindir}/ax25mond | |
65 | %attr(755,root,root) %{_sbindir}/ax25rtctl | |
66 | %attr(755,root,root) %{_sbindir}/ax25rtd | |
67 | %{_mandir}/man1/call.1* | |
68 | %{_mandir}/man1/listen.1* | |
69 | %{_mandir}/man5/ax25ipd.conf.5* | |
70 | %{_mandir}/man5/ax25mond.conf.5* | |
71 | %{_mandir}/man8/ax25ipd.8* | |
72 | %{_mandir}/man8/ax25mond.8* |