File man-pages-zh_CN.spec of Package man-pages-zh_CN
#
# spec file for package man-pages-zh_CN (Version 1.5)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: man-pages-zh_CN
License: GNU Free Documentation License, Version 1.1 (GFDL)
Group: System/I18n/Chinese
Autoreqprov: off
Provides: locale(man:zh)
Version: 1.5
Release: 1
Summary: Chinese translation of man pages from the CMPP project
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: http://cmpp.linuxforum.net
Source: http://cmpp.linuxforum.net/download/%{name}-%{version}.tar.bz2
BuildArchitectures: noarch
%description
Chinese translation of man pages from the CMPP project
Authors:
--------
xuming <xuming@users.sourceforge.net>
%prep
%setup -q -n manpages-zh-%{version}
%build
make u8
%install
make DESTDIR=$RPM_BUILD_ROOT%{_usr}/share install-doc
make DESTDIR=$RPM_BUILD_ROOT%{_usr}/share install-u8
mv $RPM_BUILD_ROOT%{_mandir}/zh_CN.UTF-8 $RPM_BUILD_ROOT%{_mandir}/zh_CN
# move documentation to the standard location:
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
mv $RPM_BUILD_ROOT/usr/share/doc/%{name}/* \
$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
%files
%defattr(-,root,root)
%doc %{_defaultdocdir}/%{name}/
%doc %{_mandir}/zh_CN
%changelog
* Fri Jul 27 2007 - mfabian@suse.de
- new package man-pages-zh_CN, version 1.5.