SUNWclutter.spec
author daniell
Wed, 13 Oct 2010 16:43:58 +0000
branchopensolaris-2009-06
changeset 20159 f18a6979f732
parent 14015 264e975eb35a
child 15178 878f06faf3b6
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:
14015
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     1
#
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     2
#
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     3
# spec file for package SUNWclutter
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     4
#
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     5
# includes module(s): clutter
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     6
#
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     7
# Copyright 2008 Sun Microsystems, Inc.
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     8
# This file and all modifications and additions to the pristine
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
     9
# package are under the same license as the package itself.
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    10
#
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    11
# Owner: bewitche
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    12
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    13
%include Solaris.inc
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    14
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    15
%use clutter = clutter.spec
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    16
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    17
Name:                    SUNWclutter
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    18
Summary:                 clutter - a library for creating fast, visually rich and animated graphical user interfaces.
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    19
Version:                 %{clutter.version}
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    20
URL:                     http://www.clutter-project.org/
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    21
Source:                  http://www.clutter-project.org/sources/clutter/0.8/clutter-0.8.2.tar.bz2
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    22
SUNW_BaseDir:            %{_basedir}
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    23
SUNW_Copyright:		 SUNWclutter.copyright
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    24
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    25
%ifnarch sparc
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    26
#the packages are only on x86
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    27
# ============================================
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    28
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    29
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    30
%include default-depend.inc
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    31
Requires: SUNWgnome-base-libs
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    32
BuildRequires: SUNWgnome-base-libs-devel
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    33
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    34
%package devel
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    35
Summary:                 %{summary} - developer files
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    36
SUNW_BaseDir:            %{_basedir}
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    37
%include default-depend.inc
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    38
Requires: %name
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    39
Requires: SUNWgnome-base-libs-devel
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    40
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    41
%prep
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    42
rm -rf %name-%version
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    43
mkdir %name-%version
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    44
%clutter.prep -d %name-%version/
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    45
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    46
%build
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    47
%clutter.build -d %name-%version/
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    48
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    49
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    50
%install
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    51
%clutter.install -d %name-%version/
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    52
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    53
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    54
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    55
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    56
%clean
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    57
rm -rf $RPM_BUILD_ROOT
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    58
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    59
%files
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    60
%defattr (-, root, bin)
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    61
%dir %attr (0755, root, bin) %{_libdir}
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    62
%{_libdir}/lib*.so*
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    63
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    64
%files devel
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    65
%defattr (-, root, bin)
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    66
%dir %attr (0755, root, bin) %{_libdir}
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    67
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    68
%{_libdir}/pkgconfig/*
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    69
%dir %attr (0755, root, sys) %{_datadir}
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    70
%{_datadir}/gtk-doc
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    71
%dir %attr (0755, root, bin) %{_includedir}
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    72
%{_includedir}/*
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    73
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    74
# endif for "ifnarch sparc"
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    75
%endif
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    76
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    77
 
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    78
%changelog
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    79
* Tue Jul  1 2008  [email protected] 
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    80
- Initial build.
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    81