Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
optipng
optipng.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File optipng.spec of Package optipng
# # spec file for package optipng # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: optipng BuildRequires: libpng-devel Summary: A PNG File Compressor License: Zlib Group: Productivity/Archiving/Compression Version: 0.7.4 Release: 0 Url: http://optipng.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %name-%{version}.tar.gz Source1: macros.optipng %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. Authors: -------- Cosmin Truta cosmin@cs.toronto.edu %prep %setup -q %build export CFLAGS="$RPM_OPT_FLAGS" ./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 %install %makeinstall install -D -m644 %{SOURCE1} $RPM_BUILD_ROOT/etc/rpm/macros.optipng %files %defattr(-,root,root) %doc README.txt doc /usr/bin/optipng /usr/share/man/man1/optipng.1.gz /etc/rpm/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