--- /dev/null
+--- libXi-1.7.1/man/Makefile.am.orig 2013-05-26 00:03:19.802985396 +0200
++++ libXi-1.7.1/man/Makefile.am 2013-05-26 00:02:19.730070777 +0200
+@@ -158,6 +158,7 @@ XIBarrierReleasePointers.man: XIBarrierR
+
+ # String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
+ # Unable to use __libmansuffix__ as underscores are lost in txt --> xml conversion
++MAN_SUBSTS += -e 's/manlibmansuffix/$(notdir $(LIB_MAN_DIR))/g'
+ MAN_SUBSTS += -e 's/libmansuffix/$(LIB_MAN_SUFFIX)/g'
+
+ # asciidoc is generating [FIXME...] values in the .TH line we should fix.
Summary(pl.UTF-8): Biblioteka rozszerzenia X Input
Name: xorg-lib-libXi
Version: 1.7.1
-Release: 1
+Release: 2
License: MIT
Group: X11/Libraries
Source0: http://xorg.freedesktop.org/releases/individual/lib/libXi-%{version}.tar.bz2
# Source0-md5: 24d71afed1b86c60d4eb361628d7f47b
+Patch0: %{name}-man.patch
URL: http://xorg.freedesktop.org/
BuildRequires: asciidoc >= 8.4.5
BuildRequires: autoconf >= 2.60
%prep
%setup -q -n libXi-%{version}
+%patch0 -p1
%build
%{__libtoolize}