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