]> git.pld-linux.org Git - packages/elinks.git/blob - elinks.spec
- update to 0.4.1
[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.1
5 #%%define       _pre    rc4
6 #Release:       0.%{_pre}.1
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:  lua40-devel
21 BuildRequires:  ncurses-devel => 5.1
22 BuildRequires:  openssl-devel >= 0.9.6a
23 BuildRequires:  zlib-devel
24 BuildRequires:  /usr/bin/texi2html
25 Provides:       webclient
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 pl
36 Bogata w opcje i mo¿liwo¶ci wersja tekstowej przegl±darki www - links.
37 elinks jednak jest dedykowana g³ównie do testowania.
38
39 %prep
40 #%%setup -q -n %{name}-%{version}%{_pre}
41 %setup -q
42
43 %build
44 rm -f missing
45 %{__aclocal}
46 %{__autoconf}
47 %{__automake}
48 %configure \
49         --enable-fastmem \
50         --without-x
51 %{__make}
52
53 cd doc
54 texi2html elinks-lua.texi
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW \
59         $RPM_BUILD_ROOT%{_datadir}/%{name} \
60         $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_pixmapsdir}}
61
62 %{__make} install DESTDIR=$RPM_BUILD_ROOT
63
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
65 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
66
67 install contrib/lua/*.lua $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS BUGS ChangeLog NEWS README SITES TODO
75 %doc contrib/{completion.tcsh,keybind*,wipe-out-ssl*,lua/elinks-remote}
76 %doc contrib/conv/{*awk,*.pl,*.sh}
77 %doc doc/{*.txt,*.html}
78 %attr(755,root,root) %{_bindir}/*
79 %{_applnkdir}/Network/WWW/*
80 %{_mandir}/man*/*
81 %{_pixmapsdir}/*
82 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}
This page took 0.068312 seconds and 4 git commands to generate.