]> git.pld-linux.org Git - packages/elinks.git/blob - elinks.spec
- ver 0.4pre16
[packages/elinks.git] / elinks.spec
1 Summary:        Experimantal Links (text WWW browser)
2 Summary(pl):    Eksperymentalny Links (tekstowa przegl±darka WWW)
3 Name:           elinks
4 Version:        0.4pre16
5 Release:        1
6 License:        GPL
7 Group:          Applications/Networking
8 Source0:        http://elinks.or.cz/download/%{name}-%{version}.tar.bz2
9 Source1:        %{name}.desktop
10 Source2:        links.png
11 Patch0:         %{name}-configure.patch
12 Patch1:         %{name}-lua-scripts-fixes.patch
13 URL:            http://elinks.or.cz/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  bzip2-devel
17 BuildRequires:  gpm-devel
18 BuildRequires:  lua-devel
19 BuildRequires:  ncurses-devel => 5.1
20 BuildRequires:  openssl-devel >= 0.9.6a
21 BuildRequires:  zlib-devel
22 Provides:       webclient
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 This is the elinks tree - intended to provide feature-rich version of
27 links, however not rock-stable and dedicated mainly for testing. Its
28 purpose is to make alternative to links, until Mikulas will have some
29 time to maintain it, and to test and tune various patches for Mikulas
30 to be able to include them in the official links releases.
31
32 %description -l pl
33 Bogata w opcje i mo¿liwo¶ci wersja tekstowej przegl±darki www - links.
34 elinks jednak jest dedykowana g³ównie do testowania.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39 %patch1 -p1
40
41 %build
42 rm -f missing
43 cd intl
44 ./gen-intl
45 cd ..
46 aclocal
47 %{__autoconf}
48 %{__automake}
49 %configure \
50         --without-x
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW \
56         $RPM_BUILD_ROOT%{_datadir}/%{name} \
57         $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_pixmapsdir}}
58
59 %{__make} install DESTDIR=$RPM_BUILD_ROOT
60
61 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
62 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
63
64 install contrib/lua/config.lua $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc AUTHORS BUGS ChangeLog HACKING LUA NEWS README SITES TODO
72 %doc contrib/{completion.tcsh,keybind*,wipe-out-ssl*,lua/{*.lua,elinks-remote}}
73 %doc contrib/conv/{*awk,*.pl,*.sh}
74 %attr(755,root,root) %{_bindir}/*
75 %{_applnkdir}/Network/WWW/*
76 %{_mandir}/man*/*
77 %{_pixmapsdir}/*
78 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}
This page took 0.091904 seconds and 3 git commands to generate.