Hello community,
here is the log from the commit of package gd
checked in at Sat Dec 22 19:32:57 CET 2007.
--------
--- gd/gd.changes 2007-07-09 09:16:32.000000000 +0200
+++ /mounts/work_src_done/STABLE/gd/gd.changes 2007-12-20 04:22:36.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Dec 20 04:22:14 CET 2007 - crrodriguez@suse.de
+
+- remove static libraries and "la" files
+- devel package dependency cleanup
+
+-------------------------------------------------------------------
New:
----
gd-2.0.35-config.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gd.spec ++++++
--- /var/tmp/diff_new_pack.ne4053/_old 2007-12-22 19:32:43.000000000 +0100
+++ /var/tmp/diff_new_pack.ne4053/_new 2007-12-22 19:32:43.000000000 +0100
@@ -14,11 +14,12 @@
BuildRequires: fontconfig-devel freetype2-devel libjpeg-devel libpng-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libXpm-devel
License: X11/MIT
Group: System/Libraries
+Provides: gdlib
Obsoletes: gdlib
-Autoreqprov: on
+AutoReqProv: on
Version: 2.0.35
-Release: 1
-URL: http://www.libgd.org/
+Release: 38
+Url: http://www.libgd.org/
Summary: A Drawing Library for Programs That Use PNG and JPEG Output
Source: gd-%{version}.tar.bz2
Patch0: gd-%{version}-warn.patch
@@ -27,6 +28,7 @@
Patch3: gd-aliasing.patch
Patch4: gd-security.patch
Patch6: gd-fontpath.patch
+Patch7: gd-2.0.35-config.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -42,11 +44,10 @@
Thomas Boutell
%package devel
-Requires: %{name} = %{version} libexpat-devel fontconfig-devel freetype2-devel glibc-devel libjpeg-devel libpng-devel xorg-x11-libXpm-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel
+Requires: %{name} = %{version} glibc-devel
License: X11/MIT
Summary: Drawing Library for Programs with PNG and JPEG Output
Group: Development/Libraries/C and C++
-Autoreqprov: on
%description devel
gd allows code to quickly draw images complete with lines, arcs, text,
@@ -68,19 +69,18 @@
%patch3
%patch4
%patch6
+%patch7
%build
-%{suse_update_config -f}
autoreconf -fi
-CFLAGS="$RPM_OPT_FLAGS -fstack-protector -I%{_includedir}/freetype2" \
-CPPFLAGS="-I%{_includedir}/freetype2" \
- ./configure \
- --prefix=%{_prefix} \
- --libdir=%{_libdir} \
+export CFLAGS="$RPM_OPT_FLAGS"
+export CPPFLAGS="%{optflags}"
+%configure \
--with-freetype \
--with-jpeg \
--with-png \
--with-xpm \
+ --disable-static \
--with-pic
make
#run test programs
@@ -98,17 +98,14 @@
#done
%install
-rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-%run_ldconfig
+%post -p /sbin/ldconfig
-%postun
-%run_ldconfig
+%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
@@ -129,13 +126,15 @@
%files devel
%defattr(-,root,root)
-/usr/bin/gdlib-config
+%{_bindir}/gdlib-config
%{_includedir}/*
%{_libdir}/*.so
-%{_libdir}/*.a
-%{_libdir}/*.la
+%exclude %{_libdir}/*.la
%changelog
+* Thu Dec 20 2007 - crrodriguez@suse.de
+- remove static libraries and "la" files
+- devel package dependency cleanup
* Mon Jul 09 2007 - anosek@suse.cz
- updated to version 2.0.35
* Fix valgrind error in gdImageFillTiled (Nuno Lopes)
++++++ gd-2.0.35-config.patch ++++++
Index: config/gdlib-config.in
===================================================================
--- config/gdlib-config.in.orig 2006-10-11 11:46:22.000000000 +0200
+++ config/gdlib-config.in 2007-12-20 03:59:07.000000000 +0100
@@ -71,7 +71,7 @@ while test $# -gt 0; do
echo @LDFLAGS@
;;
--libs)
- echo @LIBS@ @LIBICONV@
+ echo -l@GDLIBNAME@
;;
--cflags|--includes)
echo -I@includedir@
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org