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

# spec file for package man-pages-fr (Version 3.03.0)
# 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

# norootforbuild


Name:           man-pages-fr
Version:        3.03.0
Release:        7
%define shortver %(echo %{version} | sed -e "s@\\..\\$@@")
License:        PERMISSIVE-OSI-COMPLIANT ; Man pages licenses (copyleft documentation)
Group:          Documentation/Man
AutoReqProv:    off
Source:         man-pages-fr-%{version}.tar.bz2
Summary:        LDP man Pages (French)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

These are the French 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.

    Christophe Blaess <>

%setup -n man-pages-fr-%{version}

mkdir -p $RPM_BUILD_ROOT/usr/share/man/fr
for i in lpq lpr lprm ; do
 rm -fv man1/$i.1*
for i in man? ; do
  mkdir -p $RPM_BUILD_ROOT/usr/share/man/fr/$i
  install -m 644 $i/* $RPM_BUILD_ROOT/usr/share/man/fr/$i
%find_lang %{name} --with-man --all-name

%files -f %{name}.lang
%doc LISEZ_MOI changements
#%doc liste_sect*