| 1 | %define pkg_name elinks |
|---|
| 2 | %define pkg_version 0.11.7 |
|---|
| 3 | %define pkg_release 5%{?_dist_release} |
|---|
| 4 | |
|---|
| 5 | Summary: A program for browsing the web in text mode |
|---|
| 6 | Summary(ja): テキストモードWWWブラウザ |
|---|
| 7 | Name: %{pkg_name} |
|---|
| 8 | Version: %{pkg_version} |
|---|
| 9 | Release: %{pkg_release} |
|---|
| 10 | |
|---|
| 11 | License: GPLv2 |
|---|
| 12 | Group: Applications/Internet |
|---|
| 13 | URL: http://www.elinks.cz/ |
|---|
| 14 | Source: %{name}-%{version}.tar.gz |
|---|
| 15 | |
|---|
| 16 | BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-root |
|---|
| 17 | BuildRequires: zlib-devel expat-devel |
|---|
| 18 | BuildRequires: lua lua-devel |
|---|
| 19 | Requires: zlib expat |
|---|
| 20 | |
|---|
| 21 | Vendor: Project Vine |
|---|
| 22 | Distribution: Vine Linux |
|---|
| 23 | Packager: ara_t |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | %description |
|---|
| 27 | ELinks is an advanced and well-established |
|---|
| 28 | feature-rich text mode web (HTTP/FTP/..) browser. |
|---|
| 29 | ELinks can render both frames and tables, |
|---|
| 30 | is highly customizable and can be extended |
|---|
| 31 | via Lua or Guile scripts. |
|---|
| 32 | It is quite portable and runs on a variety of platforms. |
|---|
| 33 | Check the about page for a more complete description. |
|---|
| 34 | |
|---|
| 35 | %description(ja) |
|---|
| 36 | ELinks は、高機能で安定したリッチテキストモードWeb(HTTP, FTPなど)ブラウザです。 |
|---|
| 37 | フレームやテーブルをレンダリングでき、柔軟にカスタマイズ可能です。 |
|---|
| 38 | また、Perlのスクリプトで拡張することもできます。 |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | %prep |
|---|
| 42 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 43 | %setup -q |
|---|
| 44 | |
|---|
| 45 | %build |
|---|
| 46 | %{configure} --enable-cgi --enable-finger --enable-256-colors \ |
|---|
| 47 | --enable-html-highlight \ |
|---|
| 48 | --with-perl |
|---|
| 49 | |
|---|
| 50 | %{__make} %{?_smp_mflags} |
|---|
| 51 | |
|---|
| 52 | %install |
|---|
| 53 | %{make_install} |
|---|
| 54 | %{__rm} ${RPM_BUILD_ROOT}%{_datadir}/locale/locale.alias |
|---|
| 55 | |
|---|
| 56 | %clean |
|---|
| 57 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 58 | |
|---|
| 59 | |
|---|
| 60 | %files |
|---|
| 61 | %defattr(-, root, root) |
|---|
| 62 | %doc ChangeLog COPYING NEWS README SITES THANKS |
|---|
| 63 | %{_bindir}/ |
|---|
| 64 | %{_datadir}/ |
|---|
| 65 | |
|---|
| 66 | |
|---|
| 67 | %changelog |
|---|
| 68 | * Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 0.11.7-5 |
|---|
| 69 | - correct SPEC file |
|---|
| 70 | |
|---|
| 71 | * Tue Feb 28 2016 Toshiaki Ara <ara_t@384.jp> 0.11.7-4 |
|---|
| 72 | - correct Group |
|---|
| 73 | |
|---|
| 74 | * Wed Feb 17 2016 Toshiaki Ara <ara_t@384.jp> 0.11.7-3 |
|---|
| 75 | - add document |
|---|
| 76 | |
|---|
| 77 | * Sat Oct 17 2015 Toshiaki Ara <ara_t@384.jp> 0.11.7-2 |
|---|
| 78 | - delete /usr/share/locale/locale.alias |
|---|
| 79 | - conflict with the same file in glibc-common |
|---|
| 80 | |
|---|
| 81 | * Sat Oct 17 2015 Toshiaki Ara <ara_t@384.jp> 0.11.7-1 |
|---|
| 82 | - new package |
|---|