]> git.pld-linux.org Git - packages/elinks.git/blob - elinks.spec
- updated to 0.3.0
[packages/elinks.git] / elinks.spec
1 %define snap    20020208
2 Summary:        Experimantal Links (text WWW browser)
3 Summary(pl):    Eksperymentalne Links (tekstowa przegl±darka WWW)
4 Name:           elinks
5 Version:        0.2.3
6 Release:        1
7 License:        GPL
8 Group:          Applications/Networking
9 Source0:        http://pasky.ji.cz/elinks/%{name}-%{version}.tar.bz2
10 Source1:        %{name}.desktop
11 Source2:        %{name}-bm.lua
12 Source3:        %{name}-hooks.lua
13 Patch0:         %{name}-configure.patch
14 Patch1:         %{name}-lua-config-file.patch
15 URL:            http://pasky.ji.cz/elinks/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gpm-devel
19 BuildRequires:  ncurses-devel => 5.1
20 BuildRequires:  openssl-devel >= 0.9.6a
21 BuildRequires:  lua-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 -n %{name}-%{snap}
38 %patch0 -p1
39 %patch1 -p1
40
41 %build
42 rm -f missing
43 aclocal
44 autoconf
45 automake -a -c
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
52 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
53 install -d $RPM_BUILD_ROOT%{_sysconfdir}
54
55 %{__make} install DESTDIR=$RPM_BUILD_ROOT
56
57 mv -f $RPM_BUILD_ROOT%{_bindir}/links           $RPM_BUILD_ROOT%{_bindir}/%{name}
58 mv -f $RPM_BUILD_ROOT%{_mandir}/man1/links.1    $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
59
60 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
61 install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/%{name}
62 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}
63
64 gzip -9nf AUTHORS BUGS ChangeLog README SITES TODO
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc *.gz
72 %attr(755,root,root) %{_bindir}/*
73 %{_applnkdir}/Network/WWW/*
74 %{_mandir}/man*/*
75 %{_datadir}/%{name}/*
76 %{_sysconfdir}/*
This page took 0.076013 seconds and 3 git commands to generate.