]>
Commit | Line | Data |
---|---|---|
1 | Summary: ax25 tools for hamradio | |
2 | Summary(pl.UTF-8): Narzędzia ax25 dla hamradio | |
3 | Name: ax25-tools | |
4 | Version: 0.0.8 | |
5 | Release: 8 | |
6 | License: LGPL | |
7 | Group: Applications/Communications | |
8 | Source0: http://dl.sourceforge.net/ax25/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 70172b979b38a9434f21d2e8152f0d5e | |
10 | Patch0: %{name}-soundmodem.patch | |
11 | Patch1: %{name}-build.patch | |
12 | URL: http://ax25.sourceforge.net/ | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: automake | |
15 | BuildRequires: libax25-devel | |
16 | BuildRequires: zlib-devel | |
17 | Requires: glibc >= 2.2 | |
18 | Requires: libax25 >= 0.0.9 | |
19 | Requires: zlib >= 1.1.3 | |
20 | Conflicts: kernel < 2.2.0 | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %define _noautoreq libfltk.so.1 | |
24 | %define _localstatedir /var/lib | |
25 | ||
26 | %description | |
27 | Tools for start up ax25 protocol. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Narzędzia inicjalizujące protokół ax25. | |
31 | ||
32 | %prep | |
33 | %setup -q | |
34 | %patch0 -p1 | |
35 | %patch1 -p1 | |
36 | ||
37 | %build | |
38 | %{__aclocal} | |
39 | %{__autoconf} | |
40 | %{__autoheader} | |
41 | %{__automake} | |
42 | %configure \ | |
43 | --without-x | |
44 | ||
45 | %{__make} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | install -d $RPM_BUILD_ROOT{%{_mandir}/man3,%{_localstatedir}/ax25} | |
50 | ||
51 | %{__make} install installconf \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | install hdlcutil/baycom.9 $RPM_BUILD_ROOT%{_mandir}/man3/baycom.3 | |
55 | install hdlcutil/hdlcdrv.9 $RPM_BUILD_ROOT%{_mandir}/man3/hdlcdrv.3 | |
56 | ||
57 | rm -rf $RPM_BUILD_ROOT%{_mandir}/man9 | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %post -p /sbin/ldconfig | |
63 | %postun -p /sbin/ldconfig | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
67 | %doc dmascc/README.dmascc tcpip/ttylinkd.{README,INSTALL} | |
68 | %doc user_call/README.user_call | |
69 | %{_sysconfdir}/ax25/* | |
70 | %attr(755,root,root) %{_bindir}/* | |
71 | %attr(755,root,root) %{_sbindir}/* | |
72 | %docdir %{_docdir}/ax25-tools | |
73 | %dir %{_docdir}/ax25-tools | |
74 | %{_mandir}/man[13458]/* | |
75 | %{_localstatedir}/ax25/* |