]> git.pld-linux.org Git - SPECS.git/blob - trn.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / trn.spec
1 Summary:        A news reader that displays postings in threaded format
2 Summary(es.UTF-8):      Lector de News con Threads
3 Summary(pl.UTF-8):      Czytnik newsów wyświetlający posty w postaci wątków
4 Summary(pt_BR.UTF-8):   Leitor de News com Threads
5 Name:           trn
6 Version:        3.6
7 Release:        18
8 License:        distributable
9 Group:          Applications/News
10 Source0:        ftp://ftp.uu.net:/networking/news/readers/trn/%{name}-%{version}.tar.gz
11 # Source0-md5:  0337ebc89f64825bc4ce2fb12e5b96a7
12 Source1:        %{name}.desktop
13 Patch0:         %{name}-linux.patch
14 Patch1:         %{name}-sigtstp.patch
15 Patch2:         %{name}-bool.patch
16 Patch3:         %{name}-time-include.patch
17 Patch4:         %{name}-bison.patch
18 BuildRequires:  bison
19 BuildRequires:  ncurses-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Trn is a basic news reader that supports threading. This version is
24 configured to read news from an NNTP news server.
25
26 %description -l es.UTF-8
27 'trn' es uno de los lectores originales de threaded news. Esta versión
28 está configurada para leer news de un servidor NNTP.
29
30 %description -l pl.UTF-8
31 Trn to prosty czytnik news obsługujący wątkowanie. Ta wersja jest
32 skonfigurowana do pobierania artykułów z serwera NNTP.
33
34 %description -l pt_BR.UTF-8
35 'trn' é um dos leitores originais de threaded news. Esta versão é
36 configurada para ler news de um servidor NNTP.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41 %patch1 -p1
42 %patch2 -p1
43 %patch3 -p1
44 %patch4 -p1
45
46 %build
47 %{__make} \
48         CFLAGS="%{rpmcflags}"
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_libdir}/trn,%{_desktopdir}}
53
54 chmod 755 filexp makedir
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc README MANIFEST HINTS.TRN HACKERSGUIDE NEW
67 %attr(755,root,root) %{_bindir}/trn
68 %attr(755,root,root) %{_bindir}/newsetup
69 %attr(755,root,root) %{_bindir}/newsgroups
70 %attr(755,root,root) %{_bindir}/Pnews
71 %attr(755,root,root) %{_bindir}/Rnmail
72 %attr(755,root,root) %{_bindir}/trn-artchk
73 %attr(755,root,root) %{_bindir}/nntplist
74 %dir %{_libdir}/trn
75 %attr(755,root,root) %{_libdir}/trn/*
76 %{_mandir}/man1/trn.1*
77 %{_mandir}/man1/Pnews.1*
78 %{_mandir}/man1/Rnmail.1*
79 %{_mandir}/man1/newsetup.1*
80 %{_mandir}/man1/newsgroups.1*
81 %{_desktopdir}/*.desktop
This page took 0.039184 seconds and 3 git commands to generate.