[521] | 1 | Summary: The GdkPixBuf image handling library |
---|
| 2 | Summary(ja): GdkPixBuf - 画像を扱うライブラリ |
---|
| 3 | Name: gdk-pixbuf |
---|
| 4 | Version: 0.22.0 |
---|
[9260] | 5 | Release: 4%{?_dist_release} |
---|
[521] | 6 | License: LGPL |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | URL: http://www.gnome.org/ |
---|
| 9 | Source: ftp://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/0.22/%{name}-%{version}.tar.bz2 |
---|
| 10 | |
---|
| 11 | Patch0: gdk-pixbuf-0.14.0-config.patch |
---|
| 12 | #Patch1: gdk-pixbuf-0.11.0-passall.patch |
---|
| 13 | Patch2: gdk-pixbuf-0.22.0-loaders.patch |
---|
| 14 | Patch3: gdk-pixbuf-0.22.0-CAN-2004-0753.patch |
---|
| 15 | |
---|
| 16 | # Quote in configure.in appropriately for recent libtool |
---|
| 17 | Patch4: gdk-pixbuf-0.22.0-acquote.patch |
---|
| 18 | # Patches backported from GTK+ HEAD |
---|
| 19 | Patch5: gdk-pixbuf-0.22.0-bmp-colormap.patch |
---|
| 20 | Patch6: gdk-pixbuf-0.22.0-ico-width.patch |
---|
| 21 | Patch7: gdk-pixbuf-underquoted.patch |
---|
[9260] | 22 | Patch8: gdk-pixbuf-0.22.0-libpng.patch |
---|
[521] | 23 | |
---|
| 24 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 25 | BuildRequires: libpng-devel >= 1.0.3 |
---|
| 26 | BuildRequires: libjpeg-devel |
---|
| 27 | BuildRequires: libtiff-devel >= 3.4 |
---|
| 28 | BuildRequires: zlib-devel >= 1.1.3 |
---|
| 29 | BuildRequires: glib-devel >= 1.2.0 |
---|
| 30 | BuildRequires: gtk+-devel |
---|
[9260] | 31 | BuildRequires: libXt-devel |
---|
[521] | 32 | #BuildRequires: gnome-libs-devel >= 1.4.2-0vl7 |
---|
| 33 | |
---|
| 34 | Requires: libpng >= 1.0.3 |
---|
| 35 | Requires: zlib >= 1.1.3 |
---|
| 36 | Requires: libtiff >= 3.4 |
---|
| 37 | Requires: glib >= 1.2.0 |
---|
| 38 | #Requires: gnome-libs >= 1.4.2-0vl7 |
---|
| 39 | |
---|
| 40 | Packager: inagaki |
---|
| 41 | |
---|
| 42 | %description |
---|
| 43 | The GdkPixBuf library provides a number of features, including : |
---|
| 44 | |
---|
| 45 | - GdkPixbuf structure for representing images. |
---|
| 46 | - Image loading facilities. |
---|
| 47 | - Rendering of a GdkPixBuf into various formats: |
---|
| 48 | drawables (windows, pixmaps), GdkRGB buffers. |
---|
| 49 | - Fast scaling and compositing of pixbufs. |
---|
| 50 | - Simple animation loading (ie. animated gifs) |
---|
| 51 | |
---|
| 52 | In addition, this module also provides a little libgnomecanvaspixbuf |
---|
| 53 | library, which contains a GNOME Canvas item to display pixbufs with |
---|
| 54 | full affine transformations. |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %package devel |
---|
| 58 | Summary: Libraries and include files for developing GdkPixBuf applications. |
---|
| 59 | Summary(ja): GdkPixBuf を使うアプリケーション開発に必要なライブラリ/ファイル |
---|
| 60 | Group: Development/Libraries |
---|
| 61 | Requires: %{name} = %{version}-%{release} |
---|
| 62 | Requires: libpng-devel >= 1.0.3 |
---|
| 63 | Requires: libjpeg-devel |
---|
| 64 | Requires: libtiff-devel >= 3.4 |
---|
| 65 | Requires: zlib-devel >= 1.1.3 |
---|
| 66 | Requires: gtk+-devel |
---|
| 67 | |
---|
| 68 | %description devel |
---|
| 69 | Libraries and include files for developing GdkPixBuf applications. |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %prep |
---|
| 73 | %setup -q |
---|
| 74 | %patch0 -p1 -b .config |
---|
| 75 | # %patch1 -p1 -b .passall |
---|
| 76 | %patch2 -p1 -b .can-2004-0782_0783_0788 |
---|
| 77 | %patch3 -p0 -b .can-2004-0753 |
---|
| 78 | |
---|
| 79 | %patch4 -p1 -b .acquote |
---|
| 80 | %patch5 -p1 -b .bmp-colormap |
---|
| 81 | %patch6 -p1 -b .ico-width |
---|
| 82 | %patch7 -p1 -b .underquoted |
---|
[9260] | 83 | %patch8 -p1 -b .libpng |
---|
[521] | 84 | |
---|
| 85 | %build |
---|
| 86 | ## Matt says we don't need the libtoolize, and it breaks things, |
---|
| 87 | ## so it's out. |
---|
| 88 | ## %define __libtoolize /bin/true |
---|
| 89 | ## |
---|
| 90 | ## for i in config.guess config.sub ; do |
---|
| 91 | ## test -f /usr/share/libtool/$i && cp /usr/share/libtool/$i . |
---|
| 92 | ## done |
---|
| 93 | |
---|
| 94 | %configure --libexecdir=%{_libdir}/%{name}/loaders --disable-static --disable-gtk-doc |
---|
| 95 | make |
---|
| 96 | |
---|
| 97 | %install |
---|
| 98 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
[9260] | 99 | ##%%ifarch x86_64 |
---|
[521] | 100 | # if no gdk-pixbuf, error occurred (/usr/bin/ld: cannot find -lgdk_pixbuf) |
---|
| 101 | # fix me. thanks! |
---|
| 102 | cp libtool libtool.old |
---|
| 103 | sed "s|CC -shared|& -L./.libs|g" libtool.old > libtool |
---|
| 104 | rm libtool.old |
---|
[9260] | 105 | ##%%endif |
---|
[521] | 106 | %makeinstall libexecdir=$RPM_BUILD_ROOT%{_libdir}/%{name}/loaders |
---|
| 107 | |
---|
| 108 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
| 109 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/loaders/*.{la,a} |
---|
| 110 | |
---|
| 111 | %post -p /sbin/ldconfig |
---|
| 112 | |
---|
| 113 | %postun -p /sbin/ldconfig |
---|
| 114 | |
---|
| 115 | %clean |
---|
| 116 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 117 | |
---|
| 118 | %files |
---|
| 119 | %defattr(-, root, root) |
---|
| 120 | %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README TODO doc/*.txt doc/html |
---|
| 121 | %{_libdir}/lib*.so.* |
---|
| 122 | %{_libdir}/%{name}/loaders/*.so* |
---|
| 123 | |
---|
| 124 | %files devel |
---|
| 125 | %defattr(-, root, root) |
---|
| 126 | %{_bindir}/* |
---|
| 127 | %{_libdir}/lib*.so |
---|
| 128 | #{_libdir}/%{name}/loaders/*.a |
---|
| 129 | #{_libdir}/%{name}/loaders/*.la |
---|
| 130 | #{_libdir}/*.a |
---|
| 131 | #{_libdir}/*.la |
---|
| 132 | %{_libdir}/*.sh |
---|
| 133 | %{_includedir}/* |
---|
| 134 | %{_datadir}/aclocal/* |
---|
| 135 | %{_datadir}/gnome/html/* |
---|
| 136 | |
---|
| 137 | |
---|
| 138 | %changelog |
---|
[9260] | 139 | * Wed Jan 14 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.0-4 |
---|
| 140 | - rebuild with libpng-1.6.12 |
---|
| 141 | - add Patch8 (gdk-pixbuf-0.22.0-libpng.patch) |
---|
| 142 | |
---|
| 143 | * Sun Mar 11 2012 KATO Masashi <mkato@par.odn.ne.jp> 0.22.0-3 |
---|
| 144 | - added BR: libXt-devel |
---|
| 145 | - removed "%if x86_64"(for problem of "can't find '-lgdk_pixbuf'" in i686-arch.) |
---|
| 146 | |
---|
[521] | 147 | * Sat Jun 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.22.0-2 |
---|
| 148 | - spec in UTF-8 |
---|
| 149 | - removed lib*.a files from devel package |
---|
| 150 | |
---|
| 151 | Tue May 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.22.0-1 |
---|
| 152 | - applied new versioning policy |
---|
| 153 | - removed lib*.la files from devel package |
---|
| 154 | |
---|
| 155 | * Sun May 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.22.0-0vl9 |
---|
| 156 | - rebuilt with gnome-libs-1.4.2-0vl7 |
---|
| 157 | - BuildPreReq: gnome-libs-devel >= 1.4.2-0vl7 |
---|
| 158 | |
---|
| 159 | * Sun May 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.22.0-0vl8 |
---|
| 160 | - rebuilt with new toolchain |
---|
| 161 | - added Patch4-7 from Fedora development |
---|
| 162 | - remove BuildPreReq: gnome-libs-devel >= 1.4.2-0vl5 |
---|
| 163 | |
---|
| 164 | * Thu Feb 16 2006 Shu KONNO <owa@bg.wakwak.com> 0.22.0-0vl6.2 |
---|
| 165 | - dissabled find_lang %%{name} macros |
---|
| 166 | - if x86_64, edit libtool currently because can't find '-lgdk_pixbuf' first |
---|
| 167 | |
---|
| 168 | * Thu Oct 21 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.22.0-0vl6 |
---|
| 169 | - BuildPreReq: gnome-libs-devel >= 1.4.2-0vl5 |
---|
| 170 | |
---|
| 171 | * Mon Oct 11 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.22.0-0vl5 |
---|
| 172 | - rebuilt with db4-4.2.25 |
---|
| 173 | - disable-gtk-doc |
---|
| 174 | |
---|
| 175 | * Sun Oct 03 2004 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.22.0-0vl4 |
---|
| 176 | - add patch2 for fix CAN-2004-0782, CAN-2004-0783, CAN-2004-0788 |
---|
| 177 | - add patch3 for fix CAN-2004-0753 |
---|
| 178 | |
---|
| 179 | * Sat Apr 24 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.22.0-0vl3 |
---|
| 180 | - rebuild for VineSeed |
---|
| 181 | - fixed BuildPrReq: db4-devel |
---|
| 182 | - added Requires: db4 |
---|
| 183 | |
---|
| 184 | * Thu Mar 18 2004 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.22.0-0vl2 |
---|
| 185 | - fix SOURCE tag URL |
---|
| 186 | |
---|
| 187 | * Sun Mar 14 2004 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.22.0-0vl1 |
---|
| 188 | - new upstream release |
---|
| 189 | - fix CAN-2004-0111 |
---|
| 190 | |
---|
| 191 | * Fri Oct 25 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.21.0-0vl1 |
---|
| 192 | - new upstream release |
---|
| 193 | - add BuildRequires and Requires |
---|
| 194 | |
---|
| 195 | * Thu Jan 24 2002 Akira TAGOH <tagoh@gnome.gr.jp> 0.16.0-0vl1 |
---|
| 196 | - New upstream release. |
---|
| 197 | |
---|
| 198 | * Fri Dec 14 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.14.0-0vl1 |
---|
| 199 | - New upstream release. |
---|
| 200 | - Revert libtoolize stuff. |
---|
| 201 | |
---|
| 202 | * Tue Jul 17 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org> |
---|
| 203 | - 0.11.0-0vl4 |
---|
| 204 | - fixed again not to libtoolize, as Rawhide's 0.11.0-3 (and up) does, |
---|
| 205 | plus fixed one mistake in the spec file since 0.11.0-0vl2 |
---|
| 206 | - (FIXME: but libtoolize must be enabled in the future...) |
---|
| 207 | |
---|
| 208 | * Mon Jul 16 2001 <sagami@vinelinux.org> |
---|
| 209 | - 0.11.0-0vl3: made a fix at %%build to quit disabling libtoolize |
---|
| 210 | |
---|
| 211 | * Sat Jul 14 2001 <sagami@vinelinux.org> |
---|
| 212 | - 0.11.0-0vl2: minor spec fixes(%%doc, post script, PreReq) |
---|
| 213 | - disable libtoolize |
---|
| 214 | |
---|
| 215 | * Tue May 8 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.11.0-0vl1 |
---|
| 216 | - New upstream release. |
---|
| 217 | |
---|
| 218 | * Tue Mar 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.10.1-0vl1 |
---|
| 219 | - New upstream release. |
---|
| 220 | - Use rpmmacros. |
---|
| 221 | - Added relative execute for config. |
---|
| 222 | |
---|
| 223 | * Sat Jan 22 2000 Ross Golder <rossigee@bigfoot.com> |
---|
| 224 | |
---|
| 225 | - Borrowed from gnome-libs to integrate into gdk-pixbuf source tree |
---|
| 226 | |
---|