]> git.pld-linux.org Git - packages/tin.git/blob - tin.spec
- added passing LDFLAGS="-s' to ./configure enviroment instead stripping in
[packages/tin.git] / tin.spec
1 %define date 1990927
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 Tin est un lecteur de news plein écran facile à utiliser. Il peut lire des
39 articles localement (i.e. /usr/spool/news) ou à distance ('rtin' ou 'tin -r')
40 via un serveur NNTP (Network News Transport Protocol).
41
42 %description -l pl
43 Tin jest pe³noekranowym czytnikiem newsów. Umo¿liwia czytanie zarówno z
44 lokalnych zasobów (np. z katalogu /var/spool/news jak i ze zdalnych
45 (uruchamiaj±c 'rtin' lub 'tin -r') serwerów NNTP (Network News Transport
46 Protocol).
47
48 %description -l tr
49 Tin, metin ekranda çalýþan kolay kullanýlýr bir USENET haber okuyucusudur.
50 Haberleri yerel olarak (/usr/spool/news), ya da bir NNTP sunucusu
51 aracýlýðýyla uzaktan ('rtin' ya da 'tin -r' seçeneði ile) okuyabilir.
52
53 %prep
54 %setup -q -n tin-%{date}
55 %patch -p1
56
57 %build
58 autoconf
59 %configure \
60         --enable-color \
61         --with-ncurses \
62         --with-nov-dir=/var/spool/news \
63         --with-spooldir=/var/spool/news \
64         --enable-locale \
65         --disable-debug
66
67 (cd src; make)
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 install -d $RPM_BUILD_ROOT/{etc,%{_bindir},%{_mandir}/man1}
73
74 install -s src/tin $RPM_BUILD_ROOT%{_bindir}
75 ln -sf tin $RPM_BUILD_ROOT%{_bindir}/rtin
76
77 install doc/tin.1 $RPM_BUILD_ROOT%{_mandir}/man1
78 install doc/tin.defaults $RPM_BUILD_ROOT/etc
79
80 echo ".so tin.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rtin.1
81
82 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
83         {README,MANIFEST,doc/{CHANGES,TODO,DEBUG_REFS,WHATSNEW,*.txt}}
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files
89 %defattr(644,root,root,755)
90 %doc {README,MANIFEST,doc/{CHANGES,TODO,DEBUG_REFS,WHATSNEW,*.txt}}.gz
91 %verify(not md5 mtime size) %config(noreplace) /etc/tin.defaults
92 %attr(755,root,root) %{_bindir}/*
93
94 %{_mandir}/man1/*
This page took 0.106253 seconds and 4 git commands to generate.