gimp-hdr.spec revision 14049
10139N/A#
10139N/A# spec file for package gimp-hdr
10139N/A#
12153N/A# Copyright 2008 Sun Microsystems, Inc.
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# Owner: bewitche
10139N/A#
12285N/AName: gimp-hdrtools
10139N/ASummary: GIMP high dynamic range image plugin
10139N/AVersion: 0.1
10139N/ARelease: 1
13113N/ALicense: GPL
11260N/AGroup: System/GUI/GNOME
10139N/ASource: http://nifelheim.dyndns.org/~cocidius/files/gimp-hdrtools-%{version}.tar.bz2
10139N/AURL: http://nifelheim.dyndns.org/~cocidius/hdrtools/
10139N/A# date:2008-07-18 owner:bewitche type:branding
12586N/APatch1: gimp-hdr-01-compile.diff
10139N/A# date:2008-08-28 owner:fujiwara type:feature
12285N/APatch2: gimp-hdr-02-textdomain.diff
12773N/ABuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
12773N/A
12773N/A%description
13368N/A
10139N/A%prep
10737N/A%setup -q
10139N/A%patch1 -p1
10737N/A%patch2 -p1
11419N/A
10139N/A%build
10737N/A%ifos linux
11419N/Aif [ -x /usr/bin/getconf ]; then
11895N/A CPUS=`getconf _NPROCESSORS_ONLN`
10941N/Afi
10139N/A%else
10941N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
11055N/A%endif
11055N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10941N/A CPUS=1
10737N/Afi
11044N/A
11420N/Amake -j $CPUS
11044N/A
12513N/A%install
11420N/Amake DESTDIR=$RPM_BUILD_ROOT install
12162N/A%clean
12162N/Arm -rf $RPM_BUILD_ROOT
12162N/A
12513N/A%files
12506N/A%defattr (-, root, root)
12506N/A
12513N/A%changelog
12513N/A* Thu Aug 28 2008 - takao.fujiwara@sun.com
12570N/A- Added gimp-hdrtools-02-textdomain.diff to seprate the domain from gimp.
12570N/A
13368N/A* Mon Jul 21 2008 - damien.carbery@sun.com
13368N/A- Correct source URL.
10737N/A
10139N/A* Thu Jul 17 2008 - chris.wang@sun.com
10139N/A- Initial build.
10139N/A
10139N/A
10139N/A