]> git.pld-linux.org Git - packages/tin.git/blob - tin.spec
dcb563b392aca5777ce9b4f32a251ba64299e16c
[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.12
8 Release:        6
9 Epoch:          5
10 License:        distributable
11 Group:          Applications/News
12 Source0:        ftp://ftp.tin.org/pub/news/clients/tin/1.5/%{name}-%{version}.tar.bz2
13 Source1:        %{name}.desktop
14 Patch0:         %{name}-enable_coloring.patch
15 Patch1:         %{name}-ncurses.patch
16 Patch2:         %{name}-range.patch
17 Patch3:         %{name}-charset.patch
18 URL:            http://www.tin.org/
19 BuildRequires:  ncurses-devel >= 5.0
20 BuildRequires:  pcre-devel
21 BuildRequires:  metamail
22 Requires:       urlview
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 LDFLAGS="%{rpmldflags} -lpcre"
68 %configure2_13 \
69         --enable-nls \
70         --enable-color \
71         --disable-mime-strict-charset \
72         --with-pcre \
73         --with-ncurses \
74         --with-nov-dir=%{_var}/spool/news \
75         --with-spooldir=%{_var}/spool/news \
76         --disable-locale \
77         --with-gpg=%{_bindir}/gpg \
78         --with-mailer=%{_libdir}/sendmail \
79         --enable-ipv6 \
80         --disable-debug
81
82 %{__make} -C src
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86 install -d $RPM_BUILD_ROOT/{etc,etc/tin,%{_bindir},%{_mandir}/man1,%{_mandir}/man5,%{_applnkdir}/Network/News}
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 install doc/tin.defaults $RPM_BUILD_ROOT%{_sysconfdir}/tin
92 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/rtin.1
93 echo ".so tin.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rtin.1
94
95 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/News
96
97 rm -f $RPM_BUILD_ROOT%{_bindir}/url_handler.sh
98
99 %find_lang %{name}
100
101 gzip -9nf README MANIFEST doc/{CHANGES,TODO,DEBUG_REFS,WHATSNEW,*.txt}
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %files -f %{name}.lang
107 %defattr(644,root,root,755)
108 %doc *.gz doc/*.gz
109 %verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/tin/tin.defaults
110 %attr(755,root,root) %{_bindir}/*
111 %{_mandir}/man1/*
112 %{_mandir}/man5/tin.5*
113 %{_applnkdir}/Network/News/*
This page took 0.099218 seconds and 2 git commands to generate.