Search
SailfishOS Open Build Service
>
Projects
>
home:aard
:
merde
>
gd
> gd.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File gd.spec of Package gd
# # Do not Edit! Generated by: # spectacle version 0.13~pre # # >> macros # << macros Name: gd Summary: A graphics library for quick creation of PNG or JPEG images Version: 2.0.35 Release: 1 Group: System/Libraries License: MIT and GPL URL: http://www.libgd.org/Main_Page Source0: http://www.libgd.org/releases/%{name}-%{version}.tar.bz2 Source100: gd.yaml Patch0: gd-2.0.33-freetype.patch Patch1: gd-2.0.34-multilib.patch Patch2: gd-loop.patch Patch3: gd-2.0.34-sparc64.patch Patch4: gd-2.0.35-overflow.patch Patch5: gd-2.0.35-AALineThick.patch Patch6: gd-2.0.33-BoxBound.patch Patch7: gd-2.0.34-fonts.patch Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xpm) BuildRequires: pkgconfig(libpng) BuildRequires: libjpeg-devel BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The gd graphics library allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and to write out the result as a PNG or JPEG file. This is particularly useful in Web applications, where PNG and JPEG are two of the formats accepted for inline images by most browsers. Note that gd is not a paint program. %package progs Summary: Utility programs that use libgd Group: Applications/Multimedia Requires: %{name} = %{version}-%{release} Requires: gd = %{version}-%{release} %description progs The gd-progs package includes utility programs supplied with gd, a graphics library for creating PNG and JPEG images. %package devel Summary: The development libraries and header files for gd Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The gd-devel package contains the development libraries and header files for gd, a graphics library for creating PNG and JPEG graphics. %prep %setup -q -n %{name}-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 # >> setup # << setup %build # >> build pre # << build pre %configure --disable-static \ --disable-rpath # Call make instruction with smp support make %{?jobs:-j%jobs} # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre %make_install # >> install post # << install post %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) # >> files %doc COPYING README-JPEG.TXT index.html %{_libdir}/*.so.* # << files %files progs %defattr(-,root,root,-) # >> files progs %{_bindir}/* %exclude %{_bindir}/gdlib-config # << files progs %files devel %defattr(-,root,root,-) # >> files devel %doc index.html %{_bindir}/gdlib-config %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/gdlib.pc # << files devel