Ai
12 Star 1 Fork 18

src-openEuler/libpng
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libpng.spec 3.41 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2025-02-19 21:50 +08:00 . 1.6.47
Name: libpng
Epoch: 2
Version: 1.6.47
Release: 1
Summary: A library of functions for manipulating PNG image format files
License: zlib
URL: http://www.libpng.org/pub/png/libpng.html
Source0: https://download.sourceforge.net/libpng/%{name}-%{version}.tar.xz
Source1: pngusr.dfa
Patch0: libpng-multilib.patch
Patch1: libpng-fix-arm-neon.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}
%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
%prep
%autosetup -n %{name}-%{version} -p1
cp -p %{S:1} .
%build
autoreconf -vif
%configure
%make_build DFA_XTRA=pngusr.dfa
%install
%make_install
%delete_la
%check
%make_build check
%files
%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
* Wed Feb 19 2025 Funda Wang <fundawang@yeah.net> - 2:1.6.47-1
- update to 1.6.47
* Sat Jan 25 2025 Funda Wang <fundawang@yeah.net> - 2:1.6.46-1
- update to 1.6.46
* Wed Jan 08 2025 Funda Wang <fundawang@yeah.net> - 2:1.6.45-1
- update to 1.6.45
* Sat Sep 14 2024 Funda Wang <fundawang@yeah.net> - 2:1.6.44-1
- update to 1.6.44
* Tue May 21 2024 zhangxingrong <zhangxingrong@uniontech.com> - 2:1.6.43-1
- Update to version 1.6.43
* Thu Jul 13 2023 jiangxinyu <jiangxinyu@kylinoss.cn> - 2:1.6.40-1
- Update package to version 1.6.40
* Thu Dec 15 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 2:1.6.38-2
- remove example.c from help
* Thu Nov 03 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 2:1.6.38-1
- update 1.6.38
* Tue Mar 29 2022 liuyumeng <liuyumeng5@h-partners.com> - 2:1.6.37-3
- enable test and fix failed tests
* Sat Dec 25 2021 hanhui <hanhui15@huawei.com> - 2:1.6.37-2
- DESC:split tools and static packages
* Mon May 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:1.6.37-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update 1.6.37
* Sun Jan 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:1.6.36-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix cve
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 2:1.6.36-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:optimization the spec
* Wed Sep 18 2019 chenzhenyu <chenzhenyu13@huawei.com> - 2:1.6.36-2
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/libpng.git
git@gitee.com:src-openeuler/libpng.git
src-openeuler
libpng
libpng
openEuler-25.03

搜索帮助