head 1.11; access; symbols OPENPKG_E1_MP:1.2 OPENPKG_E1_MP_HEAD:1.2; locks; strict; comment @-- @; 1.11 date 2009.07.08.17.03.05; author rse; state Exp; branches; next 1.10; commitid Ww7NZ44uRuirJVUt; 1.10 date 2009.05.31.18.29.33; author rse; state Exp; branches; next 1.9; commitid 79Uqg6THByzQq3Qt; 1.9 date 2009.04.18.13.10.08; author rse; state Exp; branches; next 1.8; commitid 4pHXU27WTIGCZuKt; 1.8 date 2009.03.29.17.56.12; author rse; state Exp; branches; next 1.7; commitid Zmtc5ndavg1YgXHt; 1.7 date 2008.09.22.05.50.28; author rse; state Exp; branches; next 1.6; commitid wPWTeKpni8aEiJjt; 1.6 date 2008.06.21.07.54.19; author rse; state Exp; branches; next 1.5; commitid arFsAVVIi4VsYM7t; 1.5 date 2008.03.04.18.54.35; author rse; state Exp; branches; next 1.4; commitid b2lui7venxAd8QTs; 1.4 date 2008.01.01.14.53.29; author rse; state Exp; branches; next 1.3; commitid B8esaHJHoduuKILs; 1.3 date 2007.04.16.05.33.09; author rse; state Exp; branches; next 1.2; commitid tXELdwSbGxRY4ges; 1.2 date 2007.01.01.17.37.40; author rse; state Exp; branches; next 1.1; commitid BicZD6VUl7GuqP0s; 1.1 date 2006.11.26.21.27.54; author rse; state Exp; branches; next ; commitid B9mMkRqSC6xwTdWr; desc @@ 1.11 log @upgrading package: elinks 0.12pre4 -> 0.12pre5 @ text @## ## elinks.spec -- OpenPKG RPM Package Specification ## Copyright (c) 2000-2009 OpenPKG Foundation e.V. ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## # package information Name: elinks Summary: Interactive Full-Screen Client for HTTP/HTTPS/FTP Protocols URL: http://elinks.cz/ Vendor: Stranka Mikulase Patocky, Jonas Fonseca Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Web License: GPL Version: 0.12pre5 Release: 20090708 # package options %option with_ssl yes %option with_idn yes %option with_js yes %option with_cgi no # list of sources Source0: http://elinks.cz/download/elinks-%{version}.tar.gz # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20040130, make, pkgconfig PreReq: OpenPKG, openpkg >= 20040130 BuildPreReq: expat, zlib, bzip2, libiconv PreReq: expat, zlib, bzip2, libiconv %if "%{with_ssl}" == "yes" BuildPreReq: openssl PreReq: openssl %endif %if "%{with_js}" == "yes" BuildPreReq: js PreReq: js %endif %if "%{with_idn}" == "yes" BuildPreReq: libidn PreReq: libidn %endif AutoReq: no AutoReqProv: no %description ELinks is an advanced and well-established feature-rich text mode web browser. ELinks can render both frames and tables, is highly customizable and can be extended via Lua or Guile scripts. It is very portable and runs on a variety of platforms. %track prog elinks = { version = %{version} url = http://elinks.cz/download/ regex = elinks-(__VER__)\.tar\.gz } %prep %setup -q %build export CC="%{l_cc}" export CFLAGS="%{l_cflags -O}" export CPPFLAGS="%{l_cppflags}" export LDFLAGS="%{l_ldflags}" export LIBS="" CFLAGS="$CFLAGS `pkg-config libidn js --cflags-only-other`" CPPFLAGS="$CPPFLAGS `pkg-config libidn js --cflags-only-I`" LDFLAGS="$LDFLAGS `pkg-config libidn js --libs-only-other`" LIBS="$LIBS `pkg-config libidn js --libs-only-l`" export TERM=vt100 ./configure \ --prefix=%{l_prefix} \ --libdir=%{l_prefix}/lib/elinks \ --enable-html-highlight \ --enable-css \ --enable-cookies \ --enable-ftp \ --with-libiconv=%{l_prefix} \ %if "%{with_idn}" == "yes" --with-idn=%{l_prefix} \ %else --without-idn \ %endif %if "%with_ssl}" == "yes" --with-openssl=%{l_prefix} \ %else --without-openssl \ %endif --without-gnutls \ %if "%{with_js}" == "yes" --enable-sm-scripting \ --with-spidermonkey=%{l_prefix} \ %else --disable-sm-scripting \ %endif %if "%with_cgi}" == "yes" --enable-cgi \ %else --disable-cgi \ %endif --with-zlib \ --with-bzlib \ --disable-nls %{l_make} %{l_mflags} %install rm -rf $RPM_BUILD_ROOT %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/locale %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.10 log @upgrading package: elinks 0.12pre3 -> 0.12pre4 @ text @d34 2 a35 2 Version: 0.12pre4 Release: 20090531 @ 1.9 log @bump years in copyright messages @ text @d34 2 a35 2 Version: 0.12pre3 Release: 20090329 @ 1.8 log @upgrading package: elinks 0.11.5 -> 0.12pre3 @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.7 log @upgrading package: elinks 0.11.4 -> 0.11.5 @ text @d34 2 a35 2 Version: 0.11.5 Release: 20080922 @ 1.6 log @upgrading package: elinks 0.11.4rc1 -> 0.11.4 @ text @d34 2 a35 2 Version: 0.11.4 Release: 20080621 @ 1.5 log @upgrading package: elinks 0.11.3 -> 0.11.4rc1 @ text @d34 2 a35 2 Version: 0.11.4rc1 Release: 20080304 @ 1.4 log @Update package specifications according to OpenPKG year 2008 world order: http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html @ text @d34 2 a35 2 Version: 0.11.3 Release: 20080101 a44 1 Patch0: elinks.patch a82 1 %patch -p0 @ 1.3 log @upgrading package: elinks 0.11.2 -> 0.11.3 @ text @d3 1 a3 2 ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. ## Copyright (c) 2000-2007 Ralf S. Engelschall d35 1 a35 1 Release: 20070416 @ 1.2 log @Welcome Year 2007! @ text @d35 2 a36 2 Version: 0.11.2 Release: 20061126 @ 1.1 log @new package: elinks 0.11.2 (Interactive Full-Screen Client for HTTP/HTTPS/FTP Protocols) @ text @d3 2 a4 2 ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall @