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