]> git.pld-linux.org Git - packages/tin.git/blob - tin.spec
This commit was manufactured by cvs2git to create tag 'tin-1_5_9-5'.
[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.9
8 Release:        5
9 Epoch:          3
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 Source1:        %{name}.desktop
16 Patch0:         %{name}-enable_coloring.patch
17 Patch1:         %{name}-ncurses.patch
18 Patch2:         %{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
65 %build
66 LDFLAGS="%{rpmldflags} -lpcre"
67 %configure2_13 \
68         --enable-nls \
69         --enable-color \
70         --with-pcre \
71         --with-ncurses \
72         --with-nov-dir=%{_var}/spool/news \
73         --with-spooldir=%{_var}/spool/news \
74         --enable-locale \
75         --with-gpg=%{_bindir}/gpg \
76         --with-mailer=%{_libdir}/sendmail \
77         --enable-ipv6 \
78         --disable-debug
79
80 %{__make} -C src
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT/{etc,%{_bindir},%{_mandir}/man1,%{_mandir}/man5,%{_applnkdir}/Network/News}
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 %{__install} doc/tin.defaults $RPM_BUILD_ROOT%{_sysconfdir}
90 echo ".so tin.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rtin.1
91
92 %{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/News
93
94 %find_lang %{name}
95
96 gzip -9nf README MANIFEST doc/{CHANGES,TODO,DEBUG_REFS,WHATSNEW,*.txt}
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %files -f %{name}.lang
102 %defattr(644,root,root,755)
103 %doc *.gz doc/*.gz
104 %verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/tin.defaults
105 %attr(755,root,root) %{_bindir}/*
106 %{_mandir}/man*/*
107 %{_applnkdir}/Network/News/*
This page took 0.111863 seconds and 3 git commands to generate.