|
@@ -2,7 +2,7 @@ Summary: The GdkPixBuf image handling library
|
|
Summary(ja): GdkPixBuf - 画像を扱うライブラリ
|
|
Summary(ja): GdkPixBuf - 画像を扱うライブラリ
|
|
Name: gdk-pixbuf
|
|
Name: gdk-pixbuf
|
|
Version: 0.22.0
|
|
Version: 0.22.0
|
|
-Release: 2%{?_dist_release}
|
|
+Release: 4%{?_dist_release}
|
|
License: LGPL
|
|
License: LGPL
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://www.gnome.org/
|
|
URL: http://www.gnome.org/
|
|
@@ -19,6 +19,7 @@ Patch4: gdk-pixbuf-0.22.0-acquote.patch
|
|
Patch5: gdk-pixbuf-0.22.0-bmp-colormap.patch
|
|
Patch5: gdk-pixbuf-0.22.0-bmp-colormap.patch
|
|
Patch6: gdk-pixbuf-0.22.0-ico-width.patch
|
|
Patch6: gdk-pixbuf-0.22.0-ico-width.patch
|
|
Patch7: gdk-pixbuf-underquoted.patch
|
|
Patch7: gdk-pixbuf-underquoted.patch
|
|
|
|
+Patch8: gdk-pixbuf-0.22.0-libpng.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: libpng-devel >= 1.0.3
|
|
BuildRequires: libpng-devel >= 1.0.3
|
|
@@ -27,6 +28,7 @@ BuildRequires: libtiff-devel >= 3.4
|
|
BuildRequires: zlib-devel >= 1.1.3
|
|
BuildRequires: zlib-devel >= 1.1.3
|
|
BuildRequires: glib-devel >= 1.2.0
|
|
BuildRequires: glib-devel >= 1.2.0
|
|
BuildRequires: gtk+-devel
|
|
BuildRequires: gtk+-devel
|
|
|
|
+BuildRequires: libXt-devel
|
|
#BuildRequires: gnome-libs-devel >= 1.4.2-0vl7
|
|
#BuildRequires: gnome-libs-devel >= 1.4.2-0vl7
|
|
|
|
|
|
Requires: libpng >= 1.0.3
|
|
Requires: libpng >= 1.0.3
|
|
@@ -78,6 +80,7 @@ Libraries and include files for developing GdkPixBuf applications.
|
|
%patch5 -p1 -b .bmp-colormap
|
|
%patch5 -p1 -b .bmp-colormap
|
|
%patch6 -p1 -b .ico-width
|
|
%patch6 -p1 -b .ico-width
|
|
%patch7 -p1 -b .underquoted
|
|
%patch7 -p1 -b .underquoted
|
|
|
|
+%patch8 -p1 -b .libpng
|
|
|
|
|
|
%build
|
|
%build
|
|
## Matt says we don't need the libtoolize, and it breaks things,
|
|
## Matt says we don't need the libtoolize, and it breaks things,
|
|
@@ -93,13 +96,13 @@ make
|
|
|
|
|
|
%install
|
|
%install
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
-%ifarch x86_64
|
|
+##%%ifarch x86_64
|
|
# if no gdk-pixbuf, error occurred (/usr/bin/ld: cannot find -lgdk_pixbuf)
|
|
# if no gdk-pixbuf, error occurred (/usr/bin/ld: cannot find -lgdk_pixbuf)
|
|
# fix me. thanks!
|
|
# fix me. thanks!
|
|
cp libtool libtool.old
|
|
cp libtool libtool.old
|
|
sed "s|CC -shared|& -L./.libs|g" libtool.old > libtool
|
|
sed "s|CC -shared|& -L./.libs|g" libtool.old > libtool
|
|
rm libtool.old
|
|
rm libtool.old
|
|
-%endif
|
|
+##%%endif
|
|
%makeinstall libexecdir=$RPM_BUILD_ROOT%{_libdir}/%{name}/loaders
|
|
%makeinstall libexecdir=$RPM_BUILD_ROOT%{_libdir}/%{name}/loaders
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
@@ -133,6 +136,14 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/loaders/*.{la,a}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Jan 14 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.0-4
|
|
|
|
+- rebuild with libpng-1.6.12
|
|
|
|
+- add Patch8 (gdk-pixbuf-0.22.0-libpng.patch)
|
|
|
|
+
|
|
|
|
+* Sun Mar 11 2012 KATO Masashi <mkato@par.odn.ne.jp> 0.22.0-3
|
|
|
|
+- added BR: libXt-devel
|
|
|
|
+- removed "%if x86_64"(for problem of "can't find '-lgdk_pixbuf'" in i686-arch.)
|
|
|
|
+
|
|
* Sat Jun 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.22.0-2
|
|
* Sat Jun 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.22.0-2
|
|
- spec in UTF-8
|
|
- spec in UTF-8
|
|
- removed lib*.a files from devel package
|
|
- removed lib*.a files from devel package
|