exempi/exempi.spec

109 lines
2.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package exempi
#
Accepting request 586791 from home:kbabioch:branches:multimedia:libs - Update to 2.4.5: * Fix a buffer overflow in the PSD parser. (CVE-2018-7730 bnc#1085295) * Fix a buffer overflow in the TIFF parser. (CVE-2018-7728 bnc#1085297) * Fix a buffer overflow in PostScript parser. (CVE-2018-7729 bnc#1085296) * Fix a null dereference in WEBP parser. (CVE-2018-7731 bnc#1085294) * Properly initialize pointers in WEBP. * Fix an infinite loop in RIFF parser. * Fix an infinite loop in QuickTime parser. * Fix an infinite loop in ASF parser. * Adjust minimum version for gcc in documentation. * Fix a buffer overrun, memcpy() on overlapping regions, use after free in the exception handling. Fix a fatal assert with corrupt WEBP. * Fix a crash on a corrupt file. * Upgrade XMPCore to Adobe XMP CC 2014.12. * New flag to optimize layout on MPEG4 files. * GoPro MPEG4 video files support. * Improved JPEG support. * iXML support in WAVE files. * Several bugs and memory leaks fixes. * Changes from Adobe XMP CC 2013.06. * Pluggable file handlers (not exposed yet in Exempi) * Support for Exif 2.3 properties * New RIFF file handler * Better Postscript support. * Lot of bug fixes. * Now require (partial) C++11 support to compile (gcc 4.4.7 tested) * WebP format handler (contributed: Frankie Dintino, The Atlantic) * Several API improvements * Fix potential crash with corrupt TIFF file. * Fix header to pass -Wstrict-prototypes OBS-URL: https://build.opensuse.org/request/show/586791 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/exempi?expand=0&rev=26
2018-03-14 15:17:49 +01:00
# Copyright (c) 2018 SUSE LINUX 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 debug_package_requires libexempi3 = %{version}
Name: exempi
Accepting request 586791 from home:kbabioch:branches:multimedia:libs - Update to 2.4.5: * Fix a buffer overflow in the PSD parser. (CVE-2018-7730 bnc#1085295) * Fix a buffer overflow in the TIFF parser. (CVE-2018-7728 bnc#1085297) * Fix a buffer overflow in PostScript parser. (CVE-2018-7729 bnc#1085296) * Fix a null dereference in WEBP parser. (CVE-2018-7731 bnc#1085294) * Properly initialize pointers in WEBP. * Fix an infinite loop in RIFF parser. * Fix an infinite loop in QuickTime parser. * Fix an infinite loop in ASF parser. * Adjust minimum version for gcc in documentation. * Fix a buffer overrun, memcpy() on overlapping regions, use after free in the exception handling. Fix a fatal assert with corrupt WEBP. * Fix a crash on a corrupt file. * Upgrade XMPCore to Adobe XMP CC 2014.12. * New flag to optimize layout on MPEG4 files. * GoPro MPEG4 video files support. * Improved JPEG support. * iXML support in WAVE files. * Several bugs and memory leaks fixes. * Changes from Adobe XMP CC 2013.06. * Pluggable file handlers (not exposed yet in Exempi) * Support for Exif 2.3 properties * New RIFF file handler * Better Postscript support. * Lot of bug fixes. * Now require (partial) C++11 support to compile (gcc 4.4.7 tested) * WebP format handler (contributed: Frankie Dintino, The Atlantic) * Several API improvements * Fix potential crash with corrupt TIFF file. * Fix header to pass -Wstrict-prototypes OBS-URL: https://build.opensuse.org/request/show/586791 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/exempi?expand=0&rev=26
2018-03-14 15:17:49 +01:00
Version: 2.4.5
Release: 0
Summary: XMP support library
License: BSD-3-Clause
Group: Development/Libraries/C and C++
Url: http://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
%if 0%{?suse_version} > 1325
BuildRequires: libboost_test-devel
%else
BuildRequires: boost-devel >= 1.33.0
%endif
BuildRequires: gcc-c++
BuildRequires: libexpat-devel
BuildRequires: pkg-config
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
XMP parsing and IO library
%package -n libexempi3
Summary: XMP support library
Group: System/Libraries
%description -n libexempi3
XMP parsing and IO library
%package tools
Summary: XMP support library -- Tools
Group: Productivity/Graphics/Other
%description tools
XMP parsing and IO library
%package -n libexempi-devel
Summary: XMP support library
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libexempi3 = %{version}
%description -n libexempi-devel
XMP parsing and IO library
%prep
%setup -q
%build
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
%configure \
--disable-static
make %{?_smp_mflags} V=1
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -delete -print
%check
%if ! 0%{?qemu_user_space_build}
make %{?_smp_mflags} check
%endif
%post -n libexempi3 -p /sbin/ldconfig
%postun -n libexempi3 -p /sbin/ldconfig
%files -n libexempi3
%defattr(-,root,root)
%doc README COPYING ChangeLog
%{_libdir}/lib*.so.*
%files tools
%defattr(-,root,root)
%doc README COPYING ChangeLog
%{_bindir}/exempi
%{_mandir}/man1/exempi.1%{?ext_man}
%files -n libexempi-devel
%defattr(-,root,root)
%doc README COPYING ChangeLog
%{_libdir}/lib*.so
%{_includedir}/exempi-2.0
%{_libdir}/pkgconfig/*.pc
%changelog