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