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

# spec file for package man-pages-fr
# Copyright (c) 2016 SUSE LINUX 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

# Source file has sometimes a revision number (major.minor-revision).
# If not, replace by the nil macro
%define revision -1

Name:           man-pages-fr
Version:        3.70
Release:        0
Summary:        LDP man Pages (French)
License:        GPL-2.0 and GPL-2.0+ and BSD-3-Clause and GFDL-1.1 and GFDL-1.2
Group:          Documentation/Man
Suggests:       man-pages-fr-extra
Provides:       locale(man-pages:fr)
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.

%setup -q -n fr


mkdir -p %{buildroot}%{_mandir}/fr
for section in man? ; do
  mkdir -p %{buildroot}%{_mandir}/fr/$section
  install -m 644 $section/* %{buildroot}%{_mandir}/fr/$section
%find_lang %{name} --with-man --all-name

%files -f %{name}.lang

openSUSE Build Service is sponsored by