代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/third_party_libpng 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: libpng
Epoch: 2
Version: 1.6.38
Release: 2
Summary: A library of functions for manipulating PNG image format files
License: zlib
URL: http://www.libpng.org/pub/png/libpng.html
Source0: https://github.com/glennrp/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: pngusr.dfa
Patch0: libpng-multilib.patch
Patch1: libpng-fix-arm-neon.patch
Patch2: CVE-2019-6129.patch
BuildRequires: zlib-devel autoconf automake libtool
%description
The libpng package contains libraries used by other programs for reading and writing PNG format files.
The PNG format was designed as a replacement for GIF and, to a lesser extent, TIFF,
with many improvements and extensions and lack of patent problems.
%package devel
Summary: Development files for libpng
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} zlib-devel%{?_isa} pkgconfig%{?_isa}
%description devel
The libpng-devel package contains libraries and header files for developing
applications that using the PNG library.
%package static
Summary: Static PNG image format file library
Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release}
%description static
The libpng-static package contains the statically linkable version of libpng.
Linking to static libraries is discouraged for most applications, but it is
necessary for some boot packages.
%package tools
Summary: Tools for PNG image format file library
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
%description tools
The libpng-tools package contains tools used by the authors of libpng.
%package help
Summary: Help documents for libpng
%description help
This package contain the license files and help documents for libpng.
%prep
%autosetup -n %{name}-%{version} -p1
cp -p %{SOURCE1} .
%build
autoreconf -vif
%configure
%make_build DFA_XTRA=pngusr.dfa
%install
%make_install
rm -f %{buildroot}%{_libdir}/*.la
%check
make check
%ldconfig_post
%ldconfig_postun
%files
%{!?_licensedir:%global license %%doc}
%license LICENSE
%{_libdir}/libpng16.so.*
%files devel
%{_includedir}/*
%{_libdir}/libpng*.so
%{_libdir}/pkgconfig/libpng*.pc
%files static
%{_libdir}/libpng*.a
%files tools
%{_bindir}/*
%files help
%doc libpng-manual.txt TODO CHANGES
%{_mandir}/man*/*
%changelog
* Thu Dec 15 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.6.38-2
- remove example.c from help
* Thu Nov 03 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.6.38-1
- update 1.6.38
* Tue Mar 29 2022 liuyumeng <liuyumeng5@h-partners.com> - 1.6.37-3
- enable test and fix failed tests
* Sat Dec 25 2021 hanhui <hanhui15@huawei.com> - 1.6.37-2
- DESC:split tools and static packages
* Mon May 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.6.37-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update 1.6.37
* Sun Jan 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.6.36-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix cve
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.6.36-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:optimization the spec
* Wed Sep 18 2019 chenzhenyu <chenzhenyu13@huawei.com> - 1.6.36-2
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。