1 Star 0 Fork 4

ocs-commit-check/libpng

forked from OpenCloudOS Stream/libpng 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libpng.spec 2.53 KB
一键复制 编辑 原始数据 按行查看 历史
Summary: A library of functions for manipulating PNG image format files
Name: libpng
Version: 1.6.40
Release: 4%{?dist}
License: zlib
URL: http://www.libpng.org/pub/png/
Source0: https://github.com/glennrp/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: pngusr.dfa
Patch3000: libpng-multilib.patch
Patch3001: libpng-fix-arm-neon.patch
BuildRequires: gcc make autoconf automake libtool
BuildRequires: zlib-devel
%description
libpng is the official PNG reference library. It supports almost all PNG features, is extensible, and has been extensively tested for over 23 years.
%package devel
Summary: Development files for libpng
Requires: %{name} = %{version}-%{release}
Requires: zlib-devel pkgconfig
%description devel
This package contains the libraries, header files and documentation necessary.
%package static
Summary: Static PNG image format file library
Requires: %{name}-devel = %{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.
%prep
%autosetup -n %{name}-%{version} -p1
cp -p %{SOURCE1} .
%build
autoreconf -vif
%configure
%make_build DFA_XTRA=pngusr.dfa
%check
make check
%install
%make_install
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license LICENSE
%{_libdir}/libpng16.so.*
%{_mandir}/man5/*
%files devel
%doc libpng-manual.txt example.c TODO CHANGES
%{_bindir}/*
%{_includedir}/*
%{_libdir}/libpng*.so
%{_libdir}/pkgconfig/libpng*.pc
%{_mandir}/man3/*
%files static
%{_libdir}/libpng*.a
%changelog
* Thu Sep 26 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.6.40-4
- Rebuilt for clarifying the packages requirement in BaseOS and AppStream
* Fri Aug 16 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.6.40-3
- Rebuilt for loongarch release
* Fri Sep 08 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.6.40-2
- Rebuilt for OpenCloudOS Stream 23.09
* Thu Jul 27 2023 kianli <kianli@tencent.com> - 1.6.40-1
- Upgrade to 1.6.40
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.6.37-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.6.37-2
- Rebuilt for OpenCloudOS Stream 23
* Fri Apr 15 2022 jackbertluo <jackbertluo@tencent.com> - 1.6.37-1
- Initial build
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ocs-commit-check/libpng.git
git@gitee.com:ocs-commit-check/libpng.git
ocs-commit-check
libpng
libpng
master

搜索帮助