Making this a link to factory

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libvisio?expand=0&rev=21
This commit is contained in:
2014-07-25 07:30:52 +00:00
committed by Git OBS Bridge
parent 2d929c2a37
commit d8dd65f927
6 changed files with 23 additions and 49 deletions

View File

@@ -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)