]> git.pld-linux.org Git - packages/tin.git/blob - tin.spec
added ipv6 patch
[packages/tin.git] / tin.spec
1 %define date 19990805
2 Summary:        tin News Reader
3 Summary(de):    tin News-Reader
4 Summary(fr):    Lecteur de news tin.
5 Summary(pl):    tin - czytnik newsów
6 Summary(tr):    Haber okuyucu
7 Name:           tin
8 Version:        1.4pre%{date}
9 Release:        1
10 Serial:         1
11 Copyright:      distributable
12 Group:          Applications/News
13 Group(pl):      Aplikacje/News
14 Source:         ftp://ftp.tin.org/pub/news/clients/tin/current/tinpre-1.4-%{date}.tar.bz2
15 Patch:          http://www.misiek.eu.org/ipv6/tin-ipv6-23081999.patch.gz
16 URL:            http://www.tin.org/
17 BuildRequires:  ncurses-devel
18 Requires:       ncurses => 4.2-12
19 BuildRoot:      /tmp/%{name}-%{version}-root
20
21 %description
22 Tin is a full-screen easy to use Netnews reader. It can read news locally
23 (i.e., /var/spool/news) or remotely (rtin or tin -r option) via a NNTP
24 (Network News Transport Protocol) server. It will automatically utilize NOV
25 (News OVerview) style index files if available locally or via the NNTP XOVER
26 command.
27                                                                                 
28 Tin has four separate levels of operation: Group selection level, Group
29 level, Thread level and Article level. Use the 'h' (help) command to view a
30 list of the commands available at a particular level.
31
32 %description -l de
33 Tin ist ein Vollbild-Newsreader. Das Programm kann entweder lokal (z.B.
34 usr/spool/news) oder entfernt (Option 'rtin' bzw. 'tin -r') über einen
35 NNTP-Server (Network News Transport Protocol) eingesetzt werden.
36
37 %description -l fr
38
39 Tin est un lecteur de news plein écran facile à utiliser. Il peut lire des
40 articles localement (i.e. /usr/spool/news) ou à distance ('rtin' ou 'tin -r')
41 via un serveur NNTP (Network News Transport Protocol).
42
43 %description -l pl
44 Tin jest pe³noekranowym czytnikiem newsów. Umo¿liwia czytanie zarówno z
45 lokalnych zasobów (np. z katalogu /var/spool/news jak i ze zdalnych
46 (uruchamiaj±c 'rtin' lub 'tin -r') serwerów NNTP (Network News Transport
47 Protocol).
48
49 %description -l tr
50 Tin, metin ekranda çalýþan kolay kullanýlýr bir USENET haber okuyucusudur.
51 Haberleri yerel olarak (/usr/spool/news), ya da bir NNTP sunucusu
52 aracýlýðýyla uzaktan ('rtin' ya da 'tin -r' seçeneði ile) okuyabilir.
53
54 %prep
55 %setup -q -n tin-%{date}
56 %patch -p1
57
58 %build
59 autoconf
60 %configure \
61         --enable-color \
62         --with-ncurses \
63         --with-nov-dir=/var/spool/news \
64         --with-spooldir=/var/spool/news \
65         --enable-locale \
66         --disable-debug
67
68 (cd src; make)
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 install -d $RPM_BUILD_ROOT/{etc,%{_bindir},%{_mandir}/man1}
74
75 install -s src/tin $RPM_BUILD_ROOT%{_bindir}
76 ln -sf tin $RPM_BUILD_ROOT%{_bindir}/rtin
77
78 install doc/tin.1 $RPM_BUILD_ROOT%{_mandir}/man1
79 install doc/tin.defaults $RPM_BUILD_ROOT/etc
80
81 echo ".so tin.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rtin.1
82
83 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
84         {README,MANIFEST,doc/{CHANGES,TODO,DEBUG_REFS,WHATSNEW,*.txt}}
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files
90 %defattr(644,root,root,755)
91 %doc {README,MANIFEST,doc/{CHANGES,TODO,DEBUG_REFS,WHATSNEW,*.txt}}.gz
92 %verify(not md5 mtime size) %config(noreplace) /etc/tin.defaults
93 %attr(755,root,root) %{_bindir}/*
94
95 %{_mandir}/man1/*
This page took 0.076909 seconds and 4 git commands to generate.