exiv2/exiv2.spec

164 lines
4.0 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:38:30 -04:00
Name: exiv2
2021-11-23 11:27:29 +08:00
Version: 0.27.5
Release: 1
2019-09-30 10:38:30 -04:00
Summary: Exif, IPTC and XMP metadata and the ICC Profile
License: GPLv2+
URL: http://www.exiv2.org/
2021-11-23 11:27:29 +08:00
Source0: https://github.com/Exiv2/exiv2/archive/refs/tags/v%{version}.tar.gz
2019-09-30 10:38:30 -04:00
Provides: exiv2-libs
Obsoletes: exiv2-libs
2021-11-23 11:27:29 +08:00
BuildRequires: cmake expat-devel gcc-c++ gettext pkgconfig
2019-09-30 10:38:30 -04:00
BuildRequires: doxygen graphviz libxslt zlib-devel
%description
Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata.
It provides fast and easy read and write access to the Exif, IPTC and XMP metadata and the
ICC Profile embedded within digital images in various formats.
%package devel
Summary: This package contains libraries, header and development files for exiv2
Requires: %{name} = %{version}-%{release}
%description devel
Exiv2 is a Cross-platform C++ library and a command line utility to manage image metadata.
This package provides head file,libraries for exiv2.
2019-12-26 15:05:21 +08:00
%package_help
2019-09-30 10:38:30 -04:00
%prep
%autosetup -p1
%build
2021-11-23 11:27:29 +08:00
%{cmake} \
-DCMAKE_INSTALL_DOCDIR="%{_pkgdocdir}" \
-DEXIV2_BUILD_DOC:BOOL=ON \
-DEXIV2_ENABLE_NLS:BOOL=ON \
-DEXIV2_BUILD_SAMPLES:BOOL=OFF
2019-09-30 10:38:30 -04:00
%make_build
make doc
%install
%make_install
2021-11-23 11:27:29 +08:00
%find_lang exiv2 --with-man
2019-09-30 10:38:30 -04:00
%check
2021-11-23 11:27:29 +08:00
export PKG_CONFIG_PATH="%{buildroot}%{_libdir}/pkgconfig${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}"
2019-09-30 10:38:30 -04:00
test "$(pkg-config --modversion exiv2)" = "%{version}"
2021-11-23 11:27:29 +08:00
test "$(pkg-config --variable=libdir exiv2)" = "%{_libdir}"
2019-09-30 10:38:30 -04:00
test -x %{buildroot}%{_libdir}/libexiv2.so
%files -f exiv2.lang
%defattr(-,root,root)
2019-12-26 15:05:21 +08:00
%doc doc/ChangeLog
%license COPYING
2019-09-30 10:38:30 -04:00
%{_bindir}/exiv2
2021-11-23 11:27:29 +08:00
%{_libdir}/libexiv2.so.27*
%{_libdir}/libexiv2.so.%{version}
2019-09-30 10:38:30 -04:00
%exclude %{_libdir}/pkgconfig/exiv2.lsm
%exclude %{_libdir}/libxmp.a
%files devel
2019-12-26 15:05:21 +08:00
%defattr(-,root,root)
2019-09-30 10:38:30 -04:00
%{_libdir}/pkgconfig/exiv2.pc
%{_libdir}/libexiv2.so
%{_includedir}/exiv2/
2021-11-23 11:27:29 +08:00
%{_libdir}/cmake/exiv2/
%{_libdir}/libexiv2-xmp.a
2019-09-30 10:38:30 -04:00
%files help
2019-12-26 15:05:21 +08:00
%defattr(-,root,root)
2019-09-30 10:38:30 -04:00
%{_mandir}/man1/exiv2*.1*
2021-11-23 11:27:29 +08:00
%{_pkgdocdir}/
2019-09-30 10:38:30 -04:00
%changelog
2021-11-23 11:27:29 +08:00
* Tue Nov 23 2021 wangkai <wangkai385@huawei.com> - 0.27.5-1
- Upgrade to 0.27.5
2021-05-27 16:27:40 +08:00
* Thu May 27 2021 liuyumeng <liuyumeng5@huawei.com> - 0.26-27
- Type:cves
- ID:CVE-2021-29623 CVE-2021-32617
- SUG:NA
- DESC:fix CVE-2021-29623 CVE-2021-32617
* Wed May 12 2021 wangkerong <wangkerong@huawei.com> - 0.26-26
- Type:cves
- ID:CVE-2021-29464 CVE-2021-29463 CVE-2021-29473
- SUG:NA
- DESC:fix CVE-2021-29464,CVE-2021-29463,CVE-2021-29473
2021-05-08 16:02:06 +08:00
* Sat May 08 2021 wangkerong <wangkerong@huawei.com> - 0.26-25
- Type:cve
- ID:CVE-2021-29470
- SUG:NA
- DESC:fix CVE-2021-29470
2021-04-29 11:16:06 +08:00
* Thu Apr 29 2021 wangkerong <wangkerong@huawei.com> - 0.26-24
- Type:cves
- ID:CVE-2021-29457 CVE-2021-29458
- SUG:NA
- DESC:fix CVE-2021-29457,CVE-2021-29458
2021-04-22 17:25:51 +08:00
* Thu Apr 22 2021 zhanzhimin <zhanzhimin@huawei.com> - 0.26-23
- Type:cves
- ID:CVE-2021-3482
- SUG:NA
- DESC:fix CVE-2021-3482
2020-09-17 16:53:44 +08:00
* Thu Sep 17 2020 zhanzhimin <zhanzhimin@huawei.com> - 0.26-22
- Type:cves
- ID:CVE-2018-9145
- SUG:NA
- DESC:fix CVE-2018-9145
2020-09-08 14:58:03 +08:00
* Tue Sep 8 2020 hanhui <hanhui15@huawei.com> - 0.26.21
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify source url
2020-05-21 19:18:37 +08:00
* Thu May 21 2020 liuzongyu <liuzonyu3@huawei.com> - 0.26-20
- Type:cves
- ID:CVE-2019-13111
- SUG:NA
- DESC:fix CVE-2019-13111
2020-04-28 18:01:48 +08:00
* Tue Apr 28 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.26-19
- Type:cves
- ID:CVE-2019-13109
- SUG:NA
- DESC:fix CVE-2019-13109
fix ICC profile in PNG images
2020-04-16 10:28:24 +08:00
* Thu Apr 16 2020 chenzhen <chenzhen44@huawei.com> - 0.26-18
- Type:cves
- ID:CVE-2018-11037
- SUG:NA
- DESC:fix CVE-2018-11037
2020-03-11 14:23:03 +08:00
* Wed Mar 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.26-17
- Type:cves
- ID:NA
- SUG:NA
- DESC:Add CVE patches
2019-12-26 15:05:21 +08:00
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.26-16
- change the path of files
2019-12-25 15:45:26 +08:00
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.26-15
- Type:cves
- ID:NA
- SUG:NA
- DESC:Add CVE patches
* Wed Sep 25 2019 huzunhao<huzunhao2@huawei.com> - 0.26-14
2019-09-30 10:38:30 -04:00
- Type:cves
- ID:CVE-2019-14982
- SUG:NA
- DESC:fix CVE-2019-14982
2019-12-25 15:45:26 +08:00
* Sat Sep 21 2019 Yanjie Guan <guanyanjie@huawei.com> - 0.26-13
2019-09-30 10:38:30 -04:00
- Package init for openEuler