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