12856
|
1 |
#
|
|
2 |
# spec file for package gimp-hdr
|
|
3 |
#
|
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner leon.sha
|
12856
|
9 |
#
|
16427
|
10 |
|
|
11 |
%define OSR 9342:0.x
|
|
12 |
|
12869
|
13 |
Name: gimp-hdrtools
|
12856
|
14 |
Summary: GIMP high dynamic range image plugin
|
|
15 |
Version: 0.1
|
|
16 |
Release: 1
|
12869
|
17 |
License: GPL
|
12856
|
18 |
Group: System/GUI/GNOME
|
17864
|
19 |
Vendor: Other
|
12869
|
20 |
Source: http://nifelheim.dyndns.org/~cocidius/files/gimp-hdrtools-%{version}.tar.bz2
|
12856
|
21 |
URL: http://nifelheim.dyndns.org/~cocidius/hdrtools/
|
15963
|
22 |
# date:2008-07-18 owner:leon.sha type:branding
|
12856
|
23 |
Patch1: gimp-hdr-01-compile.diff
|
13307
|
24 |
# date:2008-08-28 owner:fujiwara type:feature
|
|
25 |
Patch2: gimp-hdr-02-textdomain.diff
|
12869
|
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
27 |
|
12856
|
28 |
%description
|
|
29 |
|
|
30 |
%prep
|
|
31 |
%setup -q
|
|
32 |
%patch1 -p1
|
13307
|
33 |
%patch2 -p1
|
12856
|
34 |
|
|
35 |
%build
|
|
36 |
%ifos linux
|
|
37 |
if [ -x /usr/bin/getconf ]; then
|
|
38 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
39 |
fi
|
|
40 |
%else
|
|
41 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
42 |
%endif
|
|
43 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
44 |
CPUS=1
|
|
45 |
fi
|
|
46 |
|
|
47 |
make -j $CPUS
|
|
48 |
|
|
49 |
%install
|
|
50 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
51 |
%clean
|
|
52 |
rm -rf $RPM_BUILD_ROOT
|
|
53 |
|
|
54 |
%files
|
|
55 |
%defattr (-, root, root)
|
|
56 |
|
|
57 |
%changelog
|
16267
|
58 |
* Thu Aug 13 2009 - [email protected]
|
|
59 |
- Update vendor information.
|
|
60 |
|
15963
|
61 |
* Fri Jun 26 2009 - [email protected]
|
|
62 |
- Change spec and patch owner to leon.sha
|
13307
|
63 |
* Thu Aug 28 2008 - [email protected]
|
|
64 |
- Added gimp-hdrtools-02-textdomain.diff to seprate the domain from gimp.
|
|
65 |
|
12869
|
66 |
* Mon Jul 21 2008 - [email protected]
|
|
67 |
- Correct source URL.
|
|
68 |
|
|
69 |
* Thu Jul 17 2008 - [email protected]
|
12856
|
70 |
- Initial build.
|
|
71 |
|
|
72 |
|