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