File man-pages-cs.spec of Package man-pages-cs
#
# spec file for package man-pages-cs
#
# 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-cs
Url: http://tropikhajma.sweb.cz/man-pages-cs/
AutoReqProv: off
Version: 0.18.20090209
Release: 0
Summary: Czech Manual Pages
License: GPL-2.0+ and BSD-3-Clause and GFDL-1.1 and GFDL-1.2 and GPL-2.0
Group: Documentation/Man
Provides: locale(man:cs)
BuildRequires: fdupes
BuildRequires: lzma
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: man-pages-cs-%{version}.tar.lzma
BuildArch: noarch
%description
This package contains the Czech manual pages.
Authors:
--------
Marek Kubita <Kubitovi@mbox.lantanet.cz>
Petr Bláha <pet@penguin.vscht.cz>
Milan Kopačka <mkop5230@ss1000.ms.mff.cuni.cz>
Jindřich Vavruška <netplus@comp.cz>
Petr Kolář <Petr.Kolar@vslib.cz>
Luděk Brukner <Ludek.Brukner@barco.com>
Zdeněk Pytela <letty@mrakoplas.phil.muni.cz>
Jiří Pavlovský <pavlovsk@ff.cuni.cz>
Jirka Santolik <jiri.santolik@st.ms.mff.cuni.cz>
Michal Ambrož <Michal.Ambroz@post.cz>
%prep
%setup -q
%build
# remove duplicate (older) man-pages
rm procps/uptime.1 procps/kill.1 man-pages/man1/dir.1 man-pages/man1/vdir.1 man-pages/man1/du.1
rm -r openssh
%install
mkdir -p $RPM_BUILD_ROOT%{_mandir}/cs
LANG=cs_CZ.UTF-8 make DESTDIR=$RPM_BUILD_ROOT install
%fdupes -s %buildroot
%files
%defattr(-,root,root)
%dir %{_mandir}/cs
%{_mandir}/cs/*
%changelog