2007-03-27 07:25:40 +00:00
|
|
|
Name: zhcon
|
|
|
|
Version: 0.2.6
|
2019-07-27 04:59:43 +00:00
|
|
|
Release: 37%{?dist}
|
2008-07-15 04:31:25 +00:00
|
|
|
License: GPLv2+
|
2008-11-25 02:14:18 +00:00
|
|
|
URL: http://zhcon.sourceforge.net/
|
2008-07-15 04:31:25 +00:00
|
|
|
Source0: http://ftp.debian.org/debian/pool/main/z/zhcon/%{name}_%{version}.orig.tar.gz
|
2010-11-19 05:31:48 +00:00
|
|
|
Patch0: http://ftp.debian.org/debian/pool/main/z/zhcon/%{name}_%{version}-6.1.diff.gz
|
2008-07-15 04:31:25 +00:00
|
|
|
Patch1: %{name}-%{version}-flags.patch
|
|
|
|
Patch2: %{name}-%{version}-path-define.patch
|
|
|
|
Patch3: %{name}-%{version}-gcc43.patch
|
|
|
|
Patch4: %{name}-%{version}-locale.patch
|
|
|
|
Patch5: %{name}-%{version}-keyswitch.patch
|
2008-11-25 02:14:18 +00:00
|
|
|
Patch6: %{name}-%{version}-xf86int10.patch
|
2008-07-15 04:31:25 +00:00
|
|
|
Summary: A fast Linux Console Chinese System that supports framebuffer
|
|
|
|
Summary(zh_CN): Zhcon 是一个支持 Framebuffer 的 Linux 中日韩文控制台
|
|
|
|
Summary(zh_TW): Zhcon 是一個支援 Framebuffer 及多內碼 Linux 中日韓文主控台
|
2007-03-27 07:25:40 +00:00
|
|
|
|
2008-07-28 05:25:56 +00:00
|
|
|
%if 0%{?fedora} >= 9
|
|
|
|
%define ncurse_libs_postfix -libs
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2018-08-21 08:56:12 +00:00
|
|
|
BuildRequires: gcc-c++
|
2008-07-28 05:25:56 +00:00
|
|
|
BuildRequires: autoconf automake
|
|
|
|
BuildRequires: gettext-devel ncurses-devel gpm-devel
|
|
|
|
Requires: gpm ncurses%{!?ncurse_libs_postfix: }
|
2008-07-15 04:31:25 +00:00
|
|
|
|
2007-03-27 07:25:40 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Zhcon is a fast Linux Console Chinese System which supports
|
|
|
|
framebuffer device.It can display Chinese, Japanese or Korean
|
2008-07-15 04:31:25 +00:00
|
|
|
double byte characters. Supported language encodings include:
|
|
|
|
UTF8, GB2312, GBK, BIG5, JIS and KSC.
|
2007-03-27 07:25:40 +00:00
|
|
|
|
|
|
|
%description -l zh_CN
|
2008-07-15 04:31:25 +00:00
|
|
|
zhcon 是一个支持 Framebuffer 的 Linux 中日韩文控制台。
|
2007-03-27 07:25:40 +00:00
|
|
|
它能够控制台上显示简体中文、繁体中文、日文、韩文
|
|
|
|
等双字节字符。支持多种输入法。
|
2008-07-15 04:31:25 +00:00
|
|
|
现支持的有: UTF8, GB2312, GBK, BIG5, JIS 及 KSC。
|
2007-03-27 07:25:40 +00:00
|
|
|
|
2008-07-15 04:31:25 +00:00
|
|
|
%description -l zh_TW
|
|
|
|
zhcon 是一個支援 Framebuffer 與多内碼的 Linux 中日韓文主控台。
|
|
|
|
它能够在控制台上顯示簡體中文、繁體中文、日文、韓文
|
|
|
|
等雙位元組字元。支援多种输入法。
|
|
|
|
現支援的內碼有: UTF8, GB2312, GBK, BIG5, JIS 及 KSC。
|
2018-08-21 08:56:12 +00:00
|
|
|
|
2007-03-27 07:25:40 +00:00
|
|
|
%prep
|
2008-07-15 04:31:25 +00:00
|
|
|
%setup -q
|
2010-01-04 05:54:42 +00:00
|
|
|
%patch0 -p1 -b .6-diff
|
2008-07-15 04:31:25 +00:00
|
|
|
%patch1 -p1 -b .flags
|
|
|
|
%patch2 -p0 -b .path-define
|
|
|
|
%patch3 -p0 -b .gcc43
|
|
|
|
%patch4 -p0 -b .locale
|
|
|
|
%patch5 -p0 -b .keyswitch
|
2008-11-25 02:14:18 +00:00
|
|
|
%patch6 -p0 -b .xf86int10
|
2007-03-27 07:25:40 +00:00
|
|
|
iconv -f GB2312 -t UTF-8 ChangeLog -o ChangeLog.utf && mv -f ChangeLog.utf ChangeLog
|
|
|
|
( cd doc; tar -zxf html.tar.gz; chmod 755 manual)
|
2010-11-19 05:31:48 +00:00
|
|
|
# liu5 is a non-free input method
|
|
|
|
rm -f input/big5-liu5.mb
|
2007-03-27 07:25:40 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
# exit if bootstrap fails
|
|
|
|
# missing config.rpath causes automake failure
|
|
|
|
sed -i -e 's|set -x|set -e -x|' bootstrap
|
|
|
|
touch config.rpath
|
|
|
|
|
|
|
|
./bootstrap
|
2013-04-15 04:11:39 +00:00
|
|
|
autoreconf -ivf
|
2013-05-22 03:26:23 +00:00
|
|
|
%global _hardened_build 1
|
|
|
|
|
2007-03-27 07:25:40 +00:00
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -c -p" install
|
|
|
|
|
|
|
|
%files
|
2018-08-21 08:56:12 +00:00
|
|
|
%doc AUTHORS ChangeLog README README.utf8 THANKS TODO doc/bpsf.txt doc/README.html
|
|
|
|
%license COPYING
|
2007-03-27 07:25:40 +00:00
|
|
|
%lang(zh_CN) %doc doc/manual* doc/poem.gb doc/poem.gb.utf8
|
|
|
|
%lang(zh_TW) %doc doc/poem.big5
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
|
|
|
%attr(4755,root,root) %{_bindir}/%{name}
|
|
|
|
%{_datadir}/%{name}/
|
|
|
|
|
|
|
|
%changelog
|
2019-07-27 04:59:43 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-37
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-03 13:10:32 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-36
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-08-21 08:56:12 +00:00
|
|
|
* Tue Aug 21 2018 Parag Nemade <pnemade AT fedoraproject.org> - 0.2.6-35
|
|
|
|
- Fix FTBFS(rh#1606790)
|
|
|
|
|
2018-07-14 09:49:58 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-34
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 22:27:21 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-33
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 11:10:53 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-32
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 22:42:36 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-31
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 18:24:09 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-30
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-05 04:06:16 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-29
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-19 04:46:58 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-28
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-02 16:52:39 +00:00
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.2.6-27
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
2014-08-18 11:38:23 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-26
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 18:09:03 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-25
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 09:51:20 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-24
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-05-22 03:26:23 +00:00
|
|
|
* Wed May 22 2013 Ding-Yi Chen <dchen at redhat dot com> - 0.2.6-23
|
|
|
|
- Resolves: Bug 965518 - zhcon package should be built with PIE flags
|
|
|
|
|
2013-04-15 04:11:39 +00:00
|
|
|
* Mon Apr 15 2013 Ding-Yi Chen <dchen at redhat dot com> - 0.2.6-22
|
|
|
|
- Resolves: Bug 926861 - zhcon: Does not support aarch64 in f19 and rawhide
|
|
|
|
|
2013-02-15 04:19:49 +00:00
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-22 08:15:59 +00:00
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-02-28 20:42:27 +00:00
|
|
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-19
|
|
|
|
- Rebuilt for c++ ABI breakage
|
|
|
|
|
2012-01-14 09:36:26 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 08:51:07 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-19 05:31:48 +00:00
|
|
|
* Fri Nov 19 2010 Ding-Yi Chen <dchen at redhat dot com> - 0.2.6-16
|
|
|
|
- Applied Debian's zhcon_0.2.6-6-1.diff.gz patch.
|
|
|
|
- Remove input/big5-liu5.mb, as it may cause license issue.
|
|
|
|
|
2010-01-04 05:54:42 +00:00
|
|
|
* Mon Jan 04 2010 Ding-Yi Chen <dchen at redhat dot com> - 0.2.6-15
|
|
|
|
- Applied Debian's zhcon_0.2.6-6.diff.gz patch.
|
|
|
|
- Fixed Bug 539125 - FTBFS zhcon-0.2.6-14.fc12
|
|
|
|
|
2009-07-27 09:01:33 +00:00
|
|
|
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 18:38:58 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-25 03:51:39 +00:00
|
|
|
* Tue Nov 25 2008 Ding-Yi Chen <dchen at redhat dot com> - 0.2.6-12
|
2008-11-25 02:14:18 +00:00
|
|
|
- Debian provide patch of zhcon_0.2.6-5.2.diff.gz
|
2008-07-29 09:53:27 +00:00
|
|
|
|
2018-08-21 08:56:12 +00:00
|
|
|
* Tue Jul 15 2008 Ding-Yi Chen <dchen at redhat dot com> - 0.2.6-10
|
2008-07-28 05:25:56 +00:00
|
|
|
- Address the dependence in RHEL5 and Fedora <= 8 which do not have ncurses-libs.
|
|
|
|
- Add gpm as Required
|
|
|
|
|
2008-07-15 04:31:25 +00:00
|
|
|
* Tue Jul 15 2008 Ding-Yi Chen <dchen at redhat dot com> - 0.2.6-9
|
|
|
|
- [Bug 454228] [zhcon] Cannot start input method for x86_64 user
|
|
|
|
- [Bug 449625] FTBFS zhcon-0.2.6-8.fc9
|
|
|
|
- [Bug 441203] [zhcon] The input methods other than the default one were not changable for use
|
|
|
|
|
2008-03-03 06:13:52 +00:00
|
|
|
* Mon Mar 03 2008 Hu Zheng <zhu@redhat.com> - 0.2.6-8
|
|
|
|
- i386 build fix.
|
|
|
|
|
2008-02-26 09:13:06 +00:00
|
|
|
* Tue Feb 26 2008 Hu Zheng <zhu@redhat.com> - 0.2.6-7
|
|
|
|
- Gcc-4.3 compile fix.
|
|
|
|
|
2008-02-20 08:43:57 +00:00
|
|
|
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.6-6
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-03-29 04:06:29 +00:00
|
|
|
* Thu Mar 29 2007 Hu Zheng <zhu@redhat.com> - 0.2.6-5
|
2007-03-29 03:43:22 +00:00
|
|
|
- Fix x86_64 compile error.
|
|
|
|
|
2007-03-27 07:25:40 +00:00
|
|
|
* Tue Feb 27 2007 Hu Zheng <zhu@redhat.com> - 0.2.6-3
|
|
|
|
- Update for review.
|
|
|
|
|
|
|
|
* Thu Feb 15 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.2.6-2.1
|
|
|
|
- Add source URL
|
|
|
|
- Check if bootstrap exited with success
|
|
|
|
- Change the directory of %%{name}.conf
|
|
|
|
- Move all files in %%{_libdir} to %%{_datadir} (no libraries is
|
|
|
|
found)
|
|
|
|
- Add BR gpm-devel
|
|
|
|
- Pass optflags correctly
|
|
|
|
- Keep timestamps
|
|
|
|
|
|
|
|
* Thu Feb 15 2007 Hu Zheng <zhu@redhat.com> - 0.2.6-2
|
|
|
|
- Fix spec file.
|
|
|
|
|
|
|
|
* Mon Feb 12 2007 Hu Zheng <zhu@redhat.com> - 0.2.6-1
|
|
|
|
- Initial build for Fedora Extra
|
|
|
|
|