2015-12-24 09:55:29 +00:00
committed by Git OBS Bridge
parent 07537df9e5
commit 9390197fe0
5 changed files with 19 additions and 44 deletions

View File

@@ -18,14 +18,13 @@
%define libname libvisio-0_1-1
Name: libvisio
Version: 0.1.3
Version: 0.1.4
Release: 0
Summary: Library for parsing the MS Visio file format structure
License: MPL-2.0
Group: Productivity/Publishing/Word
Url: http://www.freedesktop.org/wiki/Software/libvisio
Source0: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz
Patch0: 0001-fix-test.patch
BuildRequires: boost-devel
BuildRequires: cppunit-devel
BuildRequires: doxygen
@@ -82,14 +81,9 @@ This package contains tools to work with documents in MS Visio file-format.
%prep
%setup -q
%if 0%{?suse_version} > 1320
%patch0 -p1
%endif
%build
export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
# Fix compilation with boost 1.59
export CPPFLAGS="-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED"
%configure \
--disable-werror \
--disable-static \