2024-01-06 04:20:09 +01:00
|
|
|
%define libname libgd
|
|
|
|
|
|
|
|
Name: libgd
|
2024-01-06 04:20:11 +01:00
|
|
|
Version: 2.3.3
|
2024-01-06 04:20:09 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library used to create PNG, JPEG, or WBMP images
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 04:20:10 +01:00
|
|
|
URL: https://libgd.github.io/
|
|
|
|
Source: https://github.com/libgd/libgd.git/gd-%{version}/libgd-%{version}.tar.bz2
|
2024-01-06 04:20:09 +01:00
|
|
|
Patch0: gd-2.0.35-CVE_2007_0455.patch
|
|
|
|
Patch1: gd-2.0.35-gd_gif_loop.patch
|
|
|
|
# see "DEFAULT_FONTPATH" in index.html
|
|
|
|
Patch2: gd-2.0.35-default_fontpath.patch
|
|
|
|
Patch3: gd-2.0.35-libpng-1.6.patch
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 04:20:11 +01:00
|
|
|
#libdl.so.2()(64bit): /usr/lib64/libdl.so: file not owned by any package
|
|
|
|
#librt.so.1()(64bit): /usr/lib64/librt.so: file not owned by any package
|
2024-01-06 04:20:09 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libX11-devel
|
2024-01-06 04:20:11 +01:00
|
|
|
BuildRequires: libXau-devel
|
|
|
|
BuildRequires: libXdmcp-devel
|
2024-01-06 04:20:09 +01:00
|
|
|
BuildRequires: libXpm-devel
|
2024-01-06 04:20:11 +01:00
|
|
|
BuildRequires: libbrotli-devel
|
|
|
|
BuildRequires: libbsd-devel
|
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libexpat-devel
|
2024-01-06 04:20:09 +01:00
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
2024-01-06 04:20:11 +01:00
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgraphite2-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: libjbig-devel
|
2024-01-06 04:20:09 +01:00
|
|
|
BuildRequires: libjpeg-devel
|
2024-01-06 04:20:11 +01:00
|
|
|
BuildRequires: liblzma-devel
|
|
|
|
BuildRequires: libpcre-devel
|
2024-01-06 04:20:09 +01:00
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libtiff-devel
|
2024-01-06 04:20:11 +01:00
|
|
|
BuildRequires: libwebp-devel
|
|
|
|
BuildRequires: libxcb-devel
|
2024-01-06 04:20:09 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-06 04:20:11 +01:00
|
|
|
BuildRequires: libzstd-devel
|
2024-01-06 04:20:09 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: gettext-devel >= 0.14.4
|
|
|
|
|
|
|
|
%description
|
|
|
|
GD is a graphics library.
|
|
|
|
It allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and write out the result as a PNG or JPEG file. GD does not create GIF images.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: libgd = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
GD is a graphics library.
|
|
|
|
It allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and write out the result as a PNG or JPEG file. GD does not create GIF images.
|
|
|
|
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
Summary: The utils files for %{name}
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Requires: %{libname} = %{version}-%{release}
|
|
|
|
Provides: gd-utils
|
|
|
|
Obsoletes: gd-utils
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
The gd-utils package includes utility programs supplied with gd, a graphics library for creating PNG and JPEG images.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 04:20:10 +01:00
|
|
|
./bootstrap.sh
|
2024-01-06 04:20:09 +01:00
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libgd.so.*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:20:10 +01:00
|
|
|
#%{_bindir}/gdlib-config
|
2024-01-06 04:20:09 +01:00
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_libdir}/libgd.a
|
|
|
|
%{_libdir}/libgd.la
|
|
|
|
%{_libdir}/libgd.so
|
|
|
|
%{_libdir}/pkgconfig/gdlib.pc
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/annotate
|
|
|
|
%{_bindir}/bdftogd
|
|
|
|
%{_bindir}/gd2copypal
|
|
|
|
%{_bindir}/gd2togif
|
|
|
|
%{_bindir}/gd2topng
|
|
|
|
%{_bindir}/gdcmpgif
|
|
|
|
%{_bindir}/gdparttopng
|
|
|
|
%{_bindir}/gdtopng
|
|
|
|
%{_bindir}/giftogd2
|
|
|
|
%{_bindir}/pngtogd
|
|
|
|
%{_bindir}/pngtogd2
|
|
|
|
%{_bindir}/webpng
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:20:11 +01:00
|
|
|
* Mon Sep 13 2021 Automatic Build System <autodist@mambasoft.it> 2.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:20:10 +01:00
|
|
|
* Sun Mar 07 2021 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:20:10 +01:00
|
|
|
* Sat Jan 30 2021 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:20:10 +01:00
|
|
|
* Wed Mar 25 2020 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:20:10 +01:00
|
|
|
* Mon Sep 04 2017 Automatic Build System <autodist@mambasoft.it> 2.2.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:20:10 +01:00
|
|
|
* Sun Mar 26 2017 Automatic Build System <autodist@mambasoft.it> 2.2.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:20:10 +01:00
|
|
|
* Sun Jul 31 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.3-1mamba
|
|
|
|
- update to 2.2.3
|
|
|
|
|
2024-01-06 04:20:09 +01:00
|
|
|
* Fri Jan 30 2015 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:20:09 +01:00
|
|
|
* Mon Jan 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- update to 2.1.0
|
|
|
|
|
|
|
|
* Fri Aug 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.35-6mamba
|
|
|
|
- rebuilt with libpng 1.6 really (added patch)
|
|
|
|
|
|
|
|
* Tue Aug 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.35-5mamba
|
|
|
|
- libpng 1.6 mass rebuild
|
|
|
|
|
|
|
|
* Fri Jul 02 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.35-4mamba
|
|
|
|
- rebuilt with libpng 1.4 and libjpeg 8
|
|
|
|
|
|
|
|
* Thu Jun 03 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.35-3mamba
|
|
|
|
- rebuilt with current libjpeg
|
|
|
|
|
|
|
|
* Sat Oct 25 2008 Aleph0 <aleph0@openmamba.org> 2.0.35-2mamba
|
|
|
|
- fixed permissions of the documentation files
|
|
|
|
- security update: CVE-2007-0455 (gd buffer overrun)
|
|
|
|
- prevent from an infinite loop when decoding bad GIF images
|
|
|
|
|
|
|
|
* Mon Jun 16 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.35-1mamba
|
|
|
|
- update to 2.0.35
|
|
|
|
|
|
|
|
* Mon Mar 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.34-1qilnx
|
|
|
|
- update to version 2.0.34 by autospec
|
|
|
|
|
|
|
|
* Thu Jun 29 2006 Davide Madrisan <davide.madrisan@qilinux.it> 2.0.33-3qilnx
|
|
|
|
- security update: CAN-2006-2906 (qibug:186)
|
|
|
|
|
|
|
|
* Wed Apr 13 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.0.33-2qilnx
|
|
|
|
- added gd-utils package
|
|
|
|
- fixed security issue QSA-2005-043 (CAN-2004-0941)
|
|
|
|
- added %%post and %%postun scripts
|
|
|
|
|
|
|
|
* Fri Nov 05 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.0.33-1qilnx
|
|
|
|
- update to version 2.0.33 by autospec
|
|
|
|
- also fix security issue QSA-2004-050 (CAN-2004-0990)
|
|
|
|
|
|
|
|
* Tue Jul 27 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.28-1qilnx
|
|
|
|
- new version build
|
|
|
|
|
2024-01-06 04:20:10 +01:00
|
|
|
* Thu Jul 01 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.26-2qilnx
|
2024-01-06 04:20:09 +01:00
|
|
|
- added *.so inclusion in devel package
|
|
|
|
|
|
|
|
* Tue Jun 29 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.26-1qilnx
|
|
|
|
- new version build
|
|
|
|
|
|
|
|
* Tue Dec 30 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.17-1qilnx
|
|
|
|
- new version rebuild
|
|
|
|
|
|
|
|
* Fri Jun 06 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.0.15-1qilnx
|
|
|
|
- creation of libgd package
|