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