forked from pool/libvisio
Accepting request 140022 from devel:libraries:c_c++
New package submission: libvisio - Library for parsing the MS Visio file format structure, libvisio can be used by calligra OBS-URL: https://build.opensuse.org/request/show/140022 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvisio?expand=0&rev=1
This commit is contained in:
commit
c6c5cda8cb
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
libvisio-0.0.19.tar.xz
Normal file
3
libvisio-0.0.19.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a1493bdaa3ee0a2cdf668a05d02d38220652f17caa7bc6da3206c40a90f813c7
|
||||
size 323536
|
93
libvisio.changes
Normal file
93
libvisio.changes
Normal file
@ -0,0 +1,93 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 31 21:05:31 UTC 2012 - asterios.dramis@gmail.com
|
||||
|
||||
- Changed license to "MPL-1.1 or GPL-2.0+ or LGPL-2.1+" (SPDX style).
|
||||
- Install libvisio devel documentation in %{_docdir}/libvisio-devel/.
|
||||
- Spec file cleanup based also on spec-cleaner run.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 6 11:06:50 CEST 2012 - fridrich.strba@suse.com
|
||||
|
||||
- Upgrade to upstream version 0.0.19
|
||||
* Several crashes fixed
|
||||
* fix fdo#50990: import Visio documents generated by Visio SDK
|
||||
* Correct filling / closing of paths
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 27 09:12:51 CEST 2012 - fridrich.strba@suse.com
|
||||
|
||||
- Upgrade to upstream version 0.0.16
|
||||
- OLE objects in stencils
|
||||
- More line end and start markers
|
||||
- Fix closing of NURBS
|
||||
- Regression and bug fixes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 24 09:40:42 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections (see specfile guidelines)
|
||||
- Adjust rpm group of -tools and (main) to match libwpd
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 21 21:00:29 CET 2012 - fridrich.strba@suse.com
|
||||
|
||||
- Upgrade to upstream version 0.0.14
|
||||
- Embedded OLE objects
|
||||
- Text rotations
|
||||
- Rotations and flips of embedded objects
|
||||
- Regression and bug fixes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 2 19:56:12 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
|
||||
- Use %_smp_mflags for parallel building
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 2 17:08:00 CET 2011 - fridrich.strba@suse.com
|
||||
|
||||
- Upgrade to upstream version 0.0.9
|
||||
- Emulate infinite lines
|
||||
- Fix bug with group flips
|
||||
- Implement paragraph properties in text
|
||||
- Implement stencil text
|
||||
- Initial implementation of text fields
|
||||
- Initial implementation of line-ends
|
||||
- Fix group text z-order
|
||||
- Remove unnecessary patch
|
||||
- Build dependency on boost-devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 4 17:04:22 CEST 2011 - fridrich.strba@suse.com
|
||||
|
||||
- Upgrade to upstream version 0.0.8
|
||||
- Fix for "dereferencing type-puned pointer will break
|
||||
strict-aliasing rules" with older compilers
|
||||
- Make order with integer types
|
||||
- Push dash array correctly to OdgGenerator
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 28 15:13:01 CEST 2011 - fridrich.strba@suse.com
|
||||
|
||||
- libvisio-0.0.7-strictaliasing.patch: fix "dereferencing
|
||||
type-punned pointer will break strict-aliasing rules"
|
||||
with older compilers
|
||||
- libvisio-0.0.7-integermess.patch: fix warning about casting
|
||||
double into integer and in the same token fix mess with integer
|
||||
widths
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 9 14:57:47 CEST 2011 - fridrich.strba@suse.com
|
||||
|
||||
- Update to upstream version 0.0.7
|
||||
- Fix a null-pointer crash with stencil geometries
|
||||
- Improved text conversion
|
||||
- Added support for uniform b-splines
|
||||
- Fixed a problem with NURBS approximation algorithm
|
||||
- Improved handling for stencils embedded raster images
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 1 12:38:42 CEST 2011 - fridrich.strba@suse.com
|
||||
|
||||
- Initial package of libvisio
|
||||
|
128
libvisio.spec
Normal file
128
libvisio.spec
Normal file
@ -0,0 +1,128 @@
|
||||
#
|
||||
# spec file for package libvisio
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define libname libvisio-0_0-0
|
||||
|
||||
Name: libvisio
|
||||
Version: 0.0.19
|
||||
Release: 0
|
||||
License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+
|
||||
Summary: Library for parsing the MS Visio file format structure
|
||||
Url: http://www.freedesktop.org/wiki/Software/libvisio
|
||||
Group: Productivity/Publishing/Word
|
||||
Source0: http://dev-www.libreoffice.org/src/%{name}-%{version}.tar.xz
|
||||
BuildRequires: boost-devel
|
||||
%if 0%{?suse_version} > 1020
|
||||
%define build_doc 1
|
||||
BuildRequires: doxygen
|
||||
%else
|
||||
%define build_doc 0
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libwpd-devel >= 0.9.0
|
||||
BuildRequires: libwpg-devel >= 0.2.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
libvisio is a library for parsing the MS Visio file format structure. It is
|
||||
cross-platform, at the moment it can be build on Microsoft Windows and Linux.
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: Library for parsing the MS Visio file format structure
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{libname}
|
||||
libvisio is a library for parsing the MS Visio file format structure. It is
|
||||
cross-platform, at the moment it can be build on Microsoft Windows and Linux.
|
||||
|
||||
%package devel
|
||||
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
|
||||
cross-platform, at the moment it can be build on Microsoft Windows and Linux.
|
||||
|
||||
This package contains the libvisio development files.
|
||||
|
||||
%if %build_doc
|
||||
%package devel-doc
|
||||
Summary: Documentation for the libvisio API
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description devel-doc
|
||||
This package contains documentation for the libvisio API.
|
||||
%endif
|
||||
|
||||
%package tools
|
||||
Summary: Tools to work with documents in MS Visio file-format
|
||||
Group: Productivity/Publishing/Word
|
||||
|
||||
%description tools
|
||||
This package contains tools to work with documents in MS Visio file-format.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static --docdir=%{_docdir}/%{name}-devel/html
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
|
||||
rm %{buildroot}%{_libdir}/*.la
|
||||
|
||||
cp -p AUTHORS COPYING.* ChangeLog %{buildroot}%{_docdir}/%{name}-devel/
|
||||
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{libname}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so.0*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc %dir %{_docdir}/%{name}-devel/
|
||||
%doc %{_docdir}/%{name}-devel/[A-Z]*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/libvisio*.pc
|
||||
%{_includedir}/libvisio-*
|
||||
|
||||
%if %build_doc != 0
|
||||
%files devel-doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc %{_docdir}/%{name}-devel/html/
|
||||
%endif
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING.* ChangeLog
|
||||
%{_bindir}/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user