]> git.pld-linux.org Git - packages/elinks.git/blobdiff - elinks.spec
- more fixes/updates
[packages/elinks.git] / elinks.spec
index b52b41e93e0ce7d479b3aa6c82569c6e9f554801..d1596a2f35c010ef52fd6387a1d8ff226e48e89e 100644 (file)
@@ -1,24 +1,39 @@
-%define snap   20020124 
 Summary:       Experimantal Links (text WWW browser)
-Summary(pl):   Eksperymentalne Links (tekstowa przegl±darka WWW)
+Summary(es):   El links es un browser para modo texto, similar a lynx
+Summary(pl):   Eksperymentalny Links (tekstowa przegl±darka WWW)
+Summary(pt_BR):        O links é um browser para modo texto, similar ao lynx
 Name:          elinks
-Version:       0.2.2
-Release:       1
+Version:       0.5
+%define        _pre    rc1
+Release:       0.%{_pre}.1
+Epoch:         1
 License:       GPL
 Group:         Applications/Networking
-Group(de):     Applikationen/Netzwerkwesen
-Group(pl):     Aplikacje/Sieciowe
-Source0:       http://pasky.ji.cz/elinks/%{name}-%{version}.tar.bz2
+#Source0Download:      http://elinks.or.cz/download.html
+Source0:       http://elinks.or.cz/download/%{name}-%{version}%{_pre}.tar.bz2
+# Source0-md5: ca112cc3160232c13467db583d775f97
 Source1:       %{name}.desktop
-URL:           http://pasky.ji.cz/elinks/
+Source2:       links.png
+Patch0:                %{name}-pl.po.patch
+Patch1:                %{name}-home_etc.patch
+URL:           http://elinks.or.cz/
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: bzip2-devel
+BuildRequires: expat-devel
+BuildRequires: gettext-devel
 BuildRequires: gpm-devel
+BuildRequires: lua40-devel
 BuildRequires: ncurses-devel => 5.1
-BuildRequires: openssl-devel >= 0.9.6a
+BuildRequires: openssl-devel >= 0.9.7c
+BuildRequires: zlib-devel
+BuildRequires: /usr/bin/texi2html
 Provides:      webclient
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _sysconfdir     /etc/elinks
+%define                specflags_ia32  "-fomit-frame-pointer"
+
 %description
 This is the elinks tree - intended to provide feature-rich version of
 links, however not rock-stable and dedicated mainly for testing. Its
@@ -26,40 +41,70 @@ purpose is to make alternative to links, until Mikulas will have some
 time to maintain it, and to test and tune various patches for Mikulas
 to be able to include them in the official links releases.
 
+%description -l es
+Links es un browser WWW modo texto, similar al Lynx. El links muestra
+tablas, hace baja archivos en segundo plano, y usa conexiones HTTP/1.1
+keepalive.
+
 %description -l pl
 Bogata w opcje i mo¿liwo¶ci wersja tekstowej przegl±darki www - links.
 elinks jednak jest dedykowana g³ównie do testowania.
 
+%description -l pt_BR
+Links é um browser WWW modo texto, similar ao Lynx. O Links exibe
+tabelas, baixa arquivos em segundo plano, e usa as conexões HTTP/1.1
+keepalive.
+
 %prep
-%setup -q -n %{name}-%{snap}
+%setup -q -n %{name}-%{version}%{_pre}
+%patch0 -p1
+%patch1 -p1
 
 %build
-rm -f missing
-aclocal
-autoconf
-automake -a -c
-%configure
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+%{!?debug:     --enable-fastmem} \
+%{?debug:      --enable-debug} \
+       --enable-leds \
+       --enable-256-colors \
+       --without-x
 %{__make}
 
+cd doc
+texi2html elinks-lua.texi
+cd ..
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
+install -d $RPM_BUILD_ROOT%{_desktopdir} \
+       $RPM_BUILD_ROOT%{_datadir}/%{name} \
+       $RPM_BUILD_ROOT{%{_sysconfdir},%{_pixmapsdir}}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-mv -f $RPM_BUILD_ROOT%{_bindir}/links          $RPM_BUILD_ROOT%{_bindir}/%{name}
-mv -f $RPM_BUILD_ROOT%{_mandir}/man1/links.1   $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
+install contrib/lua/[bcmr]*.lua $RPM_BUILD_ROOT%{_sysconfdir}
+install contrib/lua/hooks.lua.in $RPM_BUILD_ROOT%{_sysconfdir}/hooks.lua
 
-gzip -9nf AUTHORS BUGS ChangeLog README SITES TODO
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS BUGS ChangeLog NEWS README SITES TODO
+%doc contrib/{keybind*,wipe-out-ssl*,lua/elinks-remote}
+%doc contrib/conv/{*awk,*.pl,*.sh}
+%doc doc/{*.txt,*.html}
 %attr(755,root,root) %{_bindir}/*
-%{_applnkdir}/Network/WWW/*
 %{_mandir}/man*/*
+%{_desktopdir}/*
+%{_pixmapsdir}/*
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}
This page took 0.087294 seconds and 4 git commands to generate.