From: Jakub Bogusz Date: Fri, 29 Mar 2013 09:55:07 +0000 (+0100) Subject: - added man patch (fix .so link generation) X-Git-Tag: auto/th/wayland-1.0.6-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=a0e72c2c9628a928ffda30f3587d1ac9228df865;p=packages%2Fwayland.git - added man patch (fix .so link generation) --- diff --git a/wayland-man.patch b/wayland-man.patch new file mode 100644 index 0000000..d3f2434 --- /dev/null +++ b/wayland-man.patch @@ -0,0 +1,11 @@ +--- wayland-1.0.6/doc/man/Makefile.am.orig 2013-02-14 20:47:25.000000000 +0100 ++++ wayland-1.0.6/doc/man/Makefile.am 2013-03-29 10:29:29.977545252 +0100 +@@ -31,7 +31,7 @@ + XSLTPROC_PROCESS_MAN = \ + $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ + $(XSLTPROC) -o $@ $(XSLTPROC_FLAGS) $(MANPAGES_STYLESHEET) $< && \ +- $(SED) -i -e 's/^\.so \(.*\)\.\(.\)$$/\.so man\2\/\1\.\2/' $(MANPAGES_ALIASES) ++ $(SED) -i -e 's/^\.so \([^/]*\)\.\(.\)$$/\.so man\2\/\1\.\2/' $(MANPAGES_ALIASES) + + %.1: %.xml + $(XSLTPROC_PROCESS_MAN) diff --git a/wayland.spec b/wayland.spec index 09695c7..b95b334 100644 --- a/wayland.spec +++ b/wayland.spec @@ -13,6 +13,7 @@ Group: Libraries Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz # Source0-md5: 936a2590aea69fa3c0cf234d54b9137c Patch0: %{name}-publican.patch +Patch1: %{name}-man.patch URL: http://wayland.freedesktop.org/ BuildRequires: autoconf >= 2.64 BuildRequires: automake >= 1:1.11 @@ -87,6 +88,10 @@ Dokumentacja API biblioteki oraz protokołu Wayland. test ! -f doc/Wayland/en_US/Revision_History.xml %patch0 -p1 +%patch1 -p1 + +# force regeneration (.so link is broken, double man3/) +%{__rm} doc/man/*.3 %build %{__libtoolize} @@ -97,6 +102,7 @@ test ! -f doc/Wayland/en_US/Revision_History.xml %configure \ --disable-silent-rules \ %{!?with_static_libs:--disable-static} + %{__make} %install