File man-pages-ru.spec of Package man-pages-ru

#
# spec file for package man-pages-ru (Version 0.98)
#
# 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-ru
URL:            http://www.linuxshare.ru/projects/trans/mans.html
License:        GPL v2 or later, Linux Documentation Project License (LDPL), Lizence differs from man page to page, some are GPL, some
Group:          Documentation/Man
Autoreqprov:    off
Version:        0.98
Release:        2
%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
BuildArchitectures: noarch

%description
These are the Russian man pages of the Linux Documentation Project.
Note that they are normally older than the English versions.  For
reference, you should use the English versions.



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
openSUSE Build Service is sponsored by