File xorg-x11-doc.spec of Package xorg-x11-doc

#
# spec file for package xorg-x11-doc
#
# Copyright (c) 2011 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/
#


%define rversion 1.6

Name:           xorg-x11-doc
Version:        7.6
Release:        9
License:        MIT
Summary:        X
Url:            http://xorg.freedesktop.org/
Group:          Documentation/Other
Source:         xorg-docs-1.6.tar.bz2
BuildRequires:  docbook-utils
# For xmlto txt support
BuildRequires:  lynx
BuildRequires:  pkgconfig
BuildRequires:  xmlto
BuildRequires:  xorg-x11-util-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
X.Org documentation in compressed PostScript format.

%prep
%setup -q -n xorg-docs-%{rversion}

%build
%configure CFLAGS="%{optflags} -fno-strict-aliasing"
make

%install
%makeinstall

%files
%defattr(-,root,root)
%doc %{_mandir}/man7/*
%doc %{_datadir}/doc/xorg-docs/
# contained in server package
%exclude %{_mandir}/man7/Xsecurity.*
%exclude %{_mandir}/man7/X.*

%changelog
openSUSE Build Service is sponsored by