]> git.pld-linux.org Git - packages/elinks.git/blob - elinks.spec
- no more optimizations
[packages/elinks.git] / elinks.spec
1 Summary:        Experimantal Links (text WWW browser)
2 Summary(es):    El links es un browser para modo texto, similar a lynx
3 Summary(pl):    Eksperymentalny Links (tekstowa przegl±darka WWW)
4 Summary(pt_BR): O links é um browser para modo texto, similar ao lynx
5 Name:           elinks
6 Version:        0.4.2
7 Release:        1
8 Epoch:          1
9 License:        GPL
10 Group:          Applications/Networking
11 Source0:        http://elinks.or.cz/download/%{name}-%{version}.tar.bz2
12 Source1:        %{name}.desktop
13 Source2:        links.png
14 URL:            http://elinks.or.cz/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  bzip2-devel
18 BuildRequires:  expat-devel
19 BuildRequires:  gpm-devel
20 BuildRequires:  lua40-devel
21 BuildRequires:  ncurses-devel => 5.1
22 BuildRequires:  openssl-devel >= 0.9.7
23 BuildRequires:  zlib-devel
24 BuildRequires:  /usr/bin/texi2html
25 Provides:       webclient
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _sysconfdir     /etc/elinks
29
30 %description
31 This is the elinks tree - intended to provide feature-rich version of
32 links, however not rock-stable and dedicated mainly for testing. Its
33 purpose is to make alternative to links, until Mikulas will have some
34 time to maintain it, and to test and tune various patches for Mikulas
35 to be able to include them in the official links releases.
36
37 %description -l es
38 Links es un browser WWW modo texto, similar al Lynx. El links muestra
39 tablas, hace baja archivos en segundo plano, y usa conexiones HTTP/1.1
40 keepalive.
41
42 %description -l pl
43 Bogata w opcje i mo¿liwo¶ci wersja tekstowej przegl±darki www - links.
44 elinks jednak jest dedykowana g³ównie do testowania.
45
46 %description -l pt_BR
47 Links é um browser WWW modo texto, similar ao Lynx. O Links exibe
48 tabelas, baixa arquivos em segundo plano, e usa as conexões HTTP/1.1
49 keepalive.
50
51 %prep
52 %setup -q
53
54 %build
55 rm -f missing
56 %{__aclocal}
57 %{__autoconf}
58 %{__automake}
59 %configure \
60         --enable-fastmem \
61         --without-x
62 %{__make}
63
64 cd doc
65 texi2html elinks-lua.texi
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW \
70         $RPM_BUILD_ROOT%{_datadir}/%{name} \
71         $RPM_BUILD_ROOT{%{_sysconfdir},%{_pixmapsdir}}
72
73 %{__make} install DESTDIR=$RPM_BUILD_ROOT
74
75 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
76 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
77
78 install contrib/lua/[bcmr]*.lua $RPM_BUILD_ROOT%{_sysconfdir}
79 install contrib/lua/hooks.lua.in $RPM_BUILD_ROOT%{_sysconfdir}/hooks.lua
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %files
85 %defattr(644,root,root,755)
86 %doc AUTHORS BUGS ChangeLog NEWS README SITES TODO
87 %doc contrib/{completion.tcsh,keybind*,wipe-out-ssl*,lua/elinks-remote}
88 %doc contrib/conv/{*awk,*.pl,*.sh}
89 %doc doc/{*.txt,*.html}
90 %dir %{_sysconfdir}
91 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
92 %attr(755,root,root) %{_bindir}/*
93 %{_mandir}/man*/*
94 %{_applnkdir}/Network/WWW/*
95 %{_pixmapsdir}/*
This page took 0.055788 seconds and 3 git commands to generate.