]> git.pld-linux.org Git - packages/elinks.git/blob - elinks.spec
- -fomit-frame-pointer
[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.4.2
7 Release:        1
8 Epoch:          1
9 License:        GPL
10 Group:          Applications/Networking
11 Source0:        http://elinks.or.cz/download/%{name}-%{version}.tar.bz2
12 Source1:        %{name}.desktop
13 Source2:        links.png
14 URL:            http://elinks.or.cz/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  bzip2-devel
18 BuildRequires:  expat-devel
19 BuildRequires:  gpm-devel
20 BuildRequires:  ncurses-devel => 5.1
21 BuildRequires:  openssl-devel >= 0.9.7
22 BuildRequires:  zlib-devel
23 Provides:       webclient
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _sysconfdir     /etc/elinks
27
28 %description
29 This is the elinks tree - intended to provide feature-rich version of
30 links, however not rock-stable and dedicated mainly for testing. Its
31 purpose is to make alternative to links, until Mikulas will have some
32 time to maintain it, and to test and tune various patches for Mikulas
33 to be able to include them in the official links releases.
34
35 %description -l es
36 Links es un browser WWW modo texto, similar al Lynx. El links muestra
37 tablas, hace baja archivos en segundo plano, y usa conexiones HTTP/1.1
38 keepalive.
39
40 %description -l pl
41 Bogata w opcje i mo¿liwo¶ci wersja tekstowej przegl±darki www - links.
42 elinks jednak jest dedykowana g³ównie do testowania.
43
44 %description -l pt_BR
45 Links é um browser WWW modo texto, similar ao Lynx. O Links exibe
46 tabelas, baixa arquivos em segundo plano, e usa as conexões HTTP/1.1
47 keepalive.
48
49 %prep
50 %setup -q
51
52 %build
53 newoptflags="%{optflags} -Os -fomit-frame-pointer"
54 %define optflags $newoptflags
55
56 rm -f missing
57 %{__aclocal}
58 %{__autoconf}
59 %{__automake}
60 %configure \
61         --disable-lua \
62         --disable-ipv6 \
63         --enable-fastmem \
64         --without-x
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW \
70         $RPM_BUILD_ROOT%{_datadir}/%{name} \
71         $RPM_BUILD_ROOT{%{_sysconfdir},%{_pixmapsdir}}
72
73 %{__make} install DESTDIR=$RPM_BUILD_ROOT
74
75 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
76 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
82 %defattr(644,root,root,755)
83 %doc AUTHORS BUGS ChangeLog NEWS README SITES TODO
84 %doc contrib/{completion.tcsh,keybind*,wipe-out-ssl*}
85 %doc contrib/conv/{*awk,*.pl,*.sh}
86 %doc doc/{*.txt,*.html}
87 #%dir %{_sysconfdir}
88 #%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
89 %attr(755,root,root) %{_bindir}/*
90 %{_mandir}/man*/*
91 %{_applnkdir}/Network/WWW/*
92 %{_pixmapsdir}/*
This page took 0.074054 seconds and 4 git commands to generate.