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