Accepting request 136290 from home:fstrba
- upgrade to version 0.9.6: - Experimental support of Zip storage along with Ole. - Add WPX_SEEK_END enum member in order to speed up the Zip operations. - Numerous fixes of coverity and cppcheck warnings and errors. - upstream patch to really enable Zip stream. - package build depends on zlib-devel. OBS-URL: https://build.opensuse.org/request/show/136290 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libwpd?expand=0&rev=22
This commit is contained in:
committed by
Git OBS Bridge
parent
a9de644130
commit
5ea282016e
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7895f0cf07ac98bd88f6d5cf26ba7f1d72fd8acaeb43b27ffa24846fccc80343
|
||||
size 629054
|
26
libwpd-0.9.6-zipstream.patch
Normal file
26
libwpd-0.9.6-zipstream.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
--- src/lib/WPXStreamImplementation.cpp
|
||||
+++ src/lib/WPXStreamImplementation.cpp
|
||||
@@ -22,6 +22,10 @@
|
||||
* For further information visit http://libwpd.sourceforge.net
|
||||
*/
|
||||
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+#include "config.h"
|
||||
+#endif
|
||||
+
|
||||
#include "WPXStreamImplementation.h"
|
||||
#include "WPXOLEStream.h"
|
||||
#ifdef BUILD_ZIP_STREAM
|
||||
--- src/lib/WPXZipStream.cpp
|
||||
+++ src/lib/WPXZipStream.cpp
|
||||
@@ -20,6 +20,10 @@
|
||||
* For further information visit http://libwpd.sourceforge.net
|
||||
*/
|
||||
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+#include "config.h"
|
||||
+#endif
|
||||
+
|
||||
#ifdef BUILD_ZIP_STREAM
|
||||
|
||||
#include <string>
|
3
libwpd-0.9.6.tar.bz2
Normal file
3
libwpd-0.9.6.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:87081d5a81fb08e3aae88dc959aec769c4c62df44b59d5f9c0561f039cc9db6b
|
||||
size 675826
|
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 27 21:42:58 CEST 2012 - fridrich.strba@suse.com
|
||||
|
||||
- upgrade to version 0.9.6:
|
||||
- Experimental support of Zip storage along with Ole.
|
||||
- Add WPX_SEEK_END enum member in order to speed up the Zip
|
||||
operations.
|
||||
- Numerous fixes of coverity and cppcheck warnings and errors.
|
||||
- upstream patch to really enable Zip stream.
|
||||
- package build depends on zlib-devel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 24 09:40:19 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
|
25
libwpd.spec
25
libwpd.spec
@@ -16,16 +16,19 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: libwpd
|
||||
# note: the main package is empty, it only sets a sane name for the source rpm
|
||||
BuildRequires: doxygen gcc-c++ pkgconfig
|
||||
License: LGPL-2.1+
|
||||
Group: Productivity/Publishing/Word
|
||||
Version: 0.9.4
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: zlib-devel
|
||||
Version: 0.9.6
|
||||
Release: 0
|
||||
Summary: Library for Importing WordPerfect (tm) Documents
|
||||
License: LGPL-2.1+
|
||||
Group: Productivity/Publishing/Word
|
||||
Source: libwpd-%{version}.tar.bz2
|
||||
Patch0: libwpd-0.9.6-zipstream.patch
|
||||
Url: http://libwpd.sourceforge.net
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@@ -38,10 +41,10 @@ as an in-process component.
|
||||
%define libname libwpd-0_9-9
|
||||
|
||||
%package -n %libname
|
||||
Group: System/Libraries
|
||||
# remove the old non-versioned package (built in the bs for instance)
|
||||
Obsoletes: libwpd < %version
|
||||
Summary: Library for Importing WordPerfect (tm) Documents
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %libname
|
||||
libwpd is a general purpose library for reading or interpreting data
|
||||
@@ -50,9 +53,10 @@ designed to be used by another program (for example, a word processor)
|
||||
as an in-process component.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Library for importing WordPerfect (tm) documents
|
||||
Requires: %{libname} = %{version} libstdc++-devel
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{libname} = %{version}
|
||||
Requires: libstdc++-devel
|
||||
|
||||
%description devel
|
||||
libwpd is a general purpose library for reading (or, interpreting data
|
||||
@@ -61,16 +65,16 @@ is designed to be used by another program (e.g.: a word processor) as
|
||||
an in-process component.
|
||||
|
||||
%package devel-doc
|
||||
Group: Documentation
|
||||
Summary: Documentation for the libwpd API
|
||||
Group: Documentation
|
||||
Requires: libwpd-devel
|
||||
|
||||
%description devel-doc
|
||||
This package contains documentation for the libwpd API.
|
||||
|
||||
%package tools
|
||||
Group: Productivity/Publishing/Word
|
||||
Summary: Library for importing WordPerfect (tm) documents
|
||||
Group: Productivity/Publishing/Word
|
||||
|
||||
%description tools
|
||||
Tools to transform WordPerfect Documents into other formats. Currently
|
||||
@@ -78,6 +82,7 @@ supported: html, raw, text
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p0 -b .zipstream
|
||||
|
||||
%build
|
||||
export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
|
||||
|
Reference in New Issue
Block a user