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