20779N/A#
20779N/A# spec file for package gdk-pixbuf
20779N/A#
20903N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
20779N/A# This file and all modifications and additions to the pristine
20779N/A# package are under the same license as the package itself.
20779N/A#
20779N/A%define owner chrisk
20779N/A#
20779N/A
20779N/A#%define none:none
20779N/A
20779N/AName: gdk-pixbuf
20779N/ALicense: Unknown
20779N/AGroup: System/Libraries
22050N/AVersion: 2.26.3
20779N/ARelease: 1
20779N/ADistribution: Java Desktop System
20779N/AVendor: Gnome Community
20779N/ASummary: Library
20903N/ASource: ftp://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.26/gdk-pixbuf-%{version}.tar.xz
20805N/APatch1: gdk-pixbuf-01-dlopen-medialib.diff
20779N/AURL: http://cairographics.org
20779N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
20779N/ADocdir: %{_defaultdocdir}/doc
20779N/AAutoreqprov: on
20779N/APrereq: /sbin/ldconfig
20779N/A
20779N/A%description
20779N/Agdk-pixbuf
20779N/A
20779N/A%prep
20779N/A%setup -q
20805N/A%patch1 -p1
20779N/A
20779N/A%build
20779N/A%ifos linux
20779N/Aif [ -x /usr/bin/getconf ]; then
20779N/A CPUS=`getconf _NPROCESSORS_ONLN`
20779N/Afi
20779N/A%else
20779N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
20779N/A%endif
20779N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
20779N/A CPUS=1
20779N/Afi
20779N/A
20779N/Aexport CFLAGS="%optflags"
20779N/A./configure --prefix=%{_prefix} \
20779N/A --mandir=%{_mandir} \
20779N/A --sysconfdir=%{_sysconfdir} \
20779N/A --libdir=%{_libdir} \
20779N/A --bindir=%{_bindir} \
20779N/A %{gtk_doc_option}
20779N/A
20779N/Agmake
20779N/A
20779N/A%install
20779N/Agmake DESTDIR=$RPM_BUILD_ROOT install
20779N/A
20779N/A%clean
20779N/Arm -rf $RPM_BUILD_ROOT
20779N/A
20779N/A%files
20779N/A%defattr(-, root, root)
20779N/A
20779N/A%changelog
22050N/A* Sat Sep 15 2012 - brian.cameron@oracle.com
22050N/A- Bump to 2.26.3.
20903N/A* Tue May 01 2012 - brian.cameron@oracle.com
20903N/A- Bump to 2.26.1.
20831N/A* Thu Sep 08 2011 - brian.cameron@oracle.com
20831N/A- Bump to 2.24.0.
20805N/A* Thu Jul 21 2011 - brian.cameron@oracle.com
20805N/A- Added patch gdk-pixbuf-01-dlopen-medialib.diff.
20779N/A* Tue Jul 05 2011 - brian.cameron@oracle.com
20805N/A- Created with 2.23.5.