- 2.0.33 #150717
- apply the patch from Jose Pedro Oliveira - Added the release macro to the subpackages requirements versioning - Handled the gdlib-config movement to gd-devel in a differment manner - Added fontconfig-devel to the build requirements - Added xorg-x11-devel to the build requirements (Xpm) - Removed explicit /sbin/ldconfig requirement (gd rpm) - Removed explicit perl requirement (gd-progs rpm) - Added several missing documentation files (including the license file) - Replaced %%makeinstall by make install DESTDIR=...
This commit is contained in:
parent
e469cded83
commit
79f43fb5ed
@ -1,2 +1,3 @@
|
|||||||
gd-2.0.28.tar.gz
|
gd-2.0.28.tar.gz
|
||||||
gd-2.0.32.tar.gz
|
gd-2.0.32.tar.gz
|
||||||
|
gd-2.0.33.tar.gz
|
||||||
|
79
gd.spec
79
gd.spec
@ -1,15 +1,14 @@
|
|||||||
Summary: A graphics library for quick creation of PNG or JPEG images.
|
Summary: A graphics library for quick creation of PNG or JPEG images
|
||||||
Name: gd
|
Name: gd
|
||||||
Version: 2.0.32
|
Version: 2.0.33
|
||||||
Release: 3
|
Release: 1
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
License: BSD-style
|
||||||
URL: http://www.boutell.com/gd/
|
URL: http://www.boutell.com/gd/
|
||||||
Source0: http://www.boutell.com/gd/http/%{name}-%{version}.tar.gz
|
Source0: http://www.boutell.com/gd/http/%{name}-%{version}.tar.gz
|
||||||
License: BSD-style
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Group: System Environment/Libraries
|
BuildRequires: freetype-devel, fontconfig-devel, xorg-x11-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRequires: libjpeg-devel, libpng-devel, zlib-devel
|
||||||
Prereq: /sbin/ldconfig
|
|
||||||
BuildRequires: freetype-devel, libjpeg-devel, libpng-devel, zlib-devel
|
|
||||||
%define shlibver %(echo %{version} | cut -f-2 -d.)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The gd graphics library allows your code to quickly draw images
|
The gd graphics library allows your code to quickly draw images
|
||||||
@ -19,9 +18,10 @@ JPEG file. This is particularly useful in Web applications, where PNG
|
|||||||
and JPEG are two of the formats accepted for inline images by most
|
and JPEG are two of the formats accepted for inline images by most
|
||||||
browsers. Note that gd is not a paint program.
|
browsers. Note that gd is not a paint program.
|
||||||
|
|
||||||
|
|
||||||
%package progs
|
%package progs
|
||||||
Requires: gd = %{version}, perl
|
Requires: gd = %{version}-%{release}
|
||||||
Summary: Utility programs that use libgd.
|
Summary: Utility programs that use libgd
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
|
|
||||||
%description progs
|
%description progs
|
||||||
@ -29,62 +29,69 @@ The gd-progs package includes utility programs supplied with gd, a
|
|||||||
graphics library for creating PNG and JPEG images. If you install
|
graphics library for creating PNG and JPEG images. If you install
|
||||||
these, you must also install gd.
|
these, you must also install gd.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Requires: gd = %{version}
|
Requires: gd = %{version}-%{release}
|
||||||
Summary: The development libraries and header files for gd.
|
Summary: The development libraries and header files for gd
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The gd-devel package contains the development libraries and header
|
The gd-devel package contains the development libraries and header
|
||||||
files for gd, a graphics library for creating PNG and JPEG graphics.
|
files for gd, a graphics library for creating PNG and JPEG graphics.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-rpath
|
%configure --disable-rpath
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
%makeinstall
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
rm -rf $RPM_BUILD_ROOT/%{_libdir}/libgd.la
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libgd.la
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc index.html
|
%doc COPYING README-JPEG.TXT index.html entities.html
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files progs
|
%files progs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/annotate
|
%{_bindir}/*
|
||||||
%{_bindir}/bdftogd
|
%exclude %{_bindir}/gdlib-config
|
||||||
%{_bindir}/gd2copypal
|
|
||||||
%{_bindir}/gd2togif
|
|
||||||
%{_bindir}/gd2topng
|
|
||||||
%{_bindir}/gdcmpgif
|
|
||||||
%{_bindir}/gdparttopng
|
|
||||||
%{_bindir}/gdtopng
|
|
||||||
%{_bindir}/giftogd2
|
|
||||||
%{_bindir}/pngtogd
|
|
||||||
%{_bindir}/pngtogd2
|
|
||||||
%{_bindir}/webpng
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/gdlib-config
|
%{_bindir}/gdlib-config
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2005 Than Ngo <than@redhat.com> 2.0.33-1
|
||||||
|
- 2.0.33 #150717
|
||||||
|
- apply the patch from Jose Pedro Oliveira
|
||||||
|
- Added the release macro to the subpackages requirements versioning
|
||||||
|
- Handled the gdlib-config movement to gd-devel in a differment manner
|
||||||
|
- Added fontconfig-devel to the build requirements
|
||||||
|
- Added xorg-x11-devel to the build requirements (Xpm)
|
||||||
|
- Removed explicit /sbin/ldconfig requirement (gd rpm)
|
||||||
|
- Removed explicit perl requirement (gd-progs rpm)
|
||||||
|
- Added several missing documentation files (including the license file)
|
||||||
|
- Replaced %%makeinstall by make install DESTDIR=...
|
||||||
|
|
||||||
* Thu Mar 10 2005 Than Ngo <than@redhat.com> 2.0.32-3
|
* Thu Mar 10 2005 Than Ngo <than@redhat.com> 2.0.32-3
|
||||||
- move gdlib-config in devel
|
- move gdlib-config in devel
|
||||||
|
|
||||||
@ -103,8 +110,8 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/libgd.la
|
|||||||
* Fri Jul 02 2004 Phil Knirsch <pknirsch@redhat.com> 2.0.27-1
|
* Fri Jul 02 2004 Phil Knirsch <pknirsch@redhat.com> 2.0.27-1
|
||||||
- Updated to 2.0.27 due to:
|
- Updated to 2.0.27 due to:
|
||||||
o Potential memory overruns in gdImageFilledPolygon. Thanks to John Ellson.
|
o Potential memory overruns in gdImageFilledPolygon. Thanks to John Ellson.
|
||||||
o The sign of Y-axis values returned in the bounding box by gdImageStringFT was
|
o The sign of Y-axis values returned in the bounding box by gdImageStringFT
|
||||||
incorrect. Thanks to John Ellson and Riccardo Cohen.
|
was incorrect. Thanks to John Ellson and Riccardo Cohen.
|
||||||
|
|
||||||
* Wed Jun 30 2004 Phil Knirsch <pknirsch@redhat.com> 2.0.26-1
|
* Wed Jun 30 2004 Phil Knirsch <pknirsch@redhat.com> 2.0.26-1
|
||||||
- Update to 2.0.26
|
- Update to 2.0.26
|
||||||
|
Loading…
Reference in New Issue
Block a user