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