resetting manifest requested domain to floor
[platform/upstream/links.git] / packaging / links.spec
1 Name:           links
2 BuildRequires:  automake
3 BuildRequires:  openssl-devel
4 BuildRequires:  pkgconfig
5 Url:            http://artax.karlin.mff.cuni.cz/~mikulas/links/
6 Provides:       web_browser
7 Version:        2.6
8 Release:        0
9 Summary:        Text-Based WWW Browser
10 License:        GPL-2.0+
11 Group:          Productivity/Networking/Web/Browsers
12 Source:         links-%{version}.tar.bz2
13 Source1001:     links.manifest
14
15 %description
16 Links is like Lynx--an easy-to-use browser for HTML documents and other
17 Internet services, like FTP, telnet, and news. Links provides a
18 graphical interface besides the text interface. It has good support for
19 frames, supports ssl, and has a little bit of JavaScript support.
20
21
22 %prep
23 %setup -q -n links-%{version}
24 cp %{SOURCE1001} .
25
26 %build
27 autoreconf -ifv
28 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -pipe"
29 %configure  --with-ssl  --with-pic
30 make
31
32 %install
33 mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/man1,usr/bin,%{_infodir}} 
34 cp links.1 $RPM_BUILD_ROOT/%{_mandir}/man1
35 make install DESTDIR=$RPM_BUILD_ROOT
36 make clean
37 make EXTRAA="-DSHOW_COLOR=TRUE"
38 install links $RPM_BUILD_ROOT/usr/bin/links
39
40 %files
41 %manifest %{name}.manifest
42 %license COPYING
43 %defattr(-,root,root)
44 /usr/bin/links
45 %doc %{_mandir}/man1/links.1.gz
46
47 %changelog