]> git.pld-linux.org Git - packages/tin.git/blob - tin.spec
- changed all BuildRoot definitons
[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.2
8 Release:        1
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:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 CPPFLAGS="-DINET6"; export CPPFLAGS
56 %configure \
57         --enable-color \
58         --with-ncurses \
59         --with-nov-dir=/var/spool/news \
60         --with-spooldir=/var/spool/news \
61         --enable-locale \
62         --disable-debug
63
64 (cd src; make)
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 install -d $RPM_BUILD_ROOT/{etc,%{_bindir},%{_mandir}/man1}
70
71 install -s src/tin $RPM_BUILD_ROOT%{_bindir}
72 ln -sf tin $RPM_BUILD_ROOT%{_bindir}/rtin
73
74 install doc/tin.1 $RPM_BUILD_ROOT%{_mandir}/man1
75 install doc/tin.defaults $RPM_BUILD_ROOT/etc
76
77 echo ".so tin.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rtin.1
78
79 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
80         {README,MANIFEST,doc/{CHANGES,TODO,DEBUG_REFS,WHATSNEW,*.txt}}
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %doc {README,MANIFEST,doc/{CHANGES,TODO,DEBUG_REFS,WHATSNEW,*.txt}}.gz
88 %verify(not md5 mtime size) %config(noreplace) /etc/tin.defaults
89 %attr(755,root,root) %{_bindir}/*
90
91 %{_mandir}/man1/*
This page took 0.070966 seconds and 4 git commands to generate.