%define origname manpages-zh Summary: Chinese Man Pages from Chinese Man Pages Project Name: man-pages-zh-CN Version: 1.5.2 Release: 4%{?dist} License: GFDL Group: Documentation #Vendor: From CMPP (Chinese Man Pages Project) URL: http://code.google.com/p/manpages-zh/ Source0: https://github.com/downloads/lidaobing/manpages-zh/%{origname}-%{version}.tar.bz2 BuildArchitectures: noarch Summary(zh_CN): 中文 man pages Requires: man-pages-reader %description manpages-zh is a sub-project from i18n-zh, from the Chinese Man Pages Project (CMPP). However, the original CMPP seems inactive, nor can the original home page (cmpp.linuxforum.net) be visited. This project revives and maintains the remains of CMPP. So far the simplified Chinese is packed. %description -l zh_CN 本项目(manpages-zh)为 i18n-zh 的子项目,从 CMPP (中文 Man Pages 计划) 分支而来。 CMPP 项目现在可能已经死亡,原主页(cmpp.linuxforum.net)已不能访问。 本项目的目的是维护 CMPP 遗留下的成果,并对其错误/漏洞进行修改。 %prep %setup -q -n %{origname}-%{version} %build # Disable zh_TW, as it requires dependencies only available in Debian. %configure --disable-zhtw %__make %{?_smp_mflags} %install mkdir -p $RPM_BUILD_ROOT%{_mandir}/zh_CN %__make install DESTDIR=$RPM_BUILD_ROOT # Remove file conflict %define manDest $RPM_BUILD_ROOT%{_mandir}/zh_CN %__rm %{manDest}/man1/newgrp.1 %__rm %{manDest}/man8/chpasswd.8 %__rm %{manDest}/man8/groupadd.8 %__rm %{manDest}/man8/groupdel.8 %__rm %{manDest}/man8/groupmod.8 %__rm %{manDest}/man8/useradd.8 %__rm %{manDest}/man8/usermod.8 %__rm %{manDest}/man8/userdel.8 %files %defattr(-, root,root, -) %doc COPYING README NEWS %{_mandir}/zh_CN/man*/* %changelog * Fri Dec 27 2013 Daniel Mach - 1.5.2-4 - Mass rebuild 2013-12-27 * Thu Feb 14 2013 Fedora Release Engineering - 1.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Dec 12 2012 Peng Wu - 1.5.2-2 - Clean up spec * Thu Aug 23 2012 Peng Wu - 1.5.2-1 - Update to 1.5.2 * Thu Jul 19 2012 Fedora Release Engineering - 1.5.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 15 2010 Ding-Yi Chen - 0:1.5.1-3 - Remove Epoch tag. * Wed Dec 08 2010 Ding-Yi Chen - 0:1.5.1-2 - Initial Fedora package.