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