From 128ed72f562b51d16180fabc190e29c4253808db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Tue, 11 Nov 2014 11:11:12 +0100 Subject: [PATCH] - rel 2; fix pc file --- pfstools-pc.patch | 10 ++++++++++ pfstools.spec | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 pfstools-pc.patch diff --git a/pfstools-pc.patch b/pfstools-pc.patch new file mode 100644 index 0000000..d4751b9 --- /dev/null +++ b/pfstools-pc.patch @@ -0,0 +1,10 @@ +--- pfstools-1.9.1/src/pfs/pfs.pc.in~ 2014-06-27 12:02:38.000000000 +0200 ++++ pfstools-1.9.1/src/pfs/pfs.pc.in 2014-11-11 11:08:37.771834233 +0100 +@@ -7,5 +7,5 @@ + Description: Library for manipulating pfs image format + Requires: + Version: @PACKAGE_VERSION@ +-Libs: -L${libdir} -lpfs +-Cflags: -I${includedir}/pfs ++Libs: -L${libdir} -lpfs-1.2 ++Cflags: -I${includedir}/pfs-1.2 diff --git a/pfstools.spec b/pfstools.spec index 995406c..bea86f4 100644 --- a/pfstools.spec +++ b/pfstools.spec @@ -7,13 +7,14 @@ Summary: pfstools for High Dynamic Range Images and Video Summary(pl.UTF-8): Narzędzia do obrazów i wideo o dużym zakresie luminancji Name: pfstools Version: 1.9.1 -Release: 1 +Release: 2 License: LGPL v2.1+ Group: Libraries Source0: http://downloads.sourceforge.net/pfstools/%{name}-%{version}.tar.gz # Source0-md5: f6f5966e248fd6979e6339725ea19c99 Patch0: %{name}-opt.patch Patch1: %{name}-gdal.patch +Patch2: %{name}-pc.patch URL: http://pfstools.sourceforge.net/ BuildRequires: ImageMagick-c++-devel >= 6.0 BuildRequires: OpenEXR-devel >= 1.0 @@ -103,6 +104,7 @@ Wiązania języka Octave do pfstools. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %{__libtoolize} -- 2.44.0