]> git.pld-linux.org Git - packages/elinks.git/blobdiff - elinks.spec
- more fixes/updates
[packages/elinks.git] / elinks.spec
index d0173317c3322e6df854bb6e0e95bd0fcaa39e07..d1596a2f35c010ef52fd6387a1d8ff226e48e89e 100644 (file)
@@ -4,23 +4,24 @@ Summary(pl):  Eksperymentalny Links (tekstowa przegl
 Summary(pt_BR):        O links é um browser para modo texto, similar ao lynx
 Name:          elinks
 Version:       0.5
-%define        _pre    pre6
+%define        _pre    rc1
 Release:       0.%{_pre}.1
 Epoch:         1
 License:       GPL
 Group:         Applications/Networking
 #Source0Download:      http://elinks.or.cz/download.html
 Source0:       http://elinks.or.cz/download/%{name}-%{version}%{_pre}.tar.bz2
-# Source0-md5: 6445fdcd652709be3fb7401e9da019f7
+# Source0-md5: ca112cc3160232c13467db583d775f97
 Source1:       %{name}.desktop
 Source2:       links.png
 Patch0:                %{name}-pl.po.patch
-Patch1:                %{name}-palette.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
@@ -65,7 +66,10 @@ keepalive.
 %{__autoheader}
 %{__automake}
 %configure \
-       --enable-fastmem \
+%{!?debug:     --enable-fastmem} \
+%{?debug:      --enable-debug} \
+       --enable-leds \
+       --enable-256-colors \
        --without-x
 %{__make}
 
@@ -75,14 +79,14 @@ 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
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/WWW
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
 
 install contrib/lua/[bcmr]*.lua $RPM_BUILD_ROOT%{_sysconfdir}
@@ -96,11 +100,11 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS BUGS ChangeLog NEWS README SITES TODO
-%doc contrib/{completion.tcsh,keybind*,wipe-out-ssl*,lua/elinks-remote}
+%doc contrib/{keybind*,wipe-out-ssl*,lua/elinks-remote}
 %doc contrib/conv/{*awk,*.pl,*.sh}
 %doc doc/{*.txt,*.html}
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man*/*
-%{_applnkdir}/Network/WWW/*
+%{_desktopdir}/*
 %{_pixmapsdir}/*
 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}
This page took 0.06561 seconds and 4 git commands to generate.