Projects
Eulaceura:Mainline:GA
pngcrush
_service:obs_scm:pngcrush.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:pngcrush.spec of Package pngcrush
%global _hardened_build 1 Summary: Optimizer for PNG (Portable Network Graphics) files Name: pngcrush Version: 1.8.13 Release: 3 License: zlib URL: http://pmt.sourceforge.net/%{name}/ Source0: http://downloads.sourceforge.net/pmt/pngcrush-1.8.13-nolib.tar.xz BuildRequires: docbook-utils gcc libpng-devel pkgconfig zlib-devel %description pngcrush is a commandline optimizer for PNG (Portable Network Graphics) files. Its main purpose is to reduce the size of the PNG IDAT datastream by trying various compression levels and PNG filter methods. It also can be used to remove unwanted ancillary chunks, or to add certain chunks including gAMA, tRNS, iCCP, and textual chunks. %prep %setup -q -n %{name}-%{version}-nolib %build rm -f z*.h crc32.h deflate.h inf*.h trees.h png*.h # force using system headers pngflags=$(pkg-config --cflags --libs libpng) gcc %{optflags} $pngflags -DPNG_DISABLE_ADLER32_CHECK_SUPPORTED -lz -o %{name} %{name}.c %install %{__install} -D -m0755 %{name} %{buildroot}%{_bindir}/%{name} %files %doc ChangeLog.html %license LICENSE %{_bindir}/%{name} %changelog * Fri Jul 12 2024 wangkai <13474090681@163.com> - 1.8.13-3 - Fix build error for libpng-1.6.43 * Mon Nov 21 2022 wangkai <wangkai385@h-partners.com> - 1.8.13-2 - Change source url * Wed Oct 28 2020 jialei <jialei17@huawei.com> - 1.8.13-1 - package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2