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