1
# Note that this is NOT a relocatable package
2
%define name gdk-pixbuf
5
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
9
Summary: The GdkPixBuf image handling library
13
Group: System Environment/Libraries
14
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{ver}.tar.gz
15
URL: http://www.gnome.org/
16
BuildRoot: /var/tmp/%{name}-root
17
#Requires: gtk+ >= 1.2
21
The GdkPixBuf library provides a number of features, including :
23
- GdkPixbuf structure for representing images.
24
- Image loading facilities.
25
- Rendering of a GdkPixBuf into various formats:
26
drawables (windows, pixmaps), GdkRGB buffers.
27
- Fast scaling and compositing of pixbufs.
28
- Simple animation loading (ie. animated gifs)
30
In addition, this module also provides a little libgnomecanvaspixbuf
31
library, which contains a GNOME Canvas item to display pixbufs with
32
full affine transformations.
35
Summary: Libraries and include files for developing GdkPixBuf applications.
36
Group: Development/Libraries
37
#Requires: %name = %{PACKAGE_VERSION}
38
#Obsoletes: %name-devel
41
Libraries and include files for developing GdkPixBuf applications.
44
* Sat Jan 22 2000 Ross Golder <rossigee@bigfoot.com>
46
- Borrowed from gnome-libs to integrate into gdk-pixbuf source tree
53
MYARCH_FLAGS="--host=alpha-redhat-linux"
55
# Needed for snapshot releases.
57
MYCFLAGS="$RPM_OPT_FLAGS"
59
if [ ! -f configure ]; then
60
CFLAGS="$MYCFLAGS" ./autogen.sh $MYARCH_FLAGS --prefix=%prefix --localstatedir=/var/lib --sysconfdir=/etc
62
CFLAGS="$MYCFLAGS" ./configure $MYARCH_FLAGS --prefix=%prefix --localstatedir=/var/lib --sysconfdir=/etc
65
if [ "$SMP" != "" ]; then
66
make -j$SMP "MAKE=make -j$SMP"
72
rm -rf $RPM_BUILD_ROOT
74
make sysconfdir=$RPM_BUILD_ROOT/etc prefix=$RPM_BUILD_ROOT%{prefix} install
77
rm -rf $RPM_BUILD_ROOT
80
if ! grep %{prefix}/lib /etc/ld.so.conf > /dev/null ; then
81
echo "%{prefix}/lib" >> /etc/ld.so.conf
86
%postun -p /sbin/ldconfig
89
%defattr(-, root, root)
91
%doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README TODO doc/*.txt html
92
%{prefix}/lib/lib*.so.*
93
%{prefix}/lib/%{name}/loaders/lib*.so*
96
%defattr(-, root, root)
98
#%doc HACKING MAINTAINERS
100
%{prefix}/lib/lib*.so
101
%{prefix}/lib/%{name}/loaders/lib*.a
105
%{prefix}/share/aclocal/*
106
%{prefix}/share/gnome/html/*