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

# spec file for package man-pages-pl (Version 2008.12.1)
# Copyright (c) 2008 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

# norootforbuild

Name:           man-pages-pl
License:        Any permissive; GPL v2 or later; Linux Documentation Project License (LDPL); Public Domain, Freeware
Group:          Documentation/Man
AutoReqProv:    off
Version:        2008.12.1
Release:        1
Summary:        LDP man Pages (Polish)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         manpages-pl.tar.bz2
%if 0%{?suse_version} > 1000
Provides:       locale(man:pl)
%if 0%{?suse_version} > 1020
BuildRequires:  fdupes
BuildArch:      noarch

These are the Polish man pages of the Linux Documentation Project.
Note, that usually they are older than the English versions. You should
use the English versions as a reference.

    Michele Dalla Silvestra <>

%setup -q -n manpages-pl
find . -iname "*cvs*" | xargs rm -rf 
# remove doubles
# provided by mc:
rm man1/mc.1
# provided by vim
rm man1/evim.1
rm man1/ex.1
rm man1/gview.1
rm man1/eview.1
rm man1/gvim.1
rm man1/gvimdiff.1
rm man1/rgview.1
rm man1/rgvim.1
rm man1/rview.1
rm man1/rvim.1
rm man1/view.1
rm man1/vim.1
rm man1/vimdiff.1
rm man1/vimtutor.1
# we use a different gpasswd
rm man1/gpasswd.1


mkdir -p $RPM_BUILD_ROOT%{_mandir}/pl
for i in man? ; do
  mkdir -p $RPM_BUILD_ROOT%{_mandir}/pl/$i
  install -m 644 $i/* $RPM_BUILD_ROOT%{_mandir}/pl/$i
%if 0%{?suse_version} > 1020
%fdupes -s %buildroot

rm -rf %buildroot

%doc ChangeLog  FAQ  FAQ  readme.english  slownik  TODO  whatis

* Mon Dec 01 2008
- drop gpasswd man page, we use one with a different syntax
* Thu Jul 05 2007
- cleanup after build is finished
- use fdupes
* Tue Jan 30 2007
- file conflict between vim and man-pages-pl (#239785)
* Thu Jul 13 2006
- remove vim man pages, they are provided by vim now
* Wed Feb 22 2006
- add language provides
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Thu Oct 13 2005
- remove mc.1. its provided by mc these days...
* Tue Oct 11 2005
- New package, cvs from yesterday