1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
Name: man-pages-zh_CN
Version: 1.5
Release: 1
Summary: Chinese translation of man pages from the CMPP project
Summary(zh_CN): 来自CMPP 计划的中文手册页
Group: Documentation
Copyright: FDL
Vendor: CMPP project
URL: http://cmpp.linuxforum.net
Source: http://cmpp.linuxforum.net/download/%{name}-%{version}.tar.gz
Packager: bbbush <bbbush@163.com>
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
#==========================
%description
Chinese translation of man pages from the CMPP project.
%description -l zh_CN
来自CMPP 计划的中文手册页。
请访问 http://cmpp.linuxforum.net 来获取更多信息。
#==========================
%package gb
Summary: Chinese translation of man pages from the CMPP project, gb
Group: Documentation
%description gb
Chinese translation of man pages from the CMPP project.
Files are coded in zh_CN.GB18030 and you can use "cman" command to view them.
##==========================
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
%build
rm -rf $RPM_BUILD_ROOT
make u8
make gb
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT%{_usr}/share install-doc
make DESTDIR=$RPM_BUILD_ROOT%{_usr}/share install-u8
make DESTDIR=$RPM_BUILD_ROOT%{_usr}/share CONFDIR=$RPM_BUILD_ROOT%{_sysconfdir} install-gb
%clean
rm -rf $RPM_BUILD_ROOT
%files
%{_mandir}/zh_CN.UTF-8
%{_usr}/share/doc/%{name}
%files gb
%{_mandir}/zh_CN
%{_mandir}/zh_CN.GB*
%{_sysconfdir}/cman.conf
%{_sysconfdir}/profile.d/cman.*
%{_usr}/share/doc/%{name}
%changelog
* Mon May 24 2004 bbbush <bbbush@163.com>
- FedoraCore2 use zh_CN as an alias of zh_CN.GB2312, but default is zh_CN.UTF-8
* Sun Oct 26 2003 bbbush <bbbush@163.com>
- mainly for UTF-8
* Tue Jun 19 2001 Yangbotao <yangbt@legend.com>
- first chinese manpages.
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
* Tue Jun 20 2000 Jeff Johnson <jbj@redhat.com>
- rebuild to compress man pages.
* Sun Jun 11 2000 Trond Eivind Glomsrød <teg@redhat.com>
- first build
|