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