13598N/A#
13598N/A# spec file for package gimp-hdr
13598N/A#
13598N/A# Copyright 2008 Sun Microsystems, Inc.
13598N/A# This file and all modifications and additions to the pristine
13598N/A# package are under the same license as the package itself.
13598N/A#
17185N/A%define owner leon.sha
13598N/A#
17178N/A
17178N/A%define OSR 9342:0.x
17178N/A
13611N/AName: gimp-hdrtools
13598N/ASummary: GIMP high dynamic range image plugin
13598N/AVersion: 0.1
13598N/ARelease: 1
13611N/ALicense: GPL
13598N/AGroup: System/GUI/GNOME
18615N/AVendor: Other
13611N/ASource: http://nifelheim.dyndns.org/~cocidius/files/gimp-hdrtools-%{version}.tar.bz2
13598N/AURL: http://nifelheim.dyndns.org/~cocidius/hdrtools/
16714N/A# date:2008-07-18 owner:leon.sha type:branding
13598N/APatch1: gimp-hdr-01-compile.diff
14049N/A# date:2008-08-28 owner:fujiwara type:feature
14049N/APatch2: gimp-hdr-02-textdomain.diff
13611N/ABuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
13611N/A
13598N/A%description
13598N/A
13598N/A%prep
13598N/A%setup -q
13598N/A%patch1 -p1
14049N/A%patch2 -p1
13598N/A
13598N/A%build
13598N/A%ifos linux
13598N/Aif [ -x /usr/bin/getconf ]; then
13598N/A CPUS=`getconf _NPROCESSORS_ONLN`
13598N/Afi
13598N/A%else
13598N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
13598N/A%endif
13598N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
13598N/A CPUS=1
13598N/Afi
13598N/A
13598N/Amake -j $CPUS
13598N/A
13598N/A%install
13598N/Amake DESTDIR=$RPM_BUILD_ROOT install
13598N/A%clean
13598N/Arm -rf $RPM_BUILD_ROOT
13598N/A
13598N/A%files
13598N/A%defattr (-, root, root)
13598N/A
13598N/A%changelog
17018N/A* Thu Aug 13 2009 - leon.sha@sun.com
17018N/A- Update vendor information.
17018N/A
16714N/A* Fri Jun 26 2009 - chris.wang@sun.com
16714N/A- Change spec and patch owner to leon.sha
14049N/A* Thu Aug 28 2008 - takao.fujiwara@sun.com
14049N/A- Added gimp-hdrtools-02-textdomain.diff to seprate the domain from gimp.
14049N/A
13611N/A* Mon Jul 21 2008 - damien.carbery@sun.com
13611N/A- Correct source URL.
13611N/A
13611N/A* Thu Jul 17 2008 - chris.wang@sun.com
13598N/A- Initial build.
13598N/A
13598N/A