base-specs/gimp-hdr.spec
author gman
Thu, 30 Sep 2010 21:37:28 +0000
branchgnome-2-30
changeset 20130 c7dfc176dcbd
parent 17864 337913e88a9d
permissions -rw-r--r--
2010-10-01 Glynn Foster <[email protected]> * specs/SUNWos-welcome.spec: Bump to 1.0.6

#
# spec file for package gimp-hdr
#
# Copyright 2008 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%define owner leon.sha
#

%define OSR 9342:0.x

Name:    gimp-hdrtools
Summary: GIMP high dynamic range image plugin
Version: 0.1
Release: 1
License: GPL
Group:   System/GUI/GNOME
Vendor:  Other
Source:  http://nifelheim.dyndns.org/~cocidius/files/gimp-hdrtools-%{version}.tar.bz2
URL:     http://nifelheim.dyndns.org/~cocidius/hdrtools/
# date:2008-07-18 owner:leon.sha type:branding
Patch1:       gimp-hdr-01-compile.diff
# date:2008-08-28 owner:fujiwara type:feature
Patch2:       gimp-hdr-02-textdomain.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description

%prep
%setup -q
%patch1 -p1
%patch2 -p1

%build
%ifos linux
if [ -x /usr/bin/getconf ]; then
  CPUS=`getconf _NPROCESSORS_ONLN`
fi
%else
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
  CPUS=1
fi

make -j $CPUS

%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, root)

%changelog
* Thu Aug 13 2009 - [email protected]
- Update vendor information.

* Fri Jun 26 2009 - [email protected]
- Change spec and patch owner to leon.sha
* Thu Aug 28 2008 - [email protected]
- Added gimp-hdrtools-02-textdomain.diff to seprate the domain from gimp.

* Mon Jul 21 2008 - [email protected]
- Correct source URL.

* Thu Jul 17 2008 - [email protected]
- Initial build.