]> git.pld-linux.org Git - packages/elinks.git/blob - elinks.spec
- up to 0.5pre4
[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.5
7 %define _pre    pre4
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:  fd4982576e9403ef372058a80d4d1b49
15 Source1:        %{name}.desktop
16 Source2:        links.png
17 Patch0:         %{name}-pl.po.patch
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 %define         specflags_ia32  "-fomit-frame-pointer"
34
35 %description
36 This is the elinks tree - intended to provide feature-rich version of
37 links, however not rock-stable and dedicated mainly for testing. Its
38 purpose is to make alternative to links, until Mikulas will have some
39 time to maintain it, and to test and tune various patches for Mikulas
40 to be able to include them in the official links releases.
41
42 %description -l es
43 Links es un browser WWW modo texto, similar al Lynx. El links muestra
44 tablas, hace baja archivos en segundo plano, y usa conexiones HTTP/1.1
45 keepalive.
46
47 %description -l pl
48 Bogata w opcje i mo¿liwo¶ci wersja tekstowej przegl±darki www - links.
49 elinks jednak jest dedykowana g³ównie do testowania.
50
51 %description -l pt_BR
52 Links é um browser WWW modo texto, similar ao Lynx. O Links exibe
53 tabelas, baixa arquivos em segundo plano, e usa as conexões HTTP/1.1
54 keepalive.
55
56 %prep
57 %setup -q -n %{name}-%{version}%{_pre}
58 %patch -p1
59
60 %build
61 rm -f missing
62 %{__aclocal}
63 %{__autoconf}
64 %{__automake}
65 %configure \
66         --enable-fastmem \
67         --without-x
68 %{__make}
69
70 cd doc
71 texi2html elinks-lua.texi
72 cd ..
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW \
77         $RPM_BUILD_ROOT%{_datadir}/%{name} \
78         $RPM_BUILD_ROOT{%{_sysconfdir},%{_pixmapsdir}}
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
84 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
85
86 install contrib/lua/[bcmr]*.lua $RPM_BUILD_ROOT%{_sysconfdir}
87 install contrib/lua/hooks.lua.in $RPM_BUILD_ROOT%{_sysconfdir}/hooks.lua
88
89 %find_lang %{name}
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc AUTHORS BUGS ChangeLog NEWS README SITES TODO
97 %doc contrib/{completion.tcsh,keybind*,wipe-out-ssl*,lua/elinks-remote}
98 %doc contrib/conv/{*awk,*.pl,*.sh}
99 %doc doc/{*.txt,*.html}
100 %attr(755,root,root) %{_bindir}/*
101 %{_mandir}/man*/*
102 %{_applnkdir}/Network/WWW/*
103 %{_pixmapsdir}/*
104 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}
This page took 0.081334 seconds and 4 git commands to generate.