[packages/xorg-lib-libXt] - unified .so man links fix wrt "x" suffix - disable building .ps and .pdf docs using fop (not packa
qboosh
qboosh at pld-linux.org
Thu Jun 6 08:24:01 CEST 2013
commit 98df871acfb4c0e050dd9757eda1a88cee21735a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jun 6 08:23:45 2013 +0200
- unified .so man links fix wrt "x" suffix
- disable building .ps and .pdf docs using fop (not packaged anyway)
xorg-lib-libXt.spec | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/xorg-lib-libXt.spec b/xorg-lib-libXt.spec
index 160b9e9..9add026 100644
--- a/xorg-lib-libXt.spec
+++ b/xorg-lib-libXt.spec
@@ -17,6 +17,7 @@ BuildRequires: cpp
BuildRequires: sed >= 4.0
BuildRequires: libtool
BuildRequires: pkgconfig >= 1:0.19
+BuildRequires: sed >= 4.0
BuildRequires: xmlto >= 0.0.20
BuildRequires: xorg-lib-libSM-devel
BuildRequires: xorg-lib-libX11-devel
@@ -74,13 +75,17 @@ Pakiet zawiera statyczną bibliotekę libXt.
%prep
%setup -q -n libXt-%{version}
+# support __libmansuffix__ with "x" suffix (per FHS 2.3)
+%{__sed} -i -e 's,\.so man__libmansuffix__/,.so man3/,' man/*.man
+
%build
%{__libtoolize}
%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
+%configure \
+ --without-fop
%{__make}
%install
@@ -91,9 +96,6 @@ rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
install -d $RPM_BUILD_ROOT%{_datadir}/X11/{cs,da,de,es,es_AR,eu,fr,hu,it,ja,ko,mg,nb,nl,oc,pl,pt,pt_BR,ru,sk,sv,zh_CN,zh_TW}/app-defaults
-# there's no man3x in pld
-grep -rl man3x $RPM_BUILD_ROOT%{_mandir}/man3/* | xargs %{__sed} -i -e 's,man3x,man3,'
-
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xorg-lib-libXt.git/commitdiff/98df871acfb4c0e050dd9757eda1a88cee21735a
More information about the pld-cvs-commit
mailing list