114 Star 0 Fork 15

src-openEuler/LibRaw

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
LibRaw.spec 3.75 KB
一键复制 编辑 原始数据 按行查看 历史
宋立洋 提交于 2024-03-08 17:00 . Upgrade to 0.21.2
Name: LibRaw
Version: 0.21.2
Release: 1
Summary: Library for reading RAW files obtained from digital photo cameras
License: BSD-3-Clause and (CDDL-1.0 or LGPL-2.1-only)
URL: http://www.libraw.org
Source0: http://github.com/LibRaw/LibRaw/archive/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++ pkgconfig(lcms2) pkgconfig(libjpeg)
BuildRequires: autoconf automake libtool make
Provides: bundled(dcraw) = 9.25
%description
LibRaw is a library for reading RAW files from digital photo cameras (CRW/CR2, NEF,
RAF, etc, virtually all RAW formats are supported).It pays special attention to
correct retrieval of data required for subsequent RAW conversion.The library is
intended for embedding in RAW converters, data analyzers, and other programs using
RAW files as the initial data.
%package devel
Summary: LibRaw development libraries
Requires: %{name} = %{version}-%{release}
Provides: LibRaw-static = %{version}-%{release} LibRaw-samples = %{version}-%{release}
Obsoletes: LibRaw-static < %{version}-%{release} LibRaw-samples < %{version}-%{release}
%description devel
The LibRaw-devel package contains development and header files.
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -if
%configure --enable-examples=yes --disable-jasper --enable-jpeg \
--enable-lcms --enable-openmp
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build
%install
cp -pr doc manual
chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt manual/*.html
%make_install
rm -rfv samples/.deps samples/.dirstamp samples/*.o
%delete_la
%files
%doc Changelog.txt
%license LICENSE.CDDL LICENSE.LGPL COPYRIGHT
%{_libdir}/{libraw,libraw_r}.so.23*
%files devel
%doc manual samples
%{_bindir}/*
%{_includedir}/libraw/
%{_libdir}/{libraw,libraw_r}.a
%{_libdir}/{libraw,libraw_r}.so
%{_libdir}/pkgconfig/{libraw,libraw_r}.pc
%exclude %{_docdir}/libraw/*
%changelog
* Fri Mar 8 2024 songliyang <songiyang@kylinos.cn> - 0.21.2-1
- Upgrade to 0.21.2
- New compile-defined limit LIBRAW_MAX_PROFILE_SIZE_MB: limits allocation/read size for embedded color profile (default: 256Mb)
- Embedded color profile allocation/read size: limited by input file size.
- Multiple fixes (mostly inspired by oss-fuzz) to improve library stability and/or input checks.
- raw-identify: use fallback if PATH_MAX not available
- Disabled color conversion for Canon 16-bit thumbnails
- docs/changelog: explained the case when no thumbnail is found in specific file
- swapXX renamed to libraw_swapXX to avoid name conflict
- better striped thumbnails handling
* Mon May 15 2023 yaoxin <yao_xin001@hoperun.com> - 0.21.1-2
- Fix CVE-2023-1729
* Thu Mar 02 2023 Li Long <lilong@kylinos.cn> - 0.21.1-1
- Upgrade to 0.21.1
* Fri Feb 25 2022 xu_ping <xuping33@huawei.com> - 0.20.2-5
- fix use of uninitialized value of makernotes.cpp and misc_parsers.cpp
* Thu Jun 3 2021 zhangjiapeng <zhangjiapeng9@huawei.com> - 0.20.2-4
- fix use of uninitialized value
* Sat Dec 5 2020 leiju <leiju4@huawei.com> - 0.20.2-3
- modify Patch0001 name to fix patch parse error
* Fri Dec 4 2020 zhanghua <zhanghua40@huawei.com> - 0.20.2-2
- fix stack buffer overflow in LibRaw_buffer_datastream::gets()
* Tue Dec 1 2020 zhanghua <zhanghua40@huawei.com> - 0.20.2-1
- update to 0.20.2 and fix stack buffer overflow in parse_rollei
* Wed Sep 16 2020 zhanghua <zhanghua40@huawei.com> - 0.19.0-10
- Fix CVE-2018-20363, CVE-2018-20364, CVE-2018-20365
* Mon Jul 13 2020 wangyue <wangyue92@huawei.com> - 0.19.0-9
- Fix CVE-2018-20337.
* Mon Mar 09 2020 songnannan <songnannan2@huaiwe.com> - 0.19.0-8
- disable the jasper
* Fri Oct 25 2019 yanzhihua<yanzhihua4@huawei.com> - 0.19.0-7
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/LibRaw.git
git@gitee.com:src-openeuler/LibRaw.git
src-openeuler
LibRaw
LibRaw
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385