]> git.pld-linux.org Git - packages/tin.git/blob - tin.spec
- updated to 980818.
[packages/tin.git] / tin.spec
1 %define date 980818
2 Summary:     tin News Reader
3 Summary(de): tin News-Reader
4 Summary(fr): Lecteur de news tin.
5 Summary(pl): tin - czytnik newsów
6 Summary(tr): Haber okuyucu
7 Name:        tin
8 Version:     1.4pre%{date}
9 Release:     1
10 Serial:      104980818
11 Copyright:   distributable
12 Group:       Applications/News
13 Source:      ftp://ftp.tin.org/pub/tin/tinpre-1.4-%{date}.tar.bz2
14 URL:         http://www.tin.org/
15 BuildRoot:   /tmp/%{name}-%{version}-root
16 %description
17 Tin is a full-screen easy to use Netnews reader. It can read news locally
18 (i.e., /var/spool/news) or remotely (rtin or tin -r option) via a NNTP
19 (Network News Transport Protocol) server. It will automatically utilize NOV
20 (News OVerview) style index files if available locally or via the NNTP XOVER
21 command.
22                                                                                 
23 Tin has four separate levels of operation: Group selection level, Group
24 level, Thread level and Article level. Use the 'h' (help) command to view a
25 list of the commands available at a particular level.
26
27 %description -l de
28 Tin ist ein Vollbild-Newsreader. Das Programm kann entweder lokal (z.B.
29 usr/spool/news) oder entfernt (Option 'rtin' bzw. 'tin -r') über einen
30 NNTP-Server (Network News Transport Protocol) eingesetzt werden.
31
32 %description -l fr
33
34 Tin est un lecteur de news plein écran facile à utiliser. Il peut lire des
35 articles localement (i.e. /usr/spool/news) ou à distance ('rtin' ou 'tin -r')
36 via un serveur NNTP (Network News Transport Protocol).
37
38 %description -l pl
39 Tin jest pe³noekranowym czytnikiem newsów. Umo¿liwia czytanie zarówno z
40 lokalnych zasobów (np. z katalogu /var/spool/news jak i ze zdalnych
41 (uruchamiaj±c 'rtin' lub 'tin -r') serwerów NNTP (Network News Transport
42 Protocol).
43
44 %description -l tr
45 Tin, metin ekranda çalýþan kolay kullanýlýr bir USENET haber okuyucusudur.
46 Haberleri yerel olarak (/usr/spool/news), ya da bir NNTP sunucusu
47 aracýlýðýyla uzaktan ('rtin' ya da 'tin -r' seçeneði ile) okuyabilir.
48
49 %prep
50 %setup -q -n tin-%{date}
51
52 %build
53 CFLAGS="$RPM_OPT_FLAGS" \
54 ./configure --prefix=/usr \
55         --enable-color \
56         --with-ncurses \
57         --with-nov-dir=/var/spool/news \
58         --with-spooldir=/var/spool/news \
59         --enable-locale \
60         --disable-debug
61
62 (cd src; make)
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 install -d $RPM_BUILD_ROOT/{etc,usr/{bin,man/man1}}
68
69 install -s src/tin $RPM_BUILD_ROOT/usr/bin
70 ln -sf tin $RPM_BUILD_ROOT/usr/bin/rtin
71
72 install doc/tin.1 $RPM_BUILD_ROOT/usr/man/man1
73 install doc/tin.defaults $RPM_BUILD_ROOT/etc
74
75 echo ".so tin.1" > $RPM_BUILD_ROOT/usr/man/man1/rtin.1
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644, root, root, 755)
82 %doc README MANIFEST doc/{CHANGES,TODO,DEBUG_REFS,WHATSNEW,*.txt}
83 %verify(not md5 mtime size) %config(noreplace) /etc/tin.defaults
84 %attr(755, root, root) /usr/bin/*
85 %attr(644, root,  man) /usr/man/man1/*
86
87 %changelog
88 * Thu Jul 30 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
89   [1.4pre980730-1]
90 - fixed %verify (not size) on /etc/tin.defaults,
91 - changed passing $RPM_OPT_FLAGS contents,
92 - added translation for de, fr, tr (from orginam RH 5.1 spec),
93 - added pl translation,
94 - locale support added (counfigure is now called with --enalbe-locale),
95 - added ULR,
96 - changet Source URL to ftp.tin.org.
97
98 * Mon Jun  1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
99   [1.4pre980514-2]
100 - built against ncurses 4.2 (for RH 5.1).
101
102 * Fri May 15 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
103   [1.4pre980514-1]
104 - added Serial field which will be calculated as: <major_ver> * 10^9 +
105   <minor_ver> + 10^7 + <date>. Current for 1.4pre980514 is
106   104980514. <date> = 999999 is reserved for finan version.
107   Serial number is added because previouse version released in regular
108   distribution have version 1.22 (real version is 1.2pl2)
109   This allow slight upgrade to 1.4pre from 1.22,
110 - added -q %setup parameter,
111 - added %%{date} macro,
112 - added using %%{name} macro in Buildroot,
113 - added %clean section,
114 - added /etc/tin.defaults %config file,
115 - tin now is builded from tar.bz2 file,
116 - added %defattr and %attr macro in %files (require rpm >= 2.4.109).
117
118 * Mon Mar 30 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
119   [1.4pre980226-1]
120 - added CFLAGS="$RPM_OPT_FLAGS" as a make parameter,
121 - removed Packager field (if you want recompile and redisstrubute this stuff    
122   put this field in your own ~/.rpmrc).
123
124 * Wed Jan 14 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
125   [1.4pre980105]
126 - added rtin(1) man page,
127 - rtin now it is sym link to tin,
128 - added --disable-debug to configure parameters.
129  
130 * Tue Nov  4 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
131   [1.4pre971102]
132 - added %%{PACKAGE_VERSION} in Buildroot,
133 - added all doc/*.txt docs.
134
135 * Fri Sep 12 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
136   [1.3beta970911]
137 - changed %attr in %doc,
138
139 * Fri Aug 22 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
140 - added %descripion.
141
142 * Mon Jul 21 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
143 - added %attr to all %doc (allow build package from non root account),
144
145 * Fri Jul 18 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
146 - added macro %version,
147 - added macros %attr in files,
148
149 * Mon Jun 16 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
150 - changed nov-dir and spooldir (configure) to /var/spool/news,
151 - added Prefix field (packake now is relocatable),
152 - changed %install section.
This page took 0.086607 seconds and 4 git commands to generate.