]> git.pld-linux.org Git - packages/elinks.git/blob - elinks.spec
- -fomit-frame-pointer on ia32
[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 %define         specflags_ia32  "-fomit-frame-pointer"
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},%{_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.029557 seconds and 4 git commands to generate.