]> git.pld-linux.org Git - packages/ax25-tools.git/blame - ax25-tools.spec
- rel 8; avoid man section 9, move to section 3
[packages/ax25-tools.git] / ax25-tools.spec
CommitLineData
cf69edc8 1Summary: ax25 tools for hamradio
ee6a3a66 2Summary(pl.UTF-8): Narzędzia ax25 dla hamradio
cf69edc8
JB
3Name: ax25-tools
4Version: 0.0.8
b2859cbb 5Release: 8
cf69edc8
JB
6License: LGPL
7Group: Applications/Communications
ba64ace7 8Source0: http://dl.sourceforge.net/ax25/%{name}-%{version}.tar.gz
32392ec0 9# Source0-md5: 70172b979b38a9434f21d2e8152f0d5e
217c8c11
AM
10Patch0: %{name}-soundmodem.patch
11Patch1: %{name}-build.patch
ba64ace7 12URL: http://ax25.sourceforge.net/
dc3dbd09
JB
13BuildRequires: autoconf
14BuildRequires: automake
cf69edc8
JB
15BuildRequires: libax25-devel
16BuildRequires: zlib-devel
cf69edc8 17Requires: glibc >= 2.2
cf69edc8
JB
18Requires: libax25 >= 0.0.9
19Requires: zlib >= 1.1.3
53f93f73
JB
20Conflicts: kernel < 2.2.0
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3045c029 22
0e9a2ecf 23%define _noautoreq libfltk.so.1
f506785d
JB
24%define _localstatedir /var/lib
25
3045c029 26%description
cf69edc8 27Tools for start up ax25 protocol.
3045c029 28
46016436
JR
29%description -l pl.UTF-8
30Narzędzia inicjalizujące protokół ax25.
3045c029 31
32%prep
33%setup -q
dc3dbd09 34%patch0 -p1
217c8c11 35%patch1 -p1
3045c029 36
37%build
dc3dbd09
JB
38%{__aclocal}
39%{__autoconf}
40%{__autoheader}
41%{__automake}
42%configure \
f506785d 43 --without-x
dc3dbd09 44
cf69edc8 45%{__make}
3045c029 46
47%install
48rm -rf $RPM_BUILD_ROOT
b2859cbb 49install -d $RPM_BUILD_ROOT{%{_mandir}/man3,%{_localstatedir}/ax25}
3045c029 50
c1f70a93 51%{__make} install installconf \
52 DESTDIR=$RPM_BUILD_ROOT
3045c029 53
b2859cbb
AM
54install hdlcutil/baycom.9 $RPM_BUILD_ROOT%{_mandir}/man3/baycom.3
55install hdlcutil/hdlcdrv.9 $RPM_BUILD_ROOT%{_mandir}/man3/hdlcdrv.3
56
57rm -rf $RPM_BUILD_ROOT%{_mandir}/man9
58
9bfdd8aa 59%clean
3045c029 60rm -rf $RPM_BUILD_ROOT
61
cf69edc8
JB
62%post -p /sbin/ldconfig
63%postun -p /sbin/ldconfig
64
3045c029 65%files
cf69edc8 66%defattr(644,root,root,755)
c1f70a93 67%doc dmascc/README.dmascc tcpip/ttylinkd.{README,INSTALL}
68%doc user_call/README.user_call
cf69edc8
JB
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
b2859cbb 74%{_mandir}/man[13458]/*
f506785d 75%{_localstatedir}/ax25/*
This page took 0.101402 seconds and 4 git commands to generate.