1 # To build rpm: rpmbuild -bb elinks.spec
2 # Debug version: rpmbuild -bb elinks.spec --debug
3 # Console version without X11 dependency: rpmbuild -bb elinks.spec --without x
4 # by default all features are enabled
6 # --without 256 # build without support for 256 colors on xterm
8 # --without cgi # build without local cgi support
9 # --without gpm # build without GPM support
10 # --without leds # disable leds support
11 # --without lua # build without lua scripting engine
13 # --without smb # build without support for SMB protocol
14 # --without x # without X11 dependency (X11 libs are used only for restoring title
17 # --with guile # build with guile scripting engine
18 # --with perl # build with Perl scripting engine
20 # This file was contributed by <zimon@niksula.hut.fi> and
21 # <yanek@yankuv.koniec.sk>.
23 # Just try to send the patch/new version to them and wait few days if they will
24 # do anything. If yes, they'll approve it or forward it to me (don't fear, the
25 # credit won't be lost) if it's ok by them. If you won't get any reply, send it
26 # to the elinks-dev mailing list. Thanks! --pasky
29 # Spec file format from < http://www.rpm.org/RPM-HOWTO/build.html >
32 Summary: Enhanced version of Links
(Lynx
-like text WWW browser
)
37 Vendor: ELinks project
<elinks
-users@linuxfromscratch.org
>
38 Packager: Petr Baudis
<pasky@ucw.cz
>
39 Group: Applications
/Internet
40 Source: http
://elinks.cz
/download
/%{name}-%{version}.tar.bz2
41 URL: http
://elinks.cz
/
42 BuildRequires
: bzip2
-devel
43 BuildRequires
: expat
-devel
44 BuildRequires
: gpm
-devel
45 BuildRequires
: openssl
-devel
46 BuildRequires
: zlib
-devel
47 %{!?_without_x:BuildRequires: XFree86-devel}
48 BuildRoot: %{_tmppath}/%{name}-%{version}-build
51 Enhanced version of Links
(Lynx
-like text WWW browser
), with more liberal
52 features policy and development style.
54 ELinks aims to provide feature
-rich version of Links. Its purpuose is to
make
55 alternative to Links
, and to
test and tune various new features
, but still
56 provide good rock
-solid releases inside stable branches.
64 # if you just checkout the source and make a tarball from it uncomment
70 %{?debug: --enable-debug} \
71 %{!?debug: --enable-fastmem} \
72 %{?_without_x: --without-x} \
73 %{?_without_lua: --without-lua} \
74 %{?_without_zlib: --without-zlib} \
75 %{?_without_bzlib: --without-bzlib} \
76 %{?_without_gpm: --without-gpm} \
77 %{?_without_openssl: --without-openssl} \
78 %{?_with_guile: --with-guile} \
79 %{?_with_perl: --with-perl} \
80 %{?_without_lua: --without-lua} \
81 %{!?_without_leds: --enable-leds} \
82 %{!?_without_256: --enable-256-colors} \
83 %{?_without_smb: --disable-smb} \
84 %{!?_without_cgi: --enable-cgi} \
86 --enable-html
-highlight \
90 %{?_without_spidermonkey: --without-spidermonkey}
97 rm -rf $RPM_BUILD_ROOT
98 %{__make} install DESTDIR
=$RPM_BUILD_ROOT
99 install -d $RPM_BUILD_ROOT
/%{_defaultdocdir}/%{name}/{contrib,conv,lua,guile,perl}
101 AUTHORS
* BUGS
* ChangeLog
* COPYING
* README
* SITES
* TODO
* THANKS
* \
102 INSTALL
* NEWS
* $RPM_BUILD_ROOT
/%{_defaultdocdir}/%{name}/
104 contrib
/elinks.vim contrib
/elinks
-vim.diff contrib
/keybind
*.conf \
105 $RPM_BUILD_ROOT
/%{_defaultdocdir}/%{name}/contrib
/
107 contrib
/conv
/w3m2links.awk contrib
/conv
/conf
-links2elinks.pl \
108 contrib
/conv
/mailcap.pl contrib
/conv
/old_to_new_bookmarks.sh \
109 $RPM_BUILD_ROOT
/%{_defaultdocdir}/%{name}/conv
/
111 contrib
/lua
/elinks
-remote contrib
/lua
/*.lua \
112 $RPM_BUILD_ROOT
/%{_defaultdocdir}/%{name}/lua
/
115 $RPM_BUILD_ROOT
/%{_defaultdocdir}/%{name}/guile
/
117 contrib
/perl
/hooks.pl \
118 $RPM_BUILD_ROOT
/%{_defaultdocdir}/%{name}/perl
121 $RPM_BUILD_ROOT
/%{_defaultdocdir}/%{name}/
126 rm -rf $RPM_BUILD_ROOT
128 %files -f
%{name}.lang
129 %defattr(644,root
,root
,755)
130 %attr (755,root
,root
) %{_bindir}/%{name}
131 %doc %{_defaultdocdir}/%{name}
132 %doc %{_mandir}/man?
/*
134 # date +"%a %b %d %Y"
136 * Sat Apr
29 2006 Witold Filipczyk
<witekfl@pld
-linux.org
>
137 - html docs instead of text files
139 * Fri Feb
17 2006 Witold Filipczyk
<witekfl@pld
-linux.org
>
142 * Thu Dec
29 2005 Miciah Dashiel Butler Masters
<mdm0304@ecu.edu
>
143 - elinks.or.cz
-> elinks.cz
145 * Tue Jun
14 2005 Witold Filipczyk
<witekfl@pld
-linux.org
>
146 - removed unused texi2html dependency
147 - removed unused libdir directory
149 * Mon Sep
27 2004 Witold Filipczyk
<witekfl@pld
-linux.org
>
150 - by default build feature rich ELinks
152 * Thu Mar
25 2004 Witold Filipczyk
<witekfl@pld
-linux.org
>
156 * Wed Dec
10 2003 Witold Filipczyk
<witekfl@pld
-linux.org
>
157 - enabled leds and
local-cgi
159 * Sun Oct
26 2003 Witold Filipczyk
<witekfl@pld
-linux.org
>
160 - revert to version from
5 October
162 * Sat Oct
25 2003 Witold Filipczyk
<witekfl@pld
-linux.org
>
163 - more BRs. gettext should be enough
for most cases
, but
164 gettext
-devel shouldn't hurt.
166 * Sun Oct
05 2003 Witold Filipczyk
<witekfl@pld
-linux.org
>
169 * Thu Oct
02 2003 Witold Filipczyk
<witekfl@pld
-linux.org
>
173 * Sat Sep
27 2003 darix@irssi.org
175 - changed
BuildRoot to use tmppath variable.
177 - added some more docs and the guile scripts
179 * Sat Sep
27 2003 Petr Baudis
<pasky@ucw.cz
>
180 - sanity checks of $RPM_BUILD_ROOT before
rm -rf'ing it
, based on darix's
183 * Sun Jan
26 2003 Petr Baudis
<pasky@ucw.cz
>
184 - elinks.pld.org.pl
-> elinks.or.cz
, based on Bennett's suggestion
186 * Thu Dec
19 2002 Bennett Todd
<bet@rahul.net
>
187 - wildcarded the above doc and manpage specifications
, and tagged the man
190 * Mon May
06 2002 yanek@yankuv.koniec.sk
191 - general update
- cleanup of .spec file
, massive simplifications
193 * Thu Apr
04 2002 pasky@ucw.cz
194 - Changed some stuff so that it's now ready
for inclusion..
196 * Sat Mar
16 2002 zimon
(ät
) iki
fi
197 - Made my own elinks.spec file as the one I found with Google didn't work how