SUNWgegl.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 15963 de8e59307496
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
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
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15963
diff changeset
    10
%define owner leon.sha
14687
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.
14939
6383e6d831c4 2009-01-20 Chris Wang <[email protected]>
bewitche
parents: 14843
diff changeset
    22
Version:                 %{default_pkg_version}
15178
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 15017
diff changeset
    23
Source:                  %{name}-manpages-0.1.tar.gz
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    24
SUNW_BaseDir:            %{_basedir}
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    25
SUNW_Copyright:		 SUNWgegl.copyright
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    26
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    27
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    28
%include default-depend.inc
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15504
diff changeset
    29
Requires:                SUNWgtk2
15789
14949d215ab7 2009-05-21 Chris Wang <[email protected]>
bewitche
parents: 15650
diff changeset
    30
Requires:                SUNWgnome-libs 		 
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15504
diff changeset
    31
BuildRequires:           SUNWgtk2-devel
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    32
BuildRequires:           SUNWgnome-libs-devel
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    33
Requires:		 SUNWbabl
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    34
BuildRequires:           SUNWbabl-devel
15017
9d882ee06955 2009-02-06 Chris Wang <[email protected]>
bewitche
parents: 14939
diff changeset
    35
Requires:                SUNWlibsdl
9d882ee06955 2009-02-06 Chris Wang <[email protected]>
bewitche
parents: 14939
diff changeset
    36
Requires:                SUNWlibrsvg
9d882ee06955 2009-02-06 Chris Wang <[email protected]>
bewitche
parents: 14939
diff changeset
    37
		 
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    38
%package devel
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    39
Summary:                 %{summary} - development files
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    40
SUNW_BaseDir:            %{_basedir}
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    41
%include default-depend.inc
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    42
Requires: %name
15789
14949d215ab7 2009-05-21 Chris Wang <[email protected]>
bewitche
parents: 15650
diff changeset
    43
Requires: SUNWglib2-devel
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    44
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    45
%prep
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    46
rm -rf %name-%version
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    47
mkdir %name-%version
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    48
%ifarch amd64 sparcv9
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    49
mkdir %name-%version/%_arch64
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    50
%gegl_64.prep -d %name-%version/%_arch64
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    51
%endif
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    52
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    53
mkdir %name-%version/%{base_arch}
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    54
%gegl_64.prep -d %name-%version/%{base_arch}
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    55
cd %{_builddir}/%name-%version
15178
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 15017
diff changeset
    56
cd %{_builddir}/%name-%version
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 15017
diff changeset
    57
gzcat %SOURCE0 | tar -xf -
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    58
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    59
%build
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    60
%gegl.build -d %name-%version/%{base_arch}
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    61
%ifarch amd64 sparcv9
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    62
%gegl_64.build -d %name-%version/%_arch64
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    63
%endif
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    64
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    65
%install
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    66
rm -rf $RPM_BUILD_ROOT
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    67
%ifarch amd64 sparcv9
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    68
%gegl_64.install -d %name-%version/%_arch64
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    69
%endif
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    70
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    71
%gegl.install -d %name-%version/%{base_arch}
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    72
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    73
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
15178
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 15017
diff changeset
    74
cd %{_builddir}/%name-%version/sun-manpages
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 15017
diff changeset
    75
make install DESTDIR=$RPM_BUILD_ROOT
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    76
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    77
%clean
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    78
rm -rf $RPM_BUILD_ROOT
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    79
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    80
%files
15504
64a3820cf2fc 2009-03-26 Chris Wang <[email protected]>
bewitche
parents: 15178
diff changeset
    81
%doc -d %{base_arch} gegl-%{gegl.version}/AUTHORS
64a3820cf2fc 2009-03-26 Chris Wang <[email protected]>
bewitche
parents: 15178
diff changeset
    82
%doc -d %{base_arch} gegl-%{gegl.version}/README
64a3820cf2fc 2009-03-26 Chris Wang <[email protected]>
bewitche
parents: 15178
diff changeset
    83
%doc(bzip2) -d %{base_arch} gegl-%{gegl.version}/ChangeLog
64a3820cf2fc 2009-03-26 Chris Wang <[email protected]>
bewitche
parents: 15178
diff changeset
    84
%doc(bzip2) -d %{base_arch} gegl-%{gegl.version}/COPYING
64a3820cf2fc 2009-03-26 Chris Wang <[email protected]>
bewitche
parents: 15178
diff changeset
    85
%doc(bzip2) -d %{base_arch} gegl-%{gegl.version}/NEWS
64a3820cf2fc 2009-03-26 Chris Wang <[email protected]>
bewitche
parents: 15178
diff changeset
    86
%doc(bzip2) -d %{base_arch} gegl-%{gegl.version}/COPYING.LESSER
64a3820cf2fc 2009-03-26 Chris Wang <[email protected]>
bewitche
parents: 15178
diff changeset
    87
%dir %attr (0755, root, other) %{_datadir}/doc
14687
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*
15178
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 15017
diff changeset
   101
%dir %attr (0755, root, sys) %{_datadir}
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 15017
diff changeset
   102
%dir %attr (0755, root, bin) %{_mandir}
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 15017
diff changeset
   103
%{_mandir}/*/*
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   104
%files devel
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   105
%defattr (-, root, bin)
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   106
%dir %attr (0755, root, bin) %{_includedir}
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   107
%dir %attr (0755, root, bin) %{_includedir}/gegl-0.0
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   108
%{_includedir}/gegl-0.0/*.h
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   109
%dir %attr (0755, root, bin) %{_includedir}/gegl-0.0/operation
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   110
%{_includedir}/gegl-0.0/operation/*.h
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   111
%ifarch amd64 sparcv9
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   112
%dir %attr (0755, root, bin) %dir %{_libdir}/%{_arch64}
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   113
%dir %attr (0755, root, other) %{_libdir}/%{_arch64}/pkgconfig
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   114
%{_libdir}/%{_arch64}/pkgconfig/*
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   115
%endif
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   116
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   117
%{_libdir}/pkgconfig/*
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   118
%dir %attr (0755, root, sys) %dir %{_datadir}
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   119
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   120
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc/html
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   121
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc/html/gegl
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   122
%{_datadir}/gtk-doc/html/gegl/*
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   123
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   124
%changelog
15963
de8e59307496 2009-06-26 Chris Wang <chris.wang.sun.com>
bewitche
parents: 15789
diff changeset
   125
* Fri Jun 26 2009  [email protected]
de8e59307496 2009-06-26 Chris Wang <chris.wang.sun.com>
bewitche
parents: 15789
diff changeset
   126
- Change owner to leon.sha
15789
14949d215ab7 2009-05-21 Chris Wang <[email protected]>
bewitche
parents: 15650
diff changeset
   127
* Thu May 21 2009  [email protected]
14949d215ab7 2009-05-21 Chris Wang <[email protected]>
bewitche
parents: 15650
diff changeset
   128
- In Require section, change SUNWgnome-base-libs-devel to SUNWglib2-devel
14949d215ab7 2009-05-21 Chris Wang <[email protected]>
bewitche
parents: 15650
diff changeset
   129
  as the original package has been divided into small packages
15504
64a3820cf2fc 2009-03-26 Chris Wang <[email protected]>
bewitche
parents: 15178
diff changeset
   130
* Thu Mar 26 2009  [email protected]
64a3820cf2fc 2009-03-26 Chris Wang <[email protected]>
bewitche
parents: 15178
diff changeset
   131
- Correct copyright file
15178
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 15017
diff changeset
   132
* Fri Feb 20 2009  [email protected]
878f06faf3b6 2009-02-20 Chris Wang <[email protected]>
bewitche
parents: 15017
diff changeset
   133
- Add manpage
15017
9d882ee06955 2009-02-06 Chris Wang <[email protected]>
bewitche
parents: 14939
diff changeset
   134
* Thu Feb 6  2008 - [email protected]
9d882ee06955 2009-02-06 Chris Wang <[email protected]>
bewitche
parents: 14939
diff changeset
   135
- Add SUNWsdl and SUNWrsvg as required packages
14776
8174efc21fe1 2008-12-16 Chris Wang <[email protected]>
bewitche
parents: 14687
diff changeset
   136
* Tue Dec 16 2008 - [email protected]
14843
2c54f4e15e4c 2009-01-06 Takao Fujiwara <[email protected]>
fujiwara
parents: 14842
diff changeset
   137
- Fix SparcV9 file section problem
14687
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   138
* Wed Nov 26 2008 - [email protected]
fcb253179759 2008-12-02 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
   139
- Initial Create
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15504
diff changeset
   140