]> git.pld-linux.org Git - packages/elinks.git/blob - elinks.spec
- updated to 0.4rpe15
[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.4pre15
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 aclocal
44 %{__autoconf}
45 %{__automake}
46 %configure \
47         --without-x
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW \
53         $RPM_BUILD_ROOT%{_datadir}/%{name} \
54         $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_pixmapsdir}}
55
56 %{__make} install DESTDIR=$RPM_BUILD_ROOT
57
58 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
59 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
60
61 install contrib/lua/config.lua $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc AUTHORS BUGS ChangeLog HACKING LUA NEWS README SITES TODO
69 %doc contrib/{completion.tcsh,keybind*,wipe-out-ssl*,lua/{*.lua,elinks-remote}}
70 %doc contrib/conv/{*awk,*.pl,*.sh}
71 %attr(755,root,root) %{_bindir}/*
72 %{_applnkdir}/Network/WWW/*
73 %{_mandir}/man*/*
74 %{_pixmapsdir}/*
75 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}
This page took 0.04178 seconds and 4 git commands to generate.