From 0f11df6cb314aefe22a406aba1418df45ce68dff2ceac60c5949bc235b541ebd Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 10 Jun 2014 12:51:42 +0000 Subject: [PATCH 1/5] Accepting request 236745 from home:fstrba Upgrade to librevenge-based libvisio OBS-URL: https://build.opensuse.org/request/show/236745 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libvisio?expand=0&rev=18 --- libvisio-0.0.30-iterator_range.patch | 19 ------------------- libvisio-0.0.30-wpx_seek_end.patch | 14 -------------- libvisio-0.0.30.tar.xz | 3 --- libvisio-0.1.0.tar.xz | 3 +++ libvisio.changes | 14 ++++++++++++++ libvisio.spec | 19 ++++++------------- 6 files changed, 23 insertions(+), 49 deletions(-) delete mode 100644 libvisio-0.0.30-iterator_range.patch delete mode 100644 libvisio-0.0.30-wpx_seek_end.patch delete mode 100644 libvisio-0.0.30.tar.xz create mode 100644 libvisio-0.1.0.tar.xz diff --git a/libvisio-0.0.30-iterator_range.patch b/libvisio-0.0.30-iterator_range.patch deleted file mode 100644 index 6e13738..0000000 --- a/libvisio-0.0.30-iterator_range.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/src/lib/libvisio_utils.cpp -+++ b/src/lib/libvisio_utils.cpp -@@ -35,6 +35,7 @@ - #include - #include - #include -+#include - - uint8_t libvisio::readU8(WPXInputStream *input) - { -@@ -125,7 +126,7 @@ double libvisio::readDouble(WPXInputStream *input) - - void libvisio::appendFromBase64(WPXBinaryData &data, const unsigned char *base64Data, size_t base64DataLength) - { -- std::string base64String((const char *)base64Data, base64DataLength); -+ boost::iterator_range base64String((const char *)base64Data, (const char *)base64Data + base64DataLength); - typedef boost::archive::iterators::transform_width< - boost::archive::iterators::binary_from_base64< - boost::archive::iterators::remove_whitespace< std::string::const_iterator > >, 8, 6 > base64_decoder; diff --git a/libvisio-0.0.30-wpx_seek_end.patch b/libvisio-0.0.30-wpx_seek_end.patch deleted file mode 100644 index a3b3c3f..0000000 --- a/libvisio-0.0.30-wpx_seek_end.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/src/lib/VSDZipStream.cpp -+++ b/src/lib/VSDZipStream.cpp -@@ -161,11 +161,7 @@ WPXInputStream *libvisio::VSDZipStream::getDocumentOLEStream(const char *name) - - bool libvisio::VSDZipStreamImpl::findCentralDirectoryEnd() - { --#if defined(LIBWPD_STREAM_VERSION_MAJOR) && defined(LIBWPD_STREAM_VERSION_MINOR) && defined(LIBWPD_STREAM_VERSION_REVISION) \ -- && (LIBWPD_STREAM_VERSION_MAJOR > 0 || (LIBWPD_STREAM_VERSION_MAJOR == 0 && (LIBWPD_STREAM_VERSION_MINOR > 9 \ -- || (LIBWPD_STREAM_VERSION_MINOR == 9 && LIBWPD_STREAM_VERSION_REVISION >= 5)))) - if (m_cdir_offset || m_input->seek(-1024, WPX_SEEK_END)) --#endif - m_input->seek(m_cdir_offset, WPX_SEEK_SET); - try - { diff --git a/libvisio-0.0.30.tar.xz b/libvisio-0.0.30.tar.xz deleted file mode 100644 index 2ab9507..0000000 --- a/libvisio-0.0.30.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e7be89fdef23483deea53a557fe023c9f6b59e0f7bb5ba4f42b5909c86cc11f9 -size 384508 diff --git a/libvisio-0.1.0.tar.xz b/libvisio-0.1.0.tar.xz new file mode 100644 index 0000000..99e54f1 --- /dev/null +++ b/libvisio-0.1.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e4f1d49b7cd01173f846995655f2175bbdbde4eac05697bd28667723d176d6f +size 362740 diff --git a/libvisio.changes b/libvisio.changes index c253a3f..076043c 100644 --- a/libvisio.changes +++ b/libvisio.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon May 26 09:23:52 UTC 2014 - fstrba@suse.com + +- Upgrade to upstream version 0.1.0 + * ABI change +- Remove unneeded patches: + * libvisio-0.0.30-iterator_range.patch + * libvisio-0.0.30-wpx_seek_end.patch +- Change in dependencies: + * Remove dependency on libwpg-devel and libwpd-devel + * Add dependency on librevenge-devel +- License change + * Released under MPL-2.0 only + ------------------------------------------------------------------- Sat Jan 25 20:55:30 UTC 2014 - tchvatal@suse.com diff --git a/libvisio.spec b/libvisio.spec index b4d34d0..115dd25 100644 --- a/libvisio.spec +++ b/libvisio.spec @@ -16,27 +16,24 @@ # -%define libname libvisio-0_0-0 +%define libname libvisio-0_1-1 Name: libvisio -Version: 0.0.30 +Version: 0.1.0 Release: 0 Summary: Library for parsing the MS Visio file format structure -License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+ +License: MPL-2.0 Group: Productivity/Publishing/Word Url: http://www.freedesktop.org/wiki/Software/libvisio Source0: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz -Patch0: libvisio-0.0.30-iterator_range.patch -Patch1: libvisio-0.0.30-wpx_seek_end.patch BuildRequires: boost-devel BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gperf BuildRequires: libicu-devel -BuildRequires: libwpd-devel >= 0.9.5 -BuildRequires: libwpg-devel >= 0.2.0 +BuildRequires: librevenge-devel >= 0.0.0 BuildRequires: libxml2-devel -BuildRequires: pkgconfig +BuildRequires: pkg-config BuildRequires: xz BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -57,8 +54,6 @@ cross-platform, at the moment it can be build on Microsoft Windows and Linux. Summary: Files for Developing with libvisio Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} -Requires: libwpd-devel -Requires: libwpg-devel %description devel libvisio is a library for parsing the MS Visio file format structure. It is @@ -85,8 +80,6 @@ This package contains tools to work with documents in MS Visio file-format. %prep %setup -q -%patch0 -p1 -b .iterator_range -%patch1 -p1 -b .wpx_seek_end %build export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden" @@ -111,7 +104,7 @@ cp -p AUTHORS COPYING.* ChangeLog %{buildroot}%{_docdir}/%{name}-devel/ %files -n %{libname} %defattr(-,root,root) -%{_libdir}/*.so.0* +%{_libdir}/*.so.* %files devel %defattr(-,root,root) From 2d929c2a37fac24c75b09d710a5cc9e232dcd3fc3742af762d08ce97ac402e17 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 25 Jul 2014 07:30:13 +0000 Subject: [PATCH 2/5] OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libvisio?expand=0&rev=20 --- libvisio-0.0.30-iterator_range.patch | 19 +++++++++++++++++++ libvisio-0.0.30-wpx_seek_end.patch | 14 ++++++++++++++ libvisio-0.0.30.tar.xz | 3 +++ libvisio-0.1.0.tar.xz | 3 --- libvisio.changes | 14 -------------- libvisio.spec | 19 +++++++++++++------ 6 files changed, 49 insertions(+), 23 deletions(-) create mode 100644 libvisio-0.0.30-iterator_range.patch create mode 100644 libvisio-0.0.30-wpx_seek_end.patch create mode 100644 libvisio-0.0.30.tar.xz delete mode 100644 libvisio-0.1.0.tar.xz diff --git a/libvisio-0.0.30-iterator_range.patch b/libvisio-0.0.30-iterator_range.patch new file mode 100644 index 0000000..6e13738 --- /dev/null +++ b/libvisio-0.0.30-iterator_range.patch @@ -0,0 +1,19 @@ +--- a/src/lib/libvisio_utils.cpp ++++ b/src/lib/libvisio_utils.cpp +@@ -35,6 +35,7 @@ + #include + #include + #include ++#include + + uint8_t libvisio::readU8(WPXInputStream *input) + { +@@ -125,7 +126,7 @@ double libvisio::readDouble(WPXInputStream *input) + + void libvisio::appendFromBase64(WPXBinaryData &data, const unsigned char *base64Data, size_t base64DataLength) + { +- std::string base64String((const char *)base64Data, base64DataLength); ++ boost::iterator_range base64String((const char *)base64Data, (const char *)base64Data + base64DataLength); + typedef boost::archive::iterators::transform_width< + boost::archive::iterators::binary_from_base64< + boost::archive::iterators::remove_whitespace< std::string::const_iterator > >, 8, 6 > base64_decoder; diff --git a/libvisio-0.0.30-wpx_seek_end.patch b/libvisio-0.0.30-wpx_seek_end.patch new file mode 100644 index 0000000..a3b3c3f --- /dev/null +++ b/libvisio-0.0.30-wpx_seek_end.patch @@ -0,0 +1,14 @@ +--- a/src/lib/VSDZipStream.cpp ++++ b/src/lib/VSDZipStream.cpp +@@ -161,11 +161,7 @@ WPXInputStream *libvisio::VSDZipStream::getDocumentOLEStream(const char *name) + + bool libvisio::VSDZipStreamImpl::findCentralDirectoryEnd() + { +-#if defined(LIBWPD_STREAM_VERSION_MAJOR) && defined(LIBWPD_STREAM_VERSION_MINOR) && defined(LIBWPD_STREAM_VERSION_REVISION) \ +- && (LIBWPD_STREAM_VERSION_MAJOR > 0 || (LIBWPD_STREAM_VERSION_MAJOR == 0 && (LIBWPD_STREAM_VERSION_MINOR > 9 \ +- || (LIBWPD_STREAM_VERSION_MINOR == 9 && LIBWPD_STREAM_VERSION_REVISION >= 5)))) + if (m_cdir_offset || m_input->seek(-1024, WPX_SEEK_END)) +-#endif + m_input->seek(m_cdir_offset, WPX_SEEK_SET); + try + { diff --git a/libvisio-0.0.30.tar.xz b/libvisio-0.0.30.tar.xz new file mode 100644 index 0000000..2ab9507 --- /dev/null +++ b/libvisio-0.0.30.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7be89fdef23483deea53a557fe023c9f6b59e0f7bb5ba4f42b5909c86cc11f9 +size 384508 diff --git a/libvisio-0.1.0.tar.xz b/libvisio-0.1.0.tar.xz deleted file mode 100644 index 99e54f1..0000000 --- a/libvisio-0.1.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0e4f1d49b7cd01173f846995655f2175bbdbde4eac05697bd28667723d176d6f -size 362740 diff --git a/libvisio.changes b/libvisio.changes index 076043c..c253a3f 100644 --- a/libvisio.changes +++ b/libvisio.changes @@ -1,17 +1,3 @@ -------------------------------------------------------------------- -Mon May 26 09:23:52 UTC 2014 - fstrba@suse.com - -- Upgrade to upstream version 0.1.0 - * ABI change -- Remove unneeded patches: - * libvisio-0.0.30-iterator_range.patch - * libvisio-0.0.30-wpx_seek_end.patch -- Change in dependencies: - * Remove dependency on libwpg-devel and libwpd-devel - * Add dependency on librevenge-devel -- License change - * Released under MPL-2.0 only - ------------------------------------------------------------------- Sat Jan 25 20:55:30 UTC 2014 - tchvatal@suse.com diff --git a/libvisio.spec b/libvisio.spec index 115dd25..b4d34d0 100644 --- a/libvisio.spec +++ b/libvisio.spec @@ -16,24 +16,27 @@ # -%define libname libvisio-0_1-1 +%define libname libvisio-0_0-0 Name: libvisio -Version: 0.1.0 +Version: 0.0.30 Release: 0 Summary: Library for parsing the MS Visio file format structure -License: MPL-2.0 +License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+ Group: Productivity/Publishing/Word Url: http://www.freedesktop.org/wiki/Software/libvisio Source0: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz +Patch0: libvisio-0.0.30-iterator_range.patch +Patch1: libvisio-0.0.30-wpx_seek_end.patch BuildRequires: boost-devel BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gperf BuildRequires: libicu-devel -BuildRequires: librevenge-devel >= 0.0.0 +BuildRequires: libwpd-devel >= 0.9.5 +BuildRequires: libwpg-devel >= 0.2.0 BuildRequires: libxml2-devel -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: xz BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -54,6 +57,8 @@ cross-platform, at the moment it can be build on Microsoft Windows and Linux. Summary: Files for Developing with libvisio Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} +Requires: libwpd-devel +Requires: libwpg-devel %description devel libvisio is a library for parsing the MS Visio file format structure. It is @@ -80,6 +85,8 @@ This package contains tools to work with documents in MS Visio file-format. %prep %setup -q +%patch0 -p1 -b .iterator_range +%patch1 -p1 -b .wpx_seek_end %build export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden" @@ -104,7 +111,7 @@ cp -p AUTHORS COPYING.* ChangeLog %{buildroot}%{_docdir}/%{name}-devel/ %files -n %{libname} %defattr(-,root,root) -%{_libdir}/*.so.* +%{_libdir}/*.so.0* %files devel %defattr(-,root,root) From d8dd65f927ff5254205599490904cc7ae7a74f234db20b76579d926fc63b6132 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 25 Jul 2014 07:30:52 +0000 Subject: [PATCH 3/5] Making this a link to factory OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libvisio?expand=0&rev=21 --- libvisio-0.0.30-iterator_range.patch | 19 ------------------- libvisio-0.0.30-wpx_seek_end.patch | 14 -------------- libvisio-0.0.30.tar.xz | 3 --- libvisio-0.1.0.tar.xz | 3 +++ libvisio.changes | 14 ++++++++++++++ libvisio.spec | 19 ++++++------------- 6 files changed, 23 insertions(+), 49 deletions(-) delete mode 100644 libvisio-0.0.30-iterator_range.patch delete mode 100644 libvisio-0.0.30-wpx_seek_end.patch delete mode 100644 libvisio-0.0.30.tar.xz create mode 100644 libvisio-0.1.0.tar.xz diff --git a/libvisio-0.0.30-iterator_range.patch b/libvisio-0.0.30-iterator_range.patch deleted file mode 100644 index 6e13738..0000000 --- a/libvisio-0.0.30-iterator_range.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/src/lib/libvisio_utils.cpp -+++ b/src/lib/libvisio_utils.cpp -@@ -35,6 +35,7 @@ - #include - #include - #include -+#include - - uint8_t libvisio::readU8(WPXInputStream *input) - { -@@ -125,7 +126,7 @@ double libvisio::readDouble(WPXInputStream *input) - - void libvisio::appendFromBase64(WPXBinaryData &data, const unsigned char *base64Data, size_t base64DataLength) - { -- std::string base64String((const char *)base64Data, base64DataLength); -+ boost::iterator_range base64String((const char *)base64Data, (const char *)base64Data + base64DataLength); - typedef boost::archive::iterators::transform_width< - boost::archive::iterators::binary_from_base64< - boost::archive::iterators::remove_whitespace< std::string::const_iterator > >, 8, 6 > base64_decoder; diff --git a/libvisio-0.0.30-wpx_seek_end.patch b/libvisio-0.0.30-wpx_seek_end.patch deleted file mode 100644 index a3b3c3f..0000000 --- a/libvisio-0.0.30-wpx_seek_end.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/src/lib/VSDZipStream.cpp -+++ b/src/lib/VSDZipStream.cpp -@@ -161,11 +161,7 @@ WPXInputStream *libvisio::VSDZipStream::getDocumentOLEStream(const char *name) - - bool libvisio::VSDZipStreamImpl::findCentralDirectoryEnd() - { --#if defined(LIBWPD_STREAM_VERSION_MAJOR) && defined(LIBWPD_STREAM_VERSION_MINOR) && defined(LIBWPD_STREAM_VERSION_REVISION) \ -- && (LIBWPD_STREAM_VERSION_MAJOR > 0 || (LIBWPD_STREAM_VERSION_MAJOR == 0 && (LIBWPD_STREAM_VERSION_MINOR > 9 \ -- || (LIBWPD_STREAM_VERSION_MINOR == 9 && LIBWPD_STREAM_VERSION_REVISION >= 5)))) - if (m_cdir_offset || m_input->seek(-1024, WPX_SEEK_END)) --#endif - m_input->seek(m_cdir_offset, WPX_SEEK_SET); - try - { diff --git a/libvisio-0.0.30.tar.xz b/libvisio-0.0.30.tar.xz deleted file mode 100644 index 2ab9507..0000000 --- a/libvisio-0.0.30.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e7be89fdef23483deea53a557fe023c9f6b59e0f7bb5ba4f42b5909c86cc11f9 -size 384508 diff --git a/libvisio-0.1.0.tar.xz b/libvisio-0.1.0.tar.xz new file mode 100644 index 0000000..99e54f1 --- /dev/null +++ b/libvisio-0.1.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e4f1d49b7cd01173f846995655f2175bbdbde4eac05697bd28667723d176d6f +size 362740 diff --git a/libvisio.changes b/libvisio.changes index c253a3f..076043c 100644 --- a/libvisio.changes +++ b/libvisio.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon May 26 09:23:52 UTC 2014 - fstrba@suse.com + +- Upgrade to upstream version 0.1.0 + * ABI change +- Remove unneeded patches: + * libvisio-0.0.30-iterator_range.patch + * libvisio-0.0.30-wpx_seek_end.patch +- Change in dependencies: + * Remove dependency on libwpg-devel and libwpd-devel + * Add dependency on librevenge-devel +- License change + * Released under MPL-2.0 only + ------------------------------------------------------------------- Sat Jan 25 20:55:30 UTC 2014 - tchvatal@suse.com diff --git a/libvisio.spec b/libvisio.spec index b4d34d0..115dd25 100644 --- a/libvisio.spec +++ b/libvisio.spec @@ -16,27 +16,24 @@ # -%define libname libvisio-0_0-0 +%define libname libvisio-0_1-1 Name: libvisio -Version: 0.0.30 +Version: 0.1.0 Release: 0 Summary: Library for parsing the MS Visio file format structure -License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+ +License: MPL-2.0 Group: Productivity/Publishing/Word Url: http://www.freedesktop.org/wiki/Software/libvisio Source0: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz -Patch0: libvisio-0.0.30-iterator_range.patch -Patch1: libvisio-0.0.30-wpx_seek_end.patch BuildRequires: boost-devel BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gperf BuildRequires: libicu-devel -BuildRequires: libwpd-devel >= 0.9.5 -BuildRequires: libwpg-devel >= 0.2.0 +BuildRequires: librevenge-devel >= 0.0.0 BuildRequires: libxml2-devel -BuildRequires: pkgconfig +BuildRequires: pkg-config BuildRequires: xz BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -57,8 +54,6 @@ cross-platform, at the moment it can be build on Microsoft Windows and Linux. Summary: Files for Developing with libvisio Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} -Requires: libwpd-devel -Requires: libwpg-devel %description devel libvisio is a library for parsing the MS Visio file format structure. It is @@ -85,8 +80,6 @@ This package contains tools to work with documents in MS Visio file-format. %prep %setup -q -%patch0 -p1 -b .iterator_range -%patch1 -p1 -b .wpx_seek_end %build export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden" @@ -111,7 +104,7 @@ cp -p AUTHORS COPYING.* ChangeLog %{buildroot}%{_docdir}/%{name}-devel/ %files -n %{libname} %defattr(-,root,root) -%{_libdir}/*.so.0* +%{_libdir}/*.so.* %files devel %defattr(-,root,root) From 189fbf368f176013e309aed72a8653cc1d00a104e8d0c76fd6ce9baaabc8ffe8 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 25 Jul 2014 07:40:17 +0000 Subject: [PATCH 4/5] OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libvisio?expand=0&rev=22 --- libvisio-0.1.0-pkgconfig.patch | 8 ++++++++ libvisio.changes | 6 ++++++ libvisio.spec | 2 ++ 3 files changed, 16 insertions(+) create mode 100644 libvisio-0.1.0-pkgconfig.patch diff --git a/libvisio-0.1.0-pkgconfig.patch b/libvisio-0.1.0-pkgconfig.patch new file mode 100644 index 0000000..e23d378 --- /dev/null +++ b/libvisio-0.1.0-pkgconfig.patch @@ -0,0 +1,8 @@ +--- libvisio-0.1.0/libvisio.pc.in 2014-04-16 19:13:10.000000000 +0200 ++++ libvisio-0.1.0/libvisio.pc.in 2014-07-25 09:32:17.433533097 +0200 +@@ -9,5 +9,3 @@ + Requires: librevenge-0.0 librevenge-stream-0.0 + Libs: -L${libdir} -lvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@ + Cflags: -I${includedir}/libvisio-@VSD_MAJOR_VERSION@.@VSD_MINOR_VERSION@ +- +-Requires.private: icu-i18n libxml-2.0 zlib diff --git a/libvisio.changes b/libvisio.changes index 076043c..c7ca179 100644 --- a/libvisio.changes +++ b/libvisio.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 25 07:39:37 UTC 2014 - fstrba@suse.com + +- Added patch: libvisio-0.1.0-pkgconfig.patch + * Remove the Requires.private which breaks SLE11 builds + ------------------------------------------------------------------- Mon May 26 09:23:52 UTC 2014 - fstrba@suse.com diff --git a/libvisio.spec b/libvisio.spec index 115dd25..1f5aae9 100644 --- a/libvisio.spec +++ b/libvisio.spec @@ -25,6 +25,7 @@ License: MPL-2.0 Group: Productivity/Publishing/Word Url: http://www.freedesktop.org/wiki/Software/libvisio Source0: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz +Patch0: libvisio-0.1.0-pkgconfig.patch BuildRequires: boost-devel BuildRequires: doxygen BuildRequires: fdupes @@ -80,6 +81,7 @@ This package contains tools to work with documents in MS Visio file-format. %prep %setup -q +%patch0 -p1 %build export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden" From 4ac204c0e9baf1689f45c82a75a704fd718928c3ee88f883751fb3b15eb978a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 25 Jul 2014 09:19:41 +0000 Subject: [PATCH 5/5] OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libvisio?expand=0&rev=23 --- libvisio.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvisio.spec b/libvisio.spec index 1f5aae9..9c07d92 100644 --- a/libvisio.spec +++ b/libvisio.spec @@ -24,7 +24,7 @@ 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}-%{version}.tar.xz +Source0: http://dev-www.libreoffice.org/src/%{name}/%{name}-%{version}.tar.xz Patch0: libvisio-0.1.0-pkgconfig.patch BuildRequires: boost-devel BuildRequires: doxygen