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