base-specs/gegl.spec
author Jon Tibble <meths@btinternet.com>
Thu, 15 Mar 2012 09:58:35 +0000
branchs11express-2010-11
changeset 22104 cde243cbe3f6
parent 18102 8c3b74be90d6
permissions -rw-r--r--
Added tag oi_151a_prestable2 for changeset 47b3f775541a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12840
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
     1
#
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
     2
# spec file for package gegl
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
     3
# Copyright 2010 Sun Microsystems, Inc.
15380
c78e72a72f75 2009-03-12 Chris Wang <[email protected]>
bewitche
parents: 15233
diff changeset
     4
# This file and all modifications and additions to the pristine
c78e72a72f75 2009-03-12 Chris Wang <[email protected]>
bewitche
parents: 15233
diff changeset
     5
# package are under the same license as the package itself.
12840
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
     6
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16426
diff changeset
     7
%define owner leon.sha
12840
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
     8
#
16426
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15963
diff changeset
     9
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15963
diff changeset
    10
%define OSR 9549:0.0.18
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15963
diff changeset
    11
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    12
Name:         gegl
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
    13
License:      Library is LGPLv3, binaries are GPLv3
17881
1eaaaad29d9a 2010-04-20 Christian Kelly <[email protected]>
chrisk
parents: 17864
diff changeset
    14
Vendor:       http://gegl.org
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    15
Group:        Applications/Multimedia
18100
dd07d1496efc 2010-06-08 Brian Cameron <[email protected]>
yippi
parents: 18084
diff changeset
    16
Version:      0.1.2
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    17
Release:      1
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    18
Distribution: Java Desktop System
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    19
Vendor:       Sun Microsystems, Inc.
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    20
Summary:      GEGL (Generic Graphics Library) is a graph based image processing framework.
16440
1e4d9c9e8a65 2009-09-01 Leon Sha <[email protected]>
leon.sha
parents: 16434
diff changeset
    21
Source:	      ftp://ftp.gimp.org/pub/gegl/0.1/%{name}-%{version}.tar.bz2
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    22
URL:          http://www.gegl.org/
18067
4d1fde1de5a6 Add patch comments.
yippi
parents: 18066
diff changeset
    23
#date:2009-06-03 owner:leon.sha type:branding
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    24
Patch1:	      gegl-01-build.diff
15963
de8e59307496 2009-06-26 Chris Wang <chris.wang.sun.com>
bewitche
parents: 15927
diff changeset
    25
#date:2009-02-24 owner:leon.sha type:bug bugster:6802192 bugzilla:573073
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
    26
Patch2:       gegl-02-info-null.diff
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    27
%package devel
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    28
Summary:      %{summary} - development files
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    29
Group:        System/GUI/GNOME
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    30
Requires:     %name 
12840
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    31
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    32
%prep
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    33
%setup -q
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    34
%patch1 -p1
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
    35
%patch2 -p1
14939
6383e6d831c4 2009-01-20 Chris Wang <[email protected]>
bewitche
parents: 14849
diff changeset
    36
12840
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    37
%build
18100
dd07d1496efc 2010-06-08 Brian Cameron <[email protected]>
yippi
parents: 18084
diff changeset
    38
12840
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    39
%ifos linux
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    40
if [ -x /usr/bin/getconf ]; then
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    41
  CPUS=`getconf _NPROCESSORS_ONLN`
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    42
fi
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    43
%else
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    44
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    45
%endif
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    46
if test "x$CPUS" = "x" -o $CPUS = 0; then
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    47
  CPUS=1
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    48
fi
18102
8c3b74be90d6 Add "-xunroll=1" to fix ube compilerissue(CR6958494).
davelam
parents: 18100
diff changeset
    49
export CFLAGS="%{optflags} -features=extensions -xunroll=1"
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    50
export CXXFLAGS="%{?cxx_optflags}"
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    51
export LDFLAGS="%{?_ldflags}"
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    52
aclocal
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    53
libtoolize --force
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    54
glib-gettextize --force
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    55
automake -a -c -f
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    56
autoconf 
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    57
./configure --prefix=%{_prefix}			\
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
    58
	    --libdir=%{_libdir}			\
18100
dd07d1496efc 2010-06-08 Brian Cameron <[email protected]>
yippi
parents: 18084
diff changeset
    59
	    --sysconfdir=%{_sysconfdir}         \
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    60
	    --mandir=%{_mandir}                 \
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    61
	    --datadir=%{_datadir}               \
18100
dd07d1496efc 2010-06-08 Brian Cameron <[email protected]>
yippi
parents: 18084
diff changeset
    62
	    --infodir=%{_datadir}/info  	\
dd07d1496efc 2010-06-08 Brian Cameron <[email protected]>
yippi
parents: 18084
diff changeset
    63
	    --without-libspiro			\
dd07d1496efc 2010-06-08 Brian Cameron <[email protected]>
yippi
parents: 18084
diff changeset
    64
	    --without-libv4l			\
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
    65
	    --enable-mmx=no			\
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
    66
	    --enable-sse=no
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    67
	    		
12840
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    68
make -j$CPUS
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    69
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    70
%install
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    71
12840
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    72
make install DESTDIR=$RPM_BUILD_ROOT
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    73
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    74
%clean
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    75
rm -rf $RPM_BUILD_ROOT
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    76
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    77
%files
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    78
%defattr (-, root, root)
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    79
%{_bindir}/*
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    80
%{_libdir}/lib*.so*
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    81
%{_libdir}/pkgconfig/*
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    82
%{_libdir}/gimp
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    83
%{_datadir}/pixmaps/*
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    84
%{_datadir}/applications/*
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    85
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    86
%files devel
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    87
%defattr (-, root, root)
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    88
%{_includedir}/*
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
    89
%{_datadir}/gtk-doc
12840
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    90
0188c95cdc47 2008-07-17 Damien Carbery <[email protected]>
dcarbery
parents:
diff changeset
    91
%changelog
18102
8c3b74be90d6 Add "-xunroll=1" to fix ube compilerissue(CR6958494).
davelam
parents: 18100
diff changeset
    92
* Wed Jun 09 2010 - [email protected]
8c3b74be90d6 Add "-xunroll=1" to fix ube compilerissue(CR6958494).
davelam
parents: 18100
diff changeset
    93
- Add "-xunroll=1" to fix ube issue(CR6958494).
18100
dd07d1496efc 2010-06-08 Brian Cameron <[email protected]>
yippi
parents: 18084
diff changeset
    94
* Tue Jun 08 2010 - [email protected]
dd07d1496efc 2010-06-08 Brian Cameron <[email protected]>
yippi
parents: 18084
diff changeset
    95
- Update again to 0.1.2 after addressing the compiler issue.
18084
f0322527a126 2010-06-04 Brian Cameron <[email protected]>
yippi
parents: 18071
diff changeset
    96
* Fri Jun 04 2010 - [email protected]
f0322527a126 2010-06-04 Brian Cameron <[email protected]>
yippi
parents: 18071
diff changeset
    97
- Backout to 0.1.0 since the compiler has problems building 0.1.2.
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
    98
* Wed Jun 02 2010 - [email protected]
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
    99
- Bump to 0.1.2.
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
   100
* Tue Sep 1 2009 - [email protected]
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
   101
- Bump to 0.1.0.
15963
de8e59307496 2009-06-26 Chris Wang <chris.wang.sun.com>
bewitche
parents: 15927
diff changeset
   102
* Fri Jun 26 2009 - [email protected]
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
   103
- Change spec and patch owner to leon.sha.
15233
20fc3ad9d7a1 2009-02-26 Chris Wnag <[email protected]>
bewitche
parents: 14939
diff changeset
   104
* The Feb 26 2009- [email protected]
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
   105
- Add patch gegl-05-info-null to fix bug 6802192.
14939
6383e6d831c4 2009-01-20 Chris Wang <[email protected]>
bewitche
parents: 14849
diff changeset
   106
* Tue Jan 20 2009 - [email protected]
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
   107
- bump to 0.22, add patch fprintf_null.
14849
1f0a5cdc8810 2009-01-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 14687
diff changeset
   108
* Tue Jan 06 2009 - [email protected]
18066
1847ff0f1078 2010-06-02 Brian Cameron <[email protected]>
yippi
parents: 17881
diff changeset
   109
- Add patch g11n-textdomain.diff.
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
   110
* Wed Nov 26 2008 - [email protected]
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents: 12840
diff changeset
   111
- Initial create.