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