diff --git a/0001-fix-v.3-version-string.patch b/0001-fix-v.3-version-string.patch new file mode 100644 index 0000000..d344259 --- /dev/null +++ b/0001-fix-v.3-version-string.patch @@ -0,0 +1,26 @@ +From 16b7bf009a06ac48c69f94b778a09151aa20fa53 Mon Sep 17 00:00:00 2001 +From: David Tardon +Date: Thu, 29 May 2014 17:04:05 +0200 +Subject: [PATCH] fix v.3 version string + +Change-Id: I689fd53bedeccb8d1cda5275832f36333fe1d108 +--- + src/lib/KEY2Token.gperf | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lib/KEY2Token.gperf b/src/lib/KEY2Token.gperf +index d1bf501..483ca97 100644 +--- a/src/lib/KEY2Token.gperf ++++ b/src/lib/KEY2Token.gperf +@@ -25,7 +25,7 @@ struct Token + 1,_1 + 2004102100,VERSION_STR_2 + 2005092101,COMPATIBLE_VERSION_STR_3, +-2005140600,VERSION_STR_3 ++2005112100,VERSION_STR_3 + 72007061400,VERSION_STR_4 + 92008102400,VERSION_STR_5 + BGBuildChunk,BGBuildChunk +-- +1.9.3 + diff --git a/libetonyek.spec b/libetonyek.spec index 7b1fea7..be5df3f 100644 --- a/libetonyek.spec +++ b/libetonyek.spec @@ -2,7 +2,7 @@ Name: libetonyek Version: 0.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library for import of Apple Keynote presentations Group: System Environment/Libraries @@ -19,6 +19,8 @@ BuildRequires: pkgconfig(librevenge-0.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(zlib) +Patch0: 0001-fix-v.3-version-string.patch + %description libetonyek is library providing ability to interpret and import Apple Keynote presentations into various applications. Only version 5 is @@ -51,7 +53,7 @@ Tools to transform Apple Keynote presentations into other formats. Currently supported: XHTML, raw, text. %prep -%setup -q +%autosetup -p1 sed -i 's/|ppc64|/|ppc64|ppc64le|/' configure @@ -110,6 +112,9 @@ make %{?_smp_mflags} check %{_mandir}/man1/key2xhtml.1* %changelog +* Thu May 29 2014 David Tardon - 0.1.0-2 +- fix detection of Keynote 3 documents + * Mon May 26 2014 David Tardon - 0.1.0-1 - new upstream release