forked from pool/libvisio
- Remove conditional for the doc building, use verbose build.
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libvisio?expand=0&rev=15
This commit is contained in:
parent
1bf09bf503
commit
9d3f398140
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 1 09:05:03 UTC 2013 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Remove conditional for the doc building, use verbose build.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 26 06:58:30 UTC 2013 - fridrich.strba@suse.com
|
Fri Jul 26 06:58:30 UTC 2013 - fridrich.strba@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libvisio
|
# spec file for package libvisio
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -21,30 +21,25 @@
|
|||||||
Name: libvisio
|
Name: libvisio
|
||||||
Version: 0.0.30
|
Version: 0.0.30
|
||||||
Release: 0
|
Release: 0
|
||||||
License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+
|
|
||||||
Summary: Library for parsing the MS Visio file format structure
|
Summary: Library for parsing the MS Visio file format structure
|
||||||
Url: http://www.freedesktop.org/wiki/Software/libvisio
|
License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+
|
||||||
Group: Productivity/Publishing/Word
|
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}-%{version}.tar.xz
|
||||||
Patch0: libvisio-0.0.30-iterator_range.patch
|
Patch0: libvisio-0.0.30-iterator_range.patch
|
||||||
Patch1: libvisio-0.0.30-wpx_seek_end.patch
|
Patch1: libvisio-0.0.30-wpx_seek_end.patch
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
%if 0%{?suse_version} > 1020
|
|
||||||
%define build_doc 1
|
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
%else
|
|
||||||
%define build_doc 0
|
|
||||||
%endif
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: gperf
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: libwpd-devel >= 0.9.5
|
BuildRequires: libwpd-devel >= 0.9.5
|
||||||
BuildRequires: libwpg-devel >= 0.2.0
|
BuildRequires: libwpg-devel >= 0.2.0
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: zlib-devel
|
|
||||||
BuildRequires: gperf
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
BuildRequires: zlib-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -72,14 +67,12 @@ cross-platform, at the moment it can be build on Microsoft Windows and Linux.
|
|||||||
|
|
||||||
This package contains the libvisio development files.
|
This package contains the libvisio development files.
|
||||||
|
|
||||||
%if %build_doc
|
|
||||||
%package devel-doc
|
%package devel-doc
|
||||||
Summary: Documentation for the libvisio API
|
Summary: Documentation for the libvisio API
|
||||||
Group: Documentation/HTML
|
Group: Documentation/HTML
|
||||||
|
|
||||||
%description devel-doc
|
%description devel-doc
|
||||||
This package contains documentation for the libvisio API.
|
This package contains documentation for the libvisio API.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package tools
|
%package tools
|
||||||
Summary: Tools to work with documents in MS Visio file-format
|
Summary: Tools to work with documents in MS Visio file-format
|
||||||
@ -98,7 +91,7 @@ This package contains tools to work with documents in MS Visio file-format.
|
|||||||
--disable-werror \
|
--disable-werror \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--docdir=%{_docdir}/%{name}-devel/html
|
--docdir=%{_docdir}/%{name}-devel/html
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
@ -125,11 +118,9 @@ cp -p AUTHORS COPYING.* ChangeLog %{buildroot}%{_docdir}/%{name}-devel/
|
|||||||
%{_libdir}/pkgconfig/libvisio*.pc
|
%{_libdir}/pkgconfig/libvisio*.pc
|
||||||
%{_includedir}/libvisio-*
|
%{_includedir}/libvisio-*
|
||||||
|
|
||||||
%if %build_doc != 0
|
|
||||||
%files devel-doc
|
%files devel-doc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc %{_docdir}/%{name}-devel/html/
|
%doc %{_docdir}/%{name}-devel/html/
|
||||||
%endif
|
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user