diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-12-07 02:54:32 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-12-07 02:54:32 -0800 |
commit | ef69142627684f60ef5acad2646e83bcb6255a8c (patch) | |
tree | 89d7741ff82708c3acfabfe0f9647c642eabd8a8 | |
parent | cbb6286cb92020dd7ae88798ed831ed76fd2130e (diff) | |
download | links-ef69142627684f60ef5acad2646e83bcb6255a8c.tar.gz links-ef69142627684f60ef5acad2646e83bcb6255a8c.tar.bz2 links-ef69142627684f60ef5acad2646e83bcb6255a8c.zip |
add packaging
-rw-r--r-- | packaging/links.spec | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/packaging/links.spec b/packaging/links.spec new file mode 100644 index 0000000..e6a6127 --- /dev/null +++ b/packaging/links.spec @@ -0,0 +1,44 @@ +Name: links +BuildRequires: automake +BuildRequires: openssl-devel +BuildRequires: pkgconfig +Url: http://artax.karlin.mff.cuni.cz/~mikulas/links/ +Provides: web_browser +Version: 2.6 +Release: 0 +Summary: Text-Based WWW Browser +License: GPL-2.0+ +Group: Productivity/Networking/Web/Browsers +Source: links-%{version}.tar.bz2 + +%description +Links is like Lynx--an easy-to-use browser for HTML documents and other +Internet services, like FTP, telnet, and news. Links provides a +graphical interface besides the text interface. It has good support for +frames, supports ssl, and has a little bit of JavaScript support. + + +%prep +%setup -q -n links-%{version} +%patch2 + +%build +autoreconf -ifv +CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -pipe" +%configure --with-ssl --with-pic +make + +%install +mkdir -p $RPM_BUILD_ROOT/{%{_mandir}/man1,usr/bin,%{_infodir}} +cp links.1 $RPM_BUILD_ROOT/%{_mandir}/man1 +make install DESTDIR=$RPM_BUILD_ROOT +make clean +make EXTRAA="-DSHOW_COLOR=TRUE" +install links $RPM_BUILD_ROOT/usr/bin/links + +%files +%defattr(-,root,root) +/usr/bin/links +%doc %{_mandir}/man1/links.1.gz + +%changelog |