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