File man-pages-ru.spec of Package man-pages-ru
#
# spec file for package man-pages-ru (Version 0.98)
#
# 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-ru
Url: http://www.linuxshare.ru/projects/trans/mans.html
License: Any permissive; GPL v2 or later; Linux Documentation Project License (LDPL); Public Domain, Freeware
Group: Documentation/Man
AutoReqProv: off
Version: 0.98
Release: 82
%if 0%{suse_version} > 1000
Provides: locale(man:ru)
%endif
%if 0%{suse_version} > 1020
BuildRequires: fdupes
%endif
Summary: LDP man Pages (Russian)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: manpages-ru-%version.tar.bz2
BuildArch: noarch
%description
These are the Russian man pages of the Linux Documentation Project.
Note that they are normally older than the English versions. You
should use the English versions as a reference.
Authors:
--------
Michele Dalla Silvestra <dalla@psico.unipd.it>
%prep
%setup -n manpages-ru-%version
%build
%install
mkdir -p $RPM_BUILD_ROOT%{_mandir}/ru
for i in man? ; do
mkdir -p $RPM_BUILD_ROOT%{_mandir}/ru/$i
install -m 644 $i/* $RPM_BUILD_ROOT%{_mandir}/ru/$i
done
%if 0%{suse_version} > 1020
%fdupes -s %buildroot
%endif
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%doc CREDITS NEWS FAQ
%{_mandir}/ru
%changelog
* Fri Jul 06 2007 lrupp@suse.de
- remove INSTALL* from %%doc
* Thu Jul 05 2007 lrupp@suse.de
- update to 0.98
- use fdupes
- cleanup after build is finished
- add locale provide
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Oct 11 2005 hvogel@suse.de
- New package, Version 0.7