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