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