Takashi Iwai
10faad3700
- Remove --disable-static because it cause build to fail. - Update to version 2.5.2. * Bug #18: Remove an unnecessary message to stdout in the exempi tool. https://gitlab.freedesktop.org/libopenraw/exempi/-/issues/18 * Bug #20: Test file formats. This also change the GIF sample to GIF89a. https://gitlab.freedesktop.org/libopenraw/exempi/-/issues/20 * Bug #17: `make check` should build more reliably now. https://gitlab.freedesktop.org/libopenraw/exempi/issues/17 * MR !1: Remove deprecated C++ to compile with C++17. https://gitlab.freedesktop.org/libopenraw/exempi/merge_requests/1 * MR !2: Fix a build failure with C++17. https://gitlab.freedesktop.org/libopenraw/exempi/merge_requests/2 - Updates for version 2.5.1. * Bug #9: [CVE-2018-12648] Fix null-pointer-dereference in WEBP. https://gitlab.freedesktop.org/libopenraw/exempi/issues/9 * Bug #12: Invalid WEBP cause a memory overflow. https://gitlab.freedesktop.org/libopenraw/exempi/issues/12 * Bug #13: Fix a buffer a overflow in ID3 support on invalid MP3. https://gitlab.freedesktop.org/libopenraw/exempi/issues/13 * Bug #14: Invalid MP3 cause a memory overflow. https://gitlab.freedesktop.org/libopenraw/exempi/issues/14 - Updates for version 2.5.0. * Upgrade XMPCore to Adobe XMP SDK CC 2016.07 * Support for iOS in XMPFiles * New DOM based API’s are added in XMP Core to access metadata tree hierarchy. (not exposed yet in Exempi) * Added support XMP/metadata in utf-8 encoded uncompressed SVG files in XMPFiles. * Added support of GIF handler in XMPFiles. * Added support for reconciliation of iXML’s TRACK_LIST and its components to get microphone data. * Added support for IFDs of type 13 in TIFF. * Added support for MPEG4 videos shot from Google Nexus 5 camera. * Restructured the implementation of XDCAM Handler to support File Access Mode (FAM) and Simple Access Mode (SAM) * Added built-in support for iXML namespace in XMPCore. * Modified the alias tiff:ImageDescription for dc:description as language alternative array instead of simple property. * Lot of bug fixes in XMPFiles and XMPCore. * Removed Exempi provided support for GIF in favour of Adobe's. Only GIF89a is supported. * New: API NS_XML constant * Bug #5: Restrict the exported symbols. Only the symbols marked with API_EXPORT are exported by the shared library as to not allow another library to import the XMP SDK symbols. https://gitlab.freedesktop.org/libopenraw/exempi/issues/5 * Bug #105580: Access memory aligned on ARM. https://bugs.freedesktop.org/show_bug.cgi?id=105580 * Added tests for Adobe SDK. * Fixed warnings and other issues and Adobe SDK. * Compile with much more warnings enabled. OBS-URL: https://build.opensuse.org/request/show/863192 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/exempi?expand=0&rev=29
117 lines
3.2 KiB
RPMSpec
117 lines
3.2 KiB
RPMSpec
#
|
|
# spec file for package exempi
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define sonum 8
|
|
Name: exempi
|
|
Version: 2.5.2
|
|
Release: 0
|
|
Summary: XMP support library
|
|
License: BSD-3-Clause
|
|
Group: Development/Libraries/C and C++
|
|
URL: https://libopenraw.freedesktop.org/wiki/Exempi
|
|
Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
|
|
Source1: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2.asc
|
|
Source2: %{name}.keyring
|
|
Source3: baselibs.conf
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: pkg-config
|
|
BuildRequires: zlib-devel
|
|
%if 0%{?suse_version} > 1325
|
|
BuildRequires: libboost_test-devel
|
|
%else
|
|
BuildRequires: boost-devel >= 1.33.0
|
|
%endif
|
|
|
|
%description
|
|
Exempi is a library for XMP parsing and I/O. XMP is a kind of
|
|
metadata for images and PDF.
|
|
|
|
%package -n libexempi%{sonum}
|
|
Summary: XMP support library
|
|
Group: System/Libraries
|
|
|
|
%description -n libexempi%{sonum}
|
|
Exempi is a library for XMP parsing and I/O. XMP (Extensible Metadata
|
|
Platform) facilitates embedding metadata in files using a subset of
|
|
RDF. Most notably, XMP supports embedding metadata in PDF and many
|
|
image formats.
|
|
|
|
%package tools
|
|
Summary: Tools from Exempi, an XMP support library
|
|
Group: Productivity/Graphics/Other
|
|
|
|
%description tools
|
|
Exempi is a library for XMP parsing and I/O. XMP is a kind of
|
|
metadata for images and PDF.
|
|
|
|
This subpackage contains utilities from the Exempi project.
|
|
|
|
%package -n libexempi-devel
|
|
Summary: Development files for the Exempi XMP support library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: glibc-devel
|
|
Requires: libexempi%{sonum} = %{version}
|
|
|
|
%description -n libexempi-devel
|
|
Exempi is a library for XMP metadata parsing and doing I/O with it.
|
|
|
|
This subpackage contains the header files for building applications
|
|
with Exempi.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
find %{buildroot} -type f -name "*.a" -delete -print
|
|
|
|
%check
|
|
%if ! 0%{?qemu_user_space_build}
|
|
%make_build check
|
|
%endif
|
|
|
|
%post -n libexempi%{sonum} -p /sbin/ldconfig
|
|
%postun -n libexempi%{sonum} -p /sbin/ldconfig
|
|
|
|
%files -n libexempi%{sonum}
|
|
%license COPYING
|
|
%doc README ChangeLog
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%files tools
|
|
%license COPYING
|
|
%doc README ChangeLog
|
|
%{_bindir}/exempi
|
|
%{_mandir}/man1/exempi.1%{?ext_man}
|
|
|
|
%files -n libexempi-devel
|
|
%license COPYING
|
|
%doc README ChangeLog
|
|
%{_libdir}/lib*.so
|
|
%{_includedir}/exempi-2.0
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|