libexif/libexif.spec
Marcus Meissner 6522748569 - libexif-0.6.23 (2021-09-12):
- Translation updates: es, pl, uk, fr
  - EXIF_TAG_SENSITIVITY_TYPE decoder added, added some more Exif 2.3 tags:
        EXIF_TAG_STANDARD_OUTPUT_SENSITIVITY
        EXIF_TAG_RECOMMENDED_EXPOSURE_INDEX
        EXIF_TAG_ISO_SPEED
        EXIF_TAG_ISO_SPEEDLatitudeYYY
        EXIF_TAG_ISO_SPEEDLatitudeZZZ
        EXIF_TAG_OFFSET_TIME
        EXIF_TAG_OFFSET_TIME_ORIGINAL
        EXIF_TAG_OFFSET_TIME_DIGITIZED
        EXIF_TAG_IMAGE_DEPTH
  - be more relaxed to out of order JPG / EXIF dataheaders in files generated by some tools
  - default GPS IFD table added
  - Decode more Nikon Makernote tag names
  - Added Apple iOS Makernote
  - Security fixes:
    - CVE-2020-0198: unsigned integer overflow in exif_data_load_data_content
    - CVE-2020-0452: compiler optimization could remove an a
      bufferoverflow check, making a buffer overflow possible with some
      EXIF tags
    - some more denial of service (compute time or stack exhaustion) counter-measures
      added that avoid minutes of decoding time with malformed files found
      by OSS-Fuzz

OBS-URL: https://build.opensuse.org/package/show/graphics/libexif?expand=0&rev=41
2021-09-13 07:05:55 +00:00

96 lines
2.6 KiB
RPMSpec

#
# spec file for package libexif
#
# 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/
#
Name: libexif
Version: 0.6.22
Release: 0
URL: http://libexif.sourceforge.net
Summary: An EXIF Tag Parsing Library for Digital Cameras
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: https://github.com/libexif/libexif/releases/download/v%version/libexif-%version.tar.bz2
Source2: https://github.com/libexif/libexif/releases/download/v%version/libexif-%version.tar.bz2.asc
Source3: %name.keyring
Source1: baselibs.conf
BuildRequires: doxygen
BuildRequires: pkg-config
%define pname libexif12
%define debug_package_requires %{pname} = %{version}-%{release}
%package -n %{pname}
Summary: An EXIF Tag Parsing Library for Digital Cameras
Group: System/Libraries
Provides: libexif = %{version}
Obsoletes: libexif < %{version}
%description
This library is used to parse EXIF information from JPEGs created by
digital cameras.
%description -n %{pname}
This library is used to parse EXIF information from JPEGs created by
digital cameras.
%package devel
Summary: An EXIF Tag Parsing Library for Digital Cameras (Development files)
Group: Development/Libraries/C and C++
Requires: %{pname} = %{version}
Requires: glibc-devel
%description devel
This library is used to parse EXIF information from JPEGs created by
digital cameras.
%prep
%setup -q
%build
export CFLAGS="%optflags $(getconf LFS_CFLAGS)"
%configure \
--disable-static \
--with-doc-dir=%{_docdir}/%{name}
make %{?_smp_mflags}
%check
make check
%install
%makeinstall
%find_lang %{name}-12
rm -f %{buildroot}/%{_libdir}/*.la
%post -n %{pname} -p /sbin/ldconfig
%postun -n %{pname} -p /sbin/ldconfig
%files -n %{pname} -f %{name}-12.lang
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%doc %{_docdir}/%{name}
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%changelog