|
|
|
@ -9,7 +9,6 @@ License: LGPLv2+ or MPLv2.0
|
|
|
|
|
URL: https://sourceforge.net/p/libwpd/wiki/libodfgen/
|
|
|
|
|
Source: http://downloads.sourceforge.net/libwpd/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: pkgconfig(librevenge-0.0)
|
|
|
|
|
|
|
|
|
@ -37,7 +36,8 @@ The %{name}-doc package contains documentation files for %{name}.
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-silent-rules --disable-static --disable-werror
|
|
|
|
|
export CXXFLAGS=-std=c++11
|
|
|
|
|
%configure --disable-silent-rules --disable-static --disable-werror --with-sharedptr=c++11
|
|
|
|
|
sed -i \
|
|
|
|
|
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
|
|
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
|
|