source: projects/specs/trunk/g/gdk-pixbuf/gdk-pixbuf-vl.spec @ 9260

Revision 9260, 6.9 KB checked in by Takemikaduchi, 9 years ago (diff)

thunderbird: new upstream release
others: rebuild with libpng12 or update

Line 
1Summary:     The GdkPixBuf image handling library
2Summary(ja): GdkPixBuf - 画像を扱うライブラリ
3Name:        gdk-pixbuf
4Version:     0.22.0
5Release:     4%{?_dist_release}
6License:     LGPL
7Group:       System Environment/Libraries
8URL:         http://www.gnome.org/
9Source:      ftp://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/0.22/%{name}-%{version}.tar.bz2
10
11Patch0:      gdk-pixbuf-0.14.0-config.patch
12#Patch1:      gdk-pixbuf-0.11.0-passall.patch
13Patch2:      gdk-pixbuf-0.22.0-loaders.patch
14Patch3:      gdk-pixbuf-0.22.0-CAN-2004-0753.patch
15
16# Quote in configure.in appropriately for recent libtool
17Patch4:      gdk-pixbuf-0.22.0-acquote.patch
18# Patches backported from GTK+ HEAD
19Patch5:      gdk-pixbuf-0.22.0-bmp-colormap.patch
20Patch6:      gdk-pixbuf-0.22.0-ico-width.patch
21Patch7:      gdk-pixbuf-underquoted.patch
22Patch8:      gdk-pixbuf-0.22.0-libpng.patch
23
24BuildRoot:   %{_tmppath}/%{name}-%{version}-root
25BuildRequires: libpng-devel >= 1.0.3
26BuildRequires: libjpeg-devel
27BuildRequires: libtiff-devel >= 3.4
28BuildRequires: zlib-devel >= 1.1.3
29BuildRequires: glib-devel >= 1.2.0
30BuildRequires: gtk+-devel
31BuildRequires: libXt-devel
32#BuildRequires: gnome-libs-devel >= 1.4.2-0vl7
33
34Requires:    libpng >= 1.0.3
35Requires:    zlib >= 1.1.3
36Requires:    libtiff >= 3.4
37Requires:    glib >= 1.2.0
38#Requires:   gnome-libs >= 1.4.2-0vl7
39
40Packager: inagaki
41
42%description
43The 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
52In addition, this module also provides a little libgnomecanvaspixbuf
53library, which contains a GNOME Canvas item to display pixbufs with
54full affine transformations.
55
56
57%package devel
58Summary:     Libraries and include files for developing GdkPixBuf applications.
59Summary(ja): GdkPixBuf を使うアプリケーション開発に必要なライブラリ/ファイル
60Group:       Development/Libraries
61Requires:    %{name} = %{version}-%{release}
62Requires:    libpng-devel >= 1.0.3
63Requires:    libjpeg-devel
64Requires:    libtiff-devel >= 3.4
65Requires:    zlib-devel >= 1.1.3
66Requires:    gtk+-devel
67
68%description devel
69Libraries 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
83%patch8 -p1 -b .libpng
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
95make
96
97%install
98[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
99##%%ifarch x86_64
100# if no gdk-pixbuf, error occurred (/usr/bin/ld: cannot find -lgdk_pixbuf)
101# fix me. thanks!
102cp libtool libtool.old
103sed "s|CC -shared|& -L./.libs|g" libtool.old > libtool
104rm libtool.old
105##%%endif
106%makeinstall libexecdir=$RPM_BUILD_ROOT%{_libdir}/%{name}/loaders
107
108rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
109rm -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
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
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
Note: See TracBrowser for help on using the repository browser.