14 Star 0 Fork 19

src-openEuler / exiv2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
exiv2.spec 4.63 KB
一键复制 编辑 原始数据 按行查看 历史
Name: exiv2
Version: 0.28.2
Release: 1
Summary: Exif, IPTC and XMP metadata and the ICC Profile
License: GPLv2+
URL: http://www.exiv2.org/
Source0: https://github.com/Exiv2/exiv2/archive/v%{version}/%{name}-%{version}.tar.gz
Provides: exiv2-libs = %{version}-%{release}
Obsoletes: exiv2-libs < %{version}-%{release}
BuildRequires: cmake expat-devel gcc-c++ gettext pkgconfig brotli-devel
BuildRequires: doxygen graphviz libxslt zlib-devel chrpath inih-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.
%package_help
%prep
%autosetup -p1
%build
%{cmake} \
-DCMAKE_INSTALL_DOCDIR="%{_pkgdocdir}" \
-DEXIV2_BUILD_DOC:BOOL=ON \
-DEXIV2_ENABLE_NLS:BOOL=ON \
-DEXIV2_BUILD_SAMPLES:BOOL=OFF
%make_build
make doc
%install
%make_install
%find_lang exiv2 --with-man
chrpath -d %{buildroot}%{_libdir}/libexiv2.so.0.28.2
chrpath -d %{buildroot}%{_bindir}/%{name}
%check
export PKG_CONFIG_PATH="%{buildroot}%{_libdir}/pkgconfig${PKG_CONFIG_PATH:+:}${PKG_CONFIG_PATH}"
test "$(pkg-config --modversion exiv2)" = "%{version}"
test "$(pkg-config --variable=libdir exiv2)" = "%{_libdir}"
test -x %{buildroot}%{_libdir}/libexiv2.so
%files -f exiv2.lang
%defattr(-,root,root)
%doc doc/ChangeLog
%license COPYING
%{_bindir}/exiv2
%{_libdir}/libexiv2.so.28*
%{_libdir}/libexiv2.so.%{version}
%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/exiv2.pc
%{_libdir}/libexiv2.so
%{_includedir}/exiv2/
%{_libdir}/cmake/exiv2/
%files help
%defattr(-,root,root)
%{_mandir}/man1/exiv2*.1*
%{_pkgdocdir}/
%changelog
* Sat Feb 17 2024 yaoxin <yao_xin001@hoperun.com> - 0.28.2-1
- Upgrade to 0.28.2 for fix CVE-2024-25112 and CVE-2024-24826
* Thu Nov 09 2023 yaoxin <yao_xin001@hoperun.com> - 0.28.1-1
- Upgrade to 0.28.1 for fix CVE-2023-44398
* Sat Sep 2 2023 liyanan <thistleslyn@163.com> - 0.28.0-1
- Upgrade to version 0.28.0
* Thu Mar 2 2023 liyanan <liyanan32@h-partners.com> - 0.27.5-4
- Remove rpath
* Thu Nov 10 2022 jiangpeng <jiangpeng01@ncti-gba.cn> - 0.27.5-3
- Fix CVE-2022-3756
* Sat Sep 17 2022 qz_cx <wangqingzheng@kylinos.cn> - 0.27.5-2
- Type:CVE
- ID:NA
- SUG:NA
- DESC: fix CVE-2022-3755
* Tue Nov 23 2021 wangkai <wangkai385@huawei.com> - 0.27.5-1
- Upgrade to 0.27.5
* 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
* Sat May 08 2021 wangkerong <wangkerong@huawei.com> - 0.26-25
- Type:cve
- ID:CVE-2021-29470
- SUG:NA
- DESC:fix CVE-2021-29470
* 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
* Thu Apr 22 2021 zhanzhimin <zhanzhimin@huawei.com> - 0.26-23
- Type:cves
- ID:CVE-2021-3482
- SUG:NA
- DESC:fix CVE-2021-3482
* Thu Sep 17 2020 zhanzhimin <zhanzhimin@huawei.com> - 0.26-22
- Type:cves
- ID:CVE-2018-9145
- SUG:NA
- DESC:fix CVE-2018-9145
* Tue Sep 8 2020 hanhui <hanhui15@huawei.com> - 0.26.21
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify source url
* Thu May 21 2020 liuzongyu <liuzonyu3@huawei.com> - 0.26-20
- Type:cves
- ID:CVE-2019-13111
- SUG:NA
- DESC:fix CVE-2019-13111
* 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
* Thu Apr 16 2020 chenzhen <chenzhen44@huawei.com> - 0.26-18
- Type:cves
- ID:CVE-2018-11037
- SUG:NA
- DESC:fix CVE-2018-11037
* Wed Mar 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.26-17
- Type:cves
- ID:NA
- SUG:NA
- DESC:Add CVE patches
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.26-16
- change the path of files
* 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
- Type:cves
- ID:CVE-2019-14982
- SUG:NA
- DESC:fix CVE-2019-14982
* Sat Sep 21 2019 Yanjie Guan <guanyanjie@huawei.com> - 0.26-13
- Package init for openEuler
1
https://gitee.com/src-openeuler/exiv2.git
git@gitee.com:src-openeuler/exiv2.git
src-openeuler
exiv2
exiv2
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891