]> git.pld-linux.org Git - packages/tnt.git/blob - tnt.spec
9e346619fc1f6c68195512f8e5988d26055f2dc5
[packages/tnt.git] / tnt.spec
1 #
2 # Conditional build:
3 %bcond_with     genuser         # allow create users for TNT (FHS incomplance)
4 %bcond_with     dpboxt          # support for dpboxt (doesn't compile - propably missing headers)
5 #
6 Summary:        Terminal program for packet radio
7 Summary(de.UTF-8):      Terminalprogramm für Packet Radio
8 Summary(pl.UTF-8):      Terminal dla Packet Radio
9 Name:           tnt
10 Version:        1.9.1
11 Release:        0.1
12 License:        GPL
13 Group:          Applications
14 Source0:        ftp://ftp.wspse.de/pub/packet_radio/tnt/CVS/%{name}-20000606.tar.gz
15 # Source0-md5:  aea30feb88b54eda10171f47776b9a3e
16 Patch0:         %{name}-SUSE.patch
17 URL:            http://www.wspse.de/WSPse/Packet.php3
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  gettext-devel
21 BuildRequires:  libax25-devel
22 BuildRequires:  libtool
23 BuildRequires:  ncurses-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 TNT is a console based packet radio terminal for hostmode tncs. It
28 supports virtual channels and socket communication. It also can be
29 used with ax25 kernel or kiss interfaces together with TFkiss.
30
31 %description -l pl.UTF-8
32 TNT jest konsolowym terminalem Packet Radio dla TNC w trypie HOST.
33 Obsługuje wirtualne kanały oraz komunikację poprzez gniazdko. Może być
34 również używany bezpośrednio z rdzeniem AX25 lub poprzez interfejs
35 KISS wraz z programem tfkiss.
36
37 %prep
38 %setup -q
39 %patch0 -p0
40
41 %build
42 rm -f missing
43 %{__gettextize}
44 %{__libtoolize}
45 %{__aclocal}
46 %{__autoconf}
47 %{__autoheader}
48 %{__automake}
49 %configure \
50         --enable-ax25k2 \
51         --enable-hibaud \
52         %{?with_genuser:--enable-genuser} \
53         %{?with_dpboxt:--enable-dpboxt}
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %find_lang %{name}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p      /sbin/postshell
69 -/usr/sbin/fix-info-dir -c %{_infodir}
70
71 %postun -p      /sbin/postshell
72 -/usr/sbin/fix-info-dir -c %{_infodir}
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc examples/ AUTHORS AX25-NOTES ChangeLog NEWS README TODO
77 %attr(755,root,root) %{_bindir}/*
78 %attr(755,root,root) %{_sbindir}/*
79 %{_libdir}/tnt
80 %dir %{_datadir}/tnt
81 %config %{_datadir}/tnt/conf
82 %{_datadir}/tnt/doc
83 %{_datadir}/tnt/sounds
84 %{_var}/spool/tnt
85 %{_infodir}/*.info*
This page took 0.053961 seconds and 2 git commands to generate.