Fix FTBFS(rh#1606790)

This commit is contained in:
Parag Nemade 2018-08-21 14:26:12 +05:30
parent 6925eeff76
commit 6047ac6c5d
No known key found for this signature in database
GPG Key ID: 71932951EB71E972

View File

@ -1,8 +1,6 @@
Name: zhcon
Summary: A Fast Console CJK System Using FrameBuffer
Version: 0.2.6
Release: 34%{?dist}
Group: Applications/System
Release: 35%{?dist}
License: GPLv2+
URL: http://zhcon.sourceforge.net/
Source0: http://ftp.debian.org/debian/pool/main/z/zhcon/%{name}_%{version}.orig.tar.gz
@ -22,7 +20,7 @@ Summary(zh_TW): Zhcon 是一個支援 Framebuffer 及多內碼 Linux 中日韓
%endif
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: autoconf automake
BuildRequires: gettext-devel ncurses-devel gpm-devel
Requires: gpm ncurses%{!?ncurse_libs_postfix: }
@ -45,6 +43,7 @@ zhcon 是一個支援 Framebuffer 與多内碼的 Linux 中日韓文主控台。
它能够在控制台上顯示簡體中文、繁體中文、日文、韓文
等雙位元組字元。支援多种输入法。
現支援的內碼有: UTF8, GB2312, GBK, BIG5, JIS KSC。
%prep
%setup -q
%patch0 -p1 -b .6-diff
@ -73,11 +72,11 @@ autoreconf -ivf
make %{?_smp_mflags}
%install
rm -rf ${RPM_BUILD_ROOT}
make DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -c -p" install
%files
%doc AUTHORS ChangeLog COPYING README README.utf8 THANKS TODO doc/bpsf.txt doc/README.html
%doc AUTHORS ChangeLog README README.utf8 THANKS TODO doc/bpsf.txt doc/README.html
%license COPYING
%lang(zh_CN) %doc doc/manual* doc/poem.gb doc/poem.gb.utf8
%lang(zh_TW) %doc doc/poem.big5
%{_mandir}/man1/*
@ -86,6 +85,9 @@ make DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -c -p" install
%{_datadir}/%{name}/
%changelog
* Tue Aug 21 2018 Parag Nemade <pnemade AT fedoraproject.org> - 0.2.6-35
- Fix FTBFS(rh#1606790)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
@ -157,7 +159,7 @@ make DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -c -p" install
* Tue Nov 25 2008 Ding-Yi Chen <dchen at redhat dot com> - 0.2.6-12
- Debian provide patch of zhcon_0.2.6-5.2.diff.gz
* Mon Jul 15 2008 Ding-Yi Chen <dchen at redhat dot com> - 0.2.6-10
* Tue Jul 15 2008 Ding-Yi Chen <dchen at redhat dot com> - 0.2.6-10
- Address the dependence in RHEL5 and Fedora <= 8 which do not have ncurses-libs.
- Add gpm as Required