Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
optipng
optipng.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File optipng.spec of Package optipng
# # spec file for package optipng # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: optipng Version: 0.7.7 Release: 0 Summary: A PNG File Compressor License: Zlib Group: Productivity/Archiving/Compression URL: http://optipng.sourceforge.net/ Source0: https://downloads.sourceforge.net/project/optipng/OptiPNG/optipng-%{version}/optipng-%{version}.tar.gz Source1: macros.optipng BuildRequires: libpng-devel BuildRequires: zlib-devel %description OptiPNG is a PNG optimizer that recompresses image files to a smaller size, without losing any information. This program also converts external formats (BMP, GIF, PNM; TIFF support is coming up) to optimized PNG, and performs PNG integrity checks and corrections. %prep %setup -q %build # not autotools generated configure export CFLAGS="%{optflags}" ./configure \ -with-system-zlib \ -with-system-libpng \ -prefix=%{_prefix} \ -mandir=%{_mandir} #don't strip binaries sed -i "s:\(LDFLAGS = \)-s:\1:" src/optipng/Makefile %make_build %install %make_install install -D -m644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.optipng %check %make_build check %files %doc README.txt doc %{_bindir}/optipng %{_mandir}/man1/optipng.1%{?ext_man} %{_rpmmacrodir}/macros.optipng %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor