]> git.pld-linux.org Git - packages/tin.git/blob - tin.spec
- more rpm macros.
[packages/tin.git] / tin.spec
1 %define date 19990517
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:        2
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 BuildPrereq:    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
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
56 %build
57 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
58 ./configure %{_target_platform} \
59         --prefix=%{_prefix} \
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/*
95
96 %changelog
97 * Mon May 31 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
98   [1.4pre19990517-1]
99 - based on my old spec for tin,
100 - spec rewrited by PLD team.
This page took 0.044102 seconds and 4 git commands to generate.