libexif/libexif.spec

96 lines
2.4 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:56:00 -04:00
Name: libexif
Summary: Library for extracting extra information from image files
2020-08-08 15:35:17 +08:00
Version: 0.6.22
2022-10-18 09:00:17 +00:00
Release: 3
2019-09-30 10:56:00 -04:00
License: LGPLv2+
URL: https://libexif.github.io/
2020-09-10 18:48:44 +08:00
Source0: https://github.com/libexif/libexif/archive/libexif-%(echo %{version} | sed "s/\./_/g")-release.tar.gz
2019-09-30 10:56:00 -04:00
2020-08-08 15:35:17 +08:00
Patch0: CVE-2020-0198.patch
2022-10-18 09:00:17 +00:00
Patch6000: backport-fuzz-stack-overflow.patch
Patch6001: backport-fuzz-timeout-and-out-of-memory.patch
2020-08-08 15:35:17 +08:00
Patch9000: libexif-bugfix-integer-overflow-pentax.patch
BuildRequires: autoconf automake doxygen gettext-devel libtool pkgconfig
2019-09-30 10:56:00 -04:00
%description
Most digital cameras produce EXIF files, which are JPEG files with
extra tags that contain information about the image. The EXIF library
allows you to parse an EXIF file and read the data from those tags.
%package devel
Summary: Files needed for libexif application development
Requires: %{name}%{?_isa} = %{version}-%{release} pkgconfig
2020-08-08 15:35:17 +08:00
Requires: pkgconfig
2019-09-30 10:56:00 -04:00
%description devel
The libexif-devel package contains the libraries and header files
for writing programs that use libexif.
%package_help
%prep
2020-09-10 18:48:44 +08:00
%autosetup -n libexif-libexif-0_6_22-release -p1
2020-08-08 15:35:17 +08:00
2019-09-30 10:56:00 -04:00
%build
autoreconf -fiv
2020-08-08 15:35:17 +08:00
%configure --disable-static
2019-09-30 10:56:00 -04:00
%make_build
%install
%make_install
%delete_la
2020-08-08 15:35:17 +08:00
rm -rf %{buildroot}%{_datadir}/doc/libexif
2019-09-30 10:56:00 -04:00
cp -R doc/doxygen-output/libexif-api.html .
iconv -f latin1 -t utf-8 < COPYING > COPYING.utf8; cp COPYING.utf8 COPYING
iconv -f latin1 -t utf-8 < README > README.utf8; cp README.utf8 README
%find_lang libexif-12
%check
make check
%ldconfig_scriptlets
%files -f libexif-12.lang
%defattr(-,root,root)
2019-11-06 19:38:15 +08:00
%doc README
%license COPYING
2019-09-30 10:56:00 -04:00
%{_libdir}/libexif.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/libexif
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%files help
%defattr(-,root,root)
%doc libexif-api.html NEWS
%changelog
2022-10-18 09:00:17 +00:00
* Tue Oct 18 2022 wangkerong <wangkerong@h-partners.com> - 0.6.21-3
- fix fuzz test error
* Thu Sep 10 2020 hanhui <hanhui15@huawei.com> - 0.6.21-2
2020-09-10 18:48:44 +08:00
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify source url
2020-08-08 15:35:17 +08:00
* Sat Aug 8 2020 yanan <yanan@huawei.com> - 0.6.22-1
- update to 0.6.22
2020-03-10 15:28:59 +08:00
* Tue Mar 10 2020 songnannan <songnannan2@huawei.com> - 0.6.21-20
- bugfix in oss-fuzz
2019-11-06 19:38:15 +08:00
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.6.21-19
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the directory of the license file
2019-09-30 10:56:00 -04:00
* Thu Sep 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.6.21-18
- Package init