From: Marcin Banasiak Date: Sat, 25 May 2013 22:13:56 +0000 (+0200) Subject: Add patch to fix man page links. Release 2 X-Git-Tag: auto/th/xorg-lib-libXi-1.7.1-2 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=516cd7e74ff29530e364d7d6e777341d48bb0780;p=packages%2Fxorg-lib-libXi.git Add patch to fix man page links. Release 2 --- diff --git a/xorg-lib-libXi-man.patch b/xorg-lib-libXi-man.patch new file mode 100644 index 0000000..70ac9f5 --- /dev/null +++ b/xorg-lib-libXi-man.patch @@ -0,0 +1,10 @@ +--- 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. diff --git a/xorg-lib-libXi.spec b/xorg-lib-libXi.spec index c26d70d..f66d890 100644 --- a/xorg-lib-libXi.spec +++ b/xorg-lib-libXi.spec @@ -2,11 +2,12 @@ Summary: X Input extension library 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 @@ -79,6 +80,7 @@ Pakiet zawiera statyczną bibliotekę libXft. %prep %setup -q -n libXi-%{version} +%patch0 -p1 %build %{__libtoolize}