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) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: man-pages-zh_CN
License: GFDL-1.1
Group: System/I18n/Chinese
AutoReqProv: off
Provides: locale(man:zh)
Version: 1.5
Release: 74
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
BuildArch: 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.