SUNWgegl.spec
author daniell
Wed, 13 Oct 2010 16:43:58 +0000
branchopensolaris-2009-06
changeset 20159 f18a6979f732
parent 14138 0b6bb902830b
permissions -rw-r--r--
6965295 [CVE-2010-1205/CVE-2010-2249] Multiple security issues in libpng 1.2 versions before 1.2.44
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14058
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     1
#
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     2
# spec file for package SUNWgegl
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     3
#
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     4
# includes module(s):gegl
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     5
#
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     6
# Copyright 2008 Sun Microsystems, Inc.
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     8
# package are under the same license as the package itself.
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     9
#
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    10
# Owner: bewitche
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    11
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    12
%include Solaris.inc
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    13
%ifarch amd64 sparcv9
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    14
%include arch64.inc
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    15
%use gegl_64 = gegl_64.spec
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    16
%endif
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    17
%include base.inc
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    18
%use gegl = gegl.spec
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    19
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    20
Name:                    SUNWgegl
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    21
Summary:                 GEGL (Generic Graphics Library) is a graph based image processing framework.
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    22
Version:                 %{gegl.version}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    23
SUNW_BaseDir:            %{_basedir}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    24
SUNW_Copyright:		 SUNWgegl.copyright
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    25
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    26
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    27
%include default-depend.inc
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    28
Requires:                SUNWgnome-libs
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    29
BuildRequires:           SUNWgnome-libs-devel
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    30
Requires:		 SUNWbabl
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    31
BuildRequires:           SUNWbabl-devel
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    32
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    33
%package devel
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    34
Summary:                 %{summary} - development files
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    35
SUNW_BaseDir:            %{_basedir}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    36
%include default-depend.inc
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    37
Requires: %name
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    38
Requires: SUNWgnome-libs-devel
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    39
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    40
%prep
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    41
rm -rf %name-%version
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    42
mkdir %name-%version
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    43
%ifarch amd64 sparcv9
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    44
mkdir %name-%version/%_arch64
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    45
%gegl_64.prep -d %name-%version/%_arch64
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    46
%endif
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    47
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    48
mkdir %name-%version/%{base_arch}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    49
%gegl_64.prep -d %name-%version/%{base_arch}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    50
cd %{_builddir}/%name-%version
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    51
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    52
%build
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    53
%gegl.build -d %name-%version/%{base_arch}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    54
%ifarch amd64 sparcv9
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    55
%gegl_64.build -d %name-%version/%_arch64
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    56
%endif
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    57
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    58
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    59
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    60
%install
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    61
rm -rf $RPM_BUILD_ROOT
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    62
%ifarch amd64 sparcv9
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    63
%gegl_64.install -d %name-%version/%_arch64
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    64
%endif
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    65
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    66
%gegl.install -d %name-%version/%{base_arch}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    67
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    68
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    69
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    70
%clean
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    71
rm -rf $RPM_BUILD_ROOT
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    72
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    73
%files
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    74
%defattr (-, root, bin)
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    75
%dir %attr (0755, root, bin) %{_bindir}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    76
%{_bindir}/*
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    77
%ifarch amd64 sparcv9
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    78
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    79
%{_libdir}/%{_arch64}/lib*.so*
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    80
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}/gegl-0.0
14107
f922732f4d55 2008-12-16 Chris Wang <[email protected]>
bewitche
parents: 14058
diff changeset
    81
%{_libdir}/%{_arch64}/gegl-0.0/*.so*
14058
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    82
%endif
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    83
%dir %attr (0755, root, bin) %{_libdir}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    84
%{_libdir}/lib*.so*
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    85
%dir %attr (0755, root, bin) %{_libdir}/gegl-0.0
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    86
%{_libdir}/gegl-0.0/*.so*
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    87
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    88
%files devel
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    89
%defattr (-, root, bin)
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    90
%dir %attr (0755, root, bin) %{_includedir}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    91
%dir %attr (0755, root, bin) %{_includedir}/gegl-0.0
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    92
%{_includedir}/gegl-0.0/*.h
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    93
%dir %attr (0755, root, bin) %{_includedir}/gegl-0.0/operation
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    94
%{_includedir}/gegl-0.0/operation/*.h
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    95
%ifarch amd64 sparcv9
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    96
%dir %attr (0755, root, bin) %dir %{_libdir}/%{_arch64}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    97
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    98
%{_libdir}/%{_arch64}/pkgconfig/*
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    99
%endif
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   100
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   101
%{_libdir}/pkgconfig/*
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   102
%dir %attr (0755, root, sys) %dir %{_datadir}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   103
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   104
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc/html
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   105
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc/html/gegl
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   106
%{_datadir}/gtk-doc/html/gegl/*
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   107
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   108
%changelog
14107
f922732f4d55 2008-12-16 Chris Wang <[email protected]>
bewitche
parents: 14058
diff changeset
   109
* Tue Dec 16 2008 - [email protected]
14138
0b6bb902830b 2009-01-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 14107
diff changeset
   110
- Fix SparcV9 file section problem
14058
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   111
* Wed Nov 26 2008 - [email protected]
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   112
- Initial Create