SUNWclutter-gst.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-gst
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-gst
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
%use cluttergst = clutter-gst.spec
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    15
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    16
Name:                    SUNWclutter-gst
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    17
Summary:                 clutter-gst - gstreamer integration library for clutter
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    18
Version:                 %{cluttergst.version}
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    19
URL:                     http://www.clutter-project.org/
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    20
Source:                  http://www.clutter-project.org/sources/clutter-gst/0.8/clutter-gst-%{version}.tar.bz2
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    21
SUNW_BaseDir:            %{_basedir}
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    22
SUNW_Copyright:		 SUNWclutter-gst.copyright
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    23
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    24
%ifnarch sparc
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    25
#packages are only for x86
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    26
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    27
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    28
%include default-depend.inc
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    29
Requires: SUNWgnome-base-libs
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    30
Requires: SUNWclutter
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    31
BuildRequires: SUNWgnome-base-libs-devel
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    32
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    33
%package devel
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    34
Summary:                 %{summary} - developer files
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    35
SUNW_BaseDir:            %{_basedir}
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    36
%include default-depend.inc
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    37
Requires: %name
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    38
Requires: SUNWgnome-base-libs-devel
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    39
Requires: SUNWclutter-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
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    42
%prep
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    43
rm -rf %name-%version
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    44
mkdir %name-%version
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    45
%cluttergst.prep -d %name-%version
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    46
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    47
%build
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    48
export CFLAGS="%optflags -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0"
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    49
export LDFLAGS="%_ldflags -lgdk_pixbuf-2.0"
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    50
%cluttergst.build -d %name-%version
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    51
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    52
%install
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    53
%cluttergst.install -d %name-%version
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    54
rm $RPM_BUILD_ROOT%{_libdir}/lib*.la
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
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    75
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    76
%changelog
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    77
* Tue Jul  1 2008  [email protected] 
264e975eb35a 2008-11-26 Chris Wang <[email protected]>
bewitche
parents:
diff changeset
    78
- Initial build.