Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Monitoring
dba-libpng-1617-static
dba-libpng-1617-static.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-libpng-1617-static.spec of Package dba-libpng-1617-static
%define real_name libpng %define prefix /DBA/%{real_name}/%{version} %define version 1.6.17 %define vers 1617 Name: dba-%{real_name}-%{vers}-static Summary: A library of functions for manipulating PNG image format files Version: %{version} Release: 1 License: zlib Group: System Environment/Libraries URL: http://www.libpng.org/pub/png/ Source0: ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng16/%{real_name}-%{version}.tar.gz Source1: pngusr.dfa Patch0: libpng-multilib.patch Patch1: libpng-fix-arm-neon.patch BuildRoot: %{_tmppath}/%{real_name}-%{version}-build BuildRequires: zlib-devel BuildRequires: autoconf automake libtool %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %description The libpng package contains a library of functions for creating and manipulating PNG (Portable Network Graphics) image format files. PNG is a bit-mapped graphics format similar to the GIF format. PNG was created to replace the GIF format, since GIF uses a patented data compression algorithm. Libpng should be installed if you need to manipulate PNG format image files. %prep %setup -q -n %{real_name}-%{version} # Provide pngusr.dfa for build. cp -p %{SOURCE1} . %patch0 -p1 %patch1 -p1 -b .arm %build export CFLAGS="%{optflags}" %if 0%{?suse_version} >= 1200 autoreconf -vif %endif ./configure \ --prefix=%{prefix} \ --enable-threadsafe \ --disable-shared \ --enable-static \ --with-pic %{__make} %{?_smp_mflags} DFA_XTRA=pngusr.dfa %install %{__make} DESTDIR=%{buildroot} install rm -f `find %{buildroot} -name *.la` %post # add libpng.pc to pkgconfig directory if [ -d %{_libdir}/pkgconfig ]; then cd %{_libdir}/pkgconfig if [ -e libpng.pc ]; then %{__rm} -f libpng.pc fi %{__ln_s} -f %{prefix}/lib/pkgconfig/libpng.pc . if [ -e libpng16.pc ]; then %{__rm} -f libpng16.pc fi %{__ln_s} -f %{prefix}/lib/pkgconfig/libpng16.pc . fi %files %defattr(-,root,root) %dir %{prefix} %{prefix}/* %changelog * Mon Apr 27 2015 Holger Manthey <holger.manthey@bertelsmann.de> - use autoreconf only for suse 12 * Fri Apr 24 2015 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
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