File xorg-docs.spec of Package xorg-docs

# spec file for package xorg-docs
# Copyright (c) 2012 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

Name:           xorg-docs
Version:        1.7
Release:        0
Summary:        Miscellaneous documentation for the X Window System
License:        MIT
Group:          Documentation/Other
Source:         %{name}-%{version}.tar.bz2
# For xmlto txt support
BuildRequires:  autoconf >= 2.60
BuildRequires:  automake
BuildRequires:  libtool
BuildRequires:  lynx
BuildRequires:  pkg-config
BuildRequires:  xorg-sgml-doctools >= 1.11
# Can be used if we want ps/pdf output
#BuildRequires:  xmlgraphics-fop
BuildRequires:  xmlto >= 0.0.20
BuildRequires:  pkgconfig(xorg-macros) >= 1.10
# Package was named xorg-x11-doc until 12.2
# We use 7.7 for Provides/Obsoletes, since we're renaming the packages when
# X11R7.7 is in RC1, and xorg-x11-doc was version 7.6
Provides:       xorg-x11-doc = 7.7
Obsoletes:      xorg-x11-doc < 7.7
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

This package provides miscellaneous documentation for the X Window
System that doesn't better fit into other packages.

%setup -q

autoreconf -fi
make %{?_smp_mflags}


%doc %{_datadir}/doc/xorg-docs/