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