Search
SailfishOS Open Build Service
>
Projects
>
home:plfiorini
:
maui:devel
:
x86_64
>
libpng
> _service:tar_git:libpng.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:libpng.spec of Package libpng
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.24 # Name: libpng # >> macros # << macros Summary: A library of functions for manipulating PNG image format files Version: 1.6.11 Release: 1 Group: System/Libraries License: zlib URL: http://www.libpng.org/pub/png/libpng.html Source0: ftp://ftp.simplesystems.org/pub/png/src/libpng-%{version}.tar.xz Source100: libpng.yaml Patch0: libpng-multilib.patch Patch1: libpng-%{version}-apng.patch.gz Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(zlib) %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. %package devel Summary: Development tools for programs to manipulate PNG image format files Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libpng = %{version}-%{release} Requires: zlib-devel %description devel The libpng-devel package contains header files and documentation necessary for developing programs using the PNG (Portable Network Graphics) library. %prep %setup -q -n %{name}-%{version} # libpng-multilib.patch %patch0 -p1 # libpng-%{version}-apng.patch.gz %patch1 -p1 # >> setup # << setup %build # >> build pre # << build pre %configure --disable-static \ %ifarch %{arm} --enable-arm-neon %endif make %{?jobs:-j%jobs} # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre %make_install # >> install post # << install post %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) # >> files %doc LICENSE %{_libdir}/libpng*.so.* # << files %files devel %defattr(-,root,root,-) # >> files devel %doc %{_mandir}/man5/* %doc *.txt example.c README TODO CHANGES %{_bindir}/* %{_includedir}/* %{_libdir}/libpng*.so %{_libdir}/pkgconfig/* %doc %{_mandir}/man3/* # << files devel