#
#
# spec file for package SUNWclutter-gst
#
# includes module(s): clutter-gst
#
# Copyright 2010 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%define owner lin
%include Solaris.inc
%use cluttergst = clutter-gst.spec
Name: SUNWclutter-gst
License: %{cluttergst.license}
IPS_package_name: library/desktop/clutter/clutter-gst
Meta(info.classification): %{classification_prefix}:System/Multimedia Libraries
Summary: clutter-gst - gstreamer integration library for clutter
Version: %{cluttergst.version}
URL: http://www.clutter-project.org/
Source: %{name}-manpages-0.1.tar.gz
SUNW_BaseDir: %{_basedir}
SUNW_Copyright: SUNWclutter-gst.copyright
BuildRequires: SUNWxorg-mesa
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%include default-depend.inc
%include gnome-incorporation.inc
Requires: SUNWgnome-media
Requires: SUNWclutter
BuildRequires: SUNWgnome-media-devel
BuildRequires: consolidation/desktop/desktop-incorporation
%package devel
Summary: %{summary} - developer files
SUNW_BaseDir: %{_basedir}
%include default-depend.inc
%include gnome-incorporation.inc
Requires: %name
Requires: SUNWclutter-devel
%prep
rm -rf %name-%version
mkdir %name-%version
%cluttergst.prep -d %name-%version
cd %{_builddir}/%name-%version
gzcat %SOURCE0 | tar -xf -
%build
export CFLAGS="%optflags -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0"
export LDFLAGS="%_ldflags -lgdk_pixbuf-2.0"
%cluttergst.build -d %name-%version
%install
%cluttergst.install -d %name-%version
cd %{_builddir}/%name-%version/sun-manpages
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc -d clutter-gst-%{cluttergst.version} AUTHORS README
%doc(bzip2) -d clutter-gst-%{cluttergst.version} ChangeLog COPYING NEWS
%dir %attr (0755, root, other) %{_datadir}/doc
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/lib*.so*
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_mandir}
%{_mandir}/*/*
%{_datadir}/gir-1.0/ClutterGst-1.0.gir
%{_libdir}/girepository-1.0/ClutterGst-1.0.typelib
%files devel
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/*
%dir %attr (0755, root, sys) %{_datadir}
%{_datadir}/gtk-doc
%dir %attr (0755, root, bin) %{_includedir}
%{_includedir}/*
%changelog
* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
- Updated BuildRequires to fit SourceJuicer.
* Fri Apr 23 2010 christian.kelly@oracle.com
- Fix %files.
* Fri Mar 05 2010 lin.ma@sun.com
- Enable SPARC build
* Fri Jun 26 2009 Chris.wang@sun.com
- Change owner to lin
* Thu Mar 26 2009 Chris.wang@sun.com
- Correct copyright file in file section
* Tue Mar 24 2009 - chris.wang@sun.com
- Add SUNWgnome-media to Require
* Sun Feb 22 2009 - dave.lin@sun.com
- Add BuildRequires: SUNWgnome-media-devel as it requires gstreamer & gstreamer-plugins-base.
* Fri Feb 20 2009 chris.wang@sun.com
- Add manpage
* Tue Jul 1 2008 chris.wang@sun.com
- Initial build.