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