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