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