SUNWgegl.spec
author bewitche
Tue, 16 Dec 2008 05:42:15 +0000
branchgnome-2-24
changeset 14107 f922732f4d55
parent 14058 9c9ec2774def
child 14138 0b6bb902830b
permissions -rw-r--r--
2008-12-16 Chris Wang <[email protected]> * SUNWbabl.spec SUNWgegl.spec: Fix SparcV9 file section problem
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
%if %build_l10n
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    41
%package l10n
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    42
Summary:                 %{summary} - l10n files
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    43
SUNW_BaseDir:            %{_basedir}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    44
%include default-depend.inc
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    45
Requires:                %{name}
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
%prep
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    49
rm -rf %name-%version
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    50
mkdir %name-%version
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    51
%ifarch amd64 sparcv9
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    52
mkdir %name-%version/%_arch64
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    53
%gegl_64.prep -d %name-%version/%_arch64
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    54
%endif
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    55
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    56
mkdir %name-%version/%{base_arch}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    57
%gegl_64.prep -d %name-%version/%{base_arch}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    58
cd %{_builddir}/%name-%version
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
%build
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    61
%gegl.build -d %name-%version/%{base_arch}
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.build -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
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    67
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    68
%install
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    69
rm -rf $RPM_BUILD_ROOT
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    70
%ifarch amd64 sparcv9
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    71
%gegl_64.install -d %name-%version/%_arch64
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    72
%endif
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    73
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    74
%gegl.install -d %name-%version/%{base_arch}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    75
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    76
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    77
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    78
%if %build_l10n
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    79
%else
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    80
# REMOVE l10n FILES
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    81
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
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
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    84
%clean
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    85
rm -rf $RPM_BUILD_ROOT
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    86
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    87
%files
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    88
%defattr (-, root, bin)
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    89
%dir %attr (0755, root, bin) %{_bindir}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    90
%{_bindir}/*
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    91
%ifarch amd64 sparcv9
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    92
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    93
%{_libdir}/%{_arch64}/lib*.so*
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    94
%dir %attr (0755, root, bin) %{_libdir}/%{_arch64}/gegl-0.0
14107
f922732f4d55 2008-12-16 Chris Wang <[email protected]>
bewitche
parents: 14058
diff changeset
    95
%{_libdir}/%{_arch64}/gegl-0.0/*.so*
14058
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    96
%endif
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    97
%dir %attr (0755, root, bin) %{_libdir}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    98
%{_libdir}/lib*.so*
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    99
%dir %attr (0755, root, bin) %{_libdir}/gegl-0.0
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   100
%{_libdir}/gegl-0.0/*.so*
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   101
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   102
%files devel
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   103
%defattr (-, root, bin)
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   104
%dir %attr (0755, root, bin) %{_includedir}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   105
%dir %attr (0755, root, bin) %{_includedir}/gegl-0.0
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   106
%{_includedir}/gegl-0.0/*.h
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   107
%dir %attr (0755, root, bin) %{_includedir}/gegl-0.0/operation
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   108
%{_includedir}/gegl-0.0/operation/*.h
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   109
%ifarch amd64 sparcv9
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   110
%dir %attr (0755, root, bin) %dir %{_libdir}/%{_arch64}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   111
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   112
%{_libdir}/%{_arch64}/pkgconfig/*
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   113
%endif
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   114
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   115
%{_libdir}/pkgconfig/*
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   116
%dir %attr (0755, root, sys) %dir %{_datadir}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   117
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   118
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc/html
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   119
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc/html/gegl
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   120
%{_datadir}/gtk-doc/html/gegl/*
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   121
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   122
%if %build_l10n
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   123
%files l10n
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   124
%defattr (-, root, bin)
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   125
%dir %attr (0755, root, sys) %{_datadir}
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   126
#%attr (-, root, other) %{_datadir}/locale
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   127
%endif
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   128
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   129
%changelog
14107
f922732f4d55 2008-12-16 Chris Wang <[email protected]>
bewitche
parents: 14058
diff changeset
   130
* Tue Dec 16 2008 - [email protected]
f922732f4d55 2008-12-16 Chris Wang <[email protected]>
bewitche
parents: 14058
diff changeset
   131
- fix sparcv9 file section problem
14058
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   132
* Wed Nov 26 2008 - [email protected]
9c9ec2774def 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   133
- Initial Create