File man-pages-it.spec of Package man-pages-it
#
# spec file for package man-pages-it
#
# Copyright (c) 2014 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/
#
Name: man-pages-it
Version: 3.64
Release: 0
Summary: LDP Man Pages (Italian)
License: GPL-2.0 and GPL-2.0+ and BSD-3-Clause and GFDL-1.1
Group: Documentation/Man
Url: http://www.pluto.it/ildp/man/
Source: ftp://ftp.pluto.it/pub/pluto/ildp/man/man-pages-it-%{version}.tar.xz
Provides: locale(man:it)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
These are the Italian 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.
%prep
%setup -q
%build
chmod 644 CHANGELOG description LEGGIMI README
%install
mkdir -p %{buildroot}%{_mandir}/it
for dir in `find . -maxdepth 1 -type d | grep -v '^.$'`; do
pushd $dir
for mandir in man? ; do
mkdir -p %{buildroot}%{_mandir}/it/$mandir
for m in $mandir/* ; do
install -m 644 $m %{buildroot}%{_mandir}/it/$mandir
done
done
popd
done
%find_lang %{name} --all-name --with-man
%files -f %{name}.lang
%defattr(-,root,root)
%doc CHANGELOG man-pages/colophon description LEGGIMI README
%changelog