SHA256
5
0
forked from pool/wv

Accepting request 163915 from home:dimstar:branches:devel:libraries:c_c++

Fix build in Factory - Apply GSF patch only conditionally, to not break others

OBS-URL: https://build.opensuse.org/request/show/163915
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/wv?expand=0&rev=12
This commit is contained in:
Ismail Dönmez
2013-04-13 21:25:48 +00:00
committed by Git OBS Bridge
parent 81ce1192ee
commit a4a7bb9084
4 changed files with 60 additions and 7 deletions

27
wv.spec
View File

@@ -1,7 +1,7 @@
#
# spec file for package wv
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,20 @@
#
Name: wv
%define lname libwv-1_2-1
BuildRequires: glib2-devel libgsf-devel libtiff-devel libtool libwmf-devel libxml2-devel pkgconfig
BuildRequires: glib2-devel
BuildRequires: libgsf-devel
BuildRequires: libtiff-devel
BuildRequires: libtool
BuildRequires: libwmf-devel
BuildRequires: libxml2-devel
BuildRequires: pkgconfig
Version: 1.2.2
Release: 0
Summary: Tools for Importing Microsoft Word (tm) Documents
License: GPL-2.0+
Group: Productivity/Publishing/Word
Version: 1.2.2
Release: 216
Summary: Tools for Importing Microsoft Word (tm) Documents
Url: http://wvWare.sourceforge.net/
Source: wv-%{version}.tar.gz
Patch: wv-1.2.2-automake.patch
@@ -32,6 +37,8 @@ Patch5: wv-1.0.3-wvText.patch
Patch7: wv-1.0.3-pc.patch
Patch8: wv-1.2.2-overflow.patch
Patch9: %{name}-1.2.2-fiximplicit.patch
Patch10: wv-strcasecmp.patch
Patch11: wv-gsf.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: w3m
@@ -54,7 +61,9 @@ Group: System/Libraries
libwv can parse the Microsoft Word 8 binary file format (Office97).
%package devel
Requires: %lname = %version, libgsf-devel libwmf-devel
Requires: %lname = %version
Requires: libgsf-devel
Requires: libwmf-devel
Summary: Static Libraries and Header Files for wv
Group: Development/Libraries/C and C++
@@ -74,6 +83,10 @@ Authors:
%patch7
%patch8
%patch9 -p1
%patch10 -p1
%if 0%{?suse_version} > 1230
%patch11 -p1
%endif
%build
autoreconf -f -i --verbose