]> git.pld-linux.org Git - packages/ax25-tools.git/blob - ax25-tools.spec
- use _localstatedir macro, /var/lib/ax25 dir is owned by libax25
[packages/ax25-tools.git] / ax25-tools.spec
1 #
2 # TODO:
3 # - eliminate libtool dependency,
4 #
5 Summary:        ax25 tools for hamradio
6 Summary(pl):    Narzêdzia ax25 dla hamradio
7 Name:           ax25-tools
8 Version:        0.0.8
9 Release:        3.9
10 License:        LGPL
11 Group:          Applications/Communications
12 Source0:        http://dl.sourceforge.net/ax25/%{name}-%{version}.tar.gz
13 URL:            http://ax25.sourceforge.net/
14 BuildRequires:  libax25-devel
15 BuildRequires:  zlib-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Requires:       glibc >= 2.2
18 Requires:       kernel >= 2.2.0
19 Requires:       libtool >= 1.4.2
20 Requires:       libax25 >= 0.0.9
21 Requires:       zlib >= 1.1.3
22 %define         _noautoreq      libfltk.so.1 
23
24 %define         _localstatedir  /var/lib
25
26 %description
27 Tools for start up ax25 protocol.
28
29 %description -l pl
30 Narzêdzia inicjalizuj±ce protokó³ ax25.
31
32 %prep
33 %setup -q
34
35 %build
36 %configure2_13 \
37         --without-x
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_localstatedir}/ax25
43
44 %{__make} install installconf \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %post   -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
52
53 %files
54 %defattr(644,root,root,755)
55 %doc dmascc/README.dmascc tcpip/ttylinkd.{README,INSTALL}
56 %doc user_call/README.user_call
57 %{_sysconfdir}/ax25/*
58 %attr(755,root,root) %{_bindir}/*
59 %attr(755,root,root) %{_sbindir}/*
60 %docdir %{_docdir}/ax25-tools
61 %dir %{_docdir}/ax25-tools
62 %{_mandir}/man[14589]/*
63 %{_localstatedir}/ax25/*
This page took 0.092544 seconds and 4 git commands to generate.