From 81882d8599113b21afb48fbf7f2892e856b9fb4fcb2501251d7a3545a9ebb3e3 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 25 Jan 2017 11:01:28 +0000 Subject: [PATCH] - enabled build of manual pages (bnc#1021810) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=225 --- libdrm.changes | 5 +++++ libdrm.spec | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/libdrm.changes b/libdrm.changes index 6a2b5b8..71cdfb4 100644 --- a/libdrm.changes +++ b/libdrm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 25 10:57:44 UTC 2017 - sndirsch@suse.com + +- enabled build of manual pages (bnc#1021810) + ------------------------------------------------------------------- Sat Dec 31 18:16:41 UTC 2016 - chris@computersalat.de diff --git a/libdrm.spec b/libdrm.spec index 31c56ae..5f82dfc 100644 --- a/libdrm.spec +++ b/libdrm.spec @@ -1,7 +1,7 @@ # # spec file for package libdrm # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -35,6 +35,9 @@ BuildRequires: pkgconfig BuildRequires: util-macros-devel BuildRequires: pkgconfig(pciaccess) >= 0.10 BuildRequires: pkgconfig(pthread-stubs) +# Required for building manpages +BuildRequires: docbook-xsl-stylesheets +BuildRequires: xsltproc Provides: libdrm23 = %{version} Obsoletes: libdrm23 < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -192,6 +195,7 @@ autoreconf -fi --enable-freedreno-experimental-api \ --enable-tegra-experimental-api \ %endif + --enable-manpages \ --enable-udev make %{?_smp_mflags} V=1 @@ -246,6 +250,10 @@ install \ %files devel %defattr(-,root,root) +%dir %{_mandir}/man3 +%dir %{_mandir}/man7 +%{_mandir}/man3/* +%{_mandir}/man7/* %{_includedir}/libdrm %ifarch %{arm} %{_includedir}/omap