]> git.pld-linux.org Git - packages/tin.git/blob - tin.spec
- removed autoconf from %build.
[packages/tin.git] / tin.spec
1 %define date 19990927
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 URL:            http://www.tin.org/
16 BuildRequires:  ncurses-devel
17 Requires:       ncurses => 4.2-12
18 BuildRoot:      /tmp/%{name}-%{version}-root
19
20 %description
21 Tin is a full-screen easy to use Netnews reader. It can read news locally
22 (i.e., /var/spool/news) or remotely (rtin or tin -r option) via a NNTP
23 (Network News Transport Protocol) server. It will automatically utilize NOV
24 (News OVerview) style index files if available locally or via the NNTP XOVER
25 command.
26                                                                                 
27 Tin has four separate levels of operation: Group selection level, Group
28 level, Thread level and Article level. Use the 'h' (help) command to view a
29 list of the commands available at a particular level.
30
31 %description -l de
32 Tin ist ein Vollbild-Newsreader. Das Programm kann entweder lokal (z.B.
33 usr/spool/news) oder entfernt (Option 'rtin' bzw. 'tin -r') über einen
34 NNTP-Server (Network News Transport Protocol) eingesetzt werden.
35
36 %description -l fr
37 Tin est un lecteur de news plein écran facile à utiliser. Il peut lire des
38 articles localement (i.e. /usr/spool/news) ou à distance ('rtin' ou 'tin -r')
39 via un serveur NNTP (Network News Transport Protocol).
40
41 %description -l pl
42 Tin jest pe³noekranowym czytnikiem newsów. Umo¿liwia czytanie zarówno z
43 lokalnych zasobów (np. z katalogu /var/spool/news jak i ze zdalnych
44 (uruchamiaj±c 'rtin' lub 'tin -r') serwerów NNTP (Network News Transport
45 Protocol).
46
47 %description -l tr
48 Tin, metin ekranda çalýþan kolay kullanýlýr bir USENET haber okuyucusudur.
49 Haberleri yerel olarak (/usr/spool/news), ya da bir NNTP sunucusu
50 aracýlýðýyla uzaktan ('rtin' ya da 'tin -r' seçeneði ile) okuyabilir.
51
52 %prep
53 %setup -q -n tin-%{date}
54
55 %build
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.061695 seconds and 4 git commands to generate.