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