]> git.pld-linux.org Git - packages/tin.git/blob - tin.spec
- updated to 1.4pre981225,
[packages/tin.git] / tin.spec
1 %define date 981225
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" LDFLAGS="-s" \
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 gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/*
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %files
84 %defattr(644, root, root, 755)
85 %doc README MANIFEST doc/{CHANGES,TODO,DEBUG_REFS,WHATSNEW,*.txt}
86 %verify(not md5 mtime size) %config(noreplace) /etc/tin.defaults
87 %attr(755, root, root) /usr/bin/*
88 %attr(644, root,  man) /usr/man/man1/*
89
90 %changelog
91 * Sun Dec 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
92   [1.4pre981225-1]
93 - added gzipping man pages,
94 - added using LDFLAGS="-s" to ./configure enviroment.
95
96 * Thu Jul 30 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
97   [1.4pre980730-1]
98 - fixed %verify (not size) on /etc/tin.defaults,
99 - changed passing $RPM_OPT_FLAGS contents,
100 - added translation for de, fr, tr (from orginam RH 5.1 spec),
101 - added pl translation,
102 - locale support added (counfigure is now called with --enalbe-locale),
103 - added ULR,
104 - changet Source URL to ftp.tin.org.
105
106 * Mon Jun  1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
107   [1.4pre980514-2]
108 - built against ncurses 4.2 (for RH 5.1).
109
110 * Fri May 15 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
111   [1.4pre980514-1]
112 - added Serial field which will be calculated as: <major_ver> * 10^9 +
113   <minor_ver> + 10^7 + <date>. Current for 1.4pre980514 is
114   104980514. <date> = 999999 is reserved for finan version.
115   Serial number is added because previouse version released in regular
116   distribution have version 1.22 (real version is 1.2pl2)
117   This allow slight upgrade to 1.4pre from 1.22,
118 - added -q %setup parameter,
119 - added %%{date} macro,
120 - added using %%{name} macro in Buildroot,
121 - added %clean section,
122 - added /etc/tin.defaults %config file,
123 - tin now is builded from tar.bz2 file,
124 - added %defattr and %attr macro in %files (require rpm >= 2.4.109).
125
126 * Mon Mar 30 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
127   [1.4pre980226-1]
128 - added CFLAGS="$RPM_OPT_FLAGS" as a make parameter,
129 - removed Packager field (if you want recompile and redisstrubute this stuff    
130   put this field in your own ~/.rpmrc).
131
132 * Wed Jan 14 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
133   [1.4pre980105]
134 - added rtin(1) man page,
135 - rtin now it is sym link to tin,
136 - added --disable-debug to configure parameters.
137  
138 * Tue Nov  4 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
139   [1.4pre971102]
140 - added %%{PACKAGE_VERSION} in Buildroot,
141 - added all doc/*.txt docs.
142
143 * Fri Sep 12 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
144   [1.3beta970911]
145 - changed %attr in %doc,
146
147 * Fri Aug 22 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
148 - added %descripion.
149
150 * Mon Jul 21 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
151 - added %attr to all %doc (allows build package from non root account),
152
153 * Fri Jul 18 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
154 - added macro %version,
155 - added macros %attr in files,
156
157 * Mon Jun 16 1997 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
158 - changed nov-dir and spooldir (configure) to /var/spool/news,
159 - added Prefix field (packake now is relocatable),
160 - changed %install section.
This page took 0.046142 seconds and 4 git commands to generate.