1 # 2 # 3 # spec file for package SUNWclutter 4 # 5 # includes module(s): clutter 6 # 7 # Copyright 2008 Sun Microsystems, Inc. 8 # This file and all modifications and additions to the pristine 9 # package are under the same license as the package itself. 10 # 11 %define owner lin 12 13 %include Solaris.inc 14 15 %use clutter = clutter.spec 16 17 Name: SUNWclutter 18 Summary: clutter - a library for creating fast, visually rich and animated graphical user interfaces. 19 Version: %{clutter.version} 20 URL: http://www.clutter-project.org/ 21 Source: %{name}-manpages-0.1.tar.gz 22 SUNW_BaseDir: %{_basedir} 23 SUNW_Copyright: SUNWclutter.copyright 24 25 %ifnarch sparc 26 #the packages are only on x86 27 # ============================================ 28 29 BuildRoot: %{_tmppath}/%{name}-%{version}-build 30 %include default-depend.inc 31 Requires: SUNWgtk2 32 Requires: SUNWxorg-mesa 33 Requires: SUNWgobject-introspection 34 Requires: SUNWgir-repository 35 BuildRequires: SUNWgobject-introspection-devel 36 BuildRequires: SUNWgir-repository 37 38 %package devel 39 Summary: %{summary} - developer files 40 SUNW_BaseDir: %{_basedir} 41 %include default-depend.inc 42 Requires: %name 43 Requires: SUNWgtk2-devel 44 45 %prep 46 rm -rf %name-%version 47 mkdir %name-%version 48 %clutter.prep -d %name-%version 49 cd %{_builddir}/%name-%version 50 gzcat %SOURCE0 | tar -xf - 51 52 %build 53 %clutter.build -d %name-%version 54 55 56 %install 57 %clutter.install -d %name-%version 58 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' 59 find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' 60 61 cd %{_builddir}/%name-%version/sun-manpages 62 make install DESTDIR=$RPM_BUILD_ROOT 63 64 %clean 65 rm -rf $RPM_BUILD_ROOT 66 67 %files 68 %defattr (-, root, bin) 69 %dir %attr (0755, root, bin) %{_libdir} 70 %{_libdir}/lib*.so* 71 %{_libdir}/girepository-1.0/* 72 %dir %attr (0755, root, sys) %{_datadir} 73 %{_datadir}/gir-1.0/* 74 %dir %attr (0755, root, bin) %{_mandir} 75 %{_mandir}/*/* 76 %doc -d clutter-%{clutter.version} AUTHORS README 77 %doc(bzip2) -d clutter-%{clutter.version} ChangeLog COPYING NEWS 78 %dir %attr (0755, root, other) %{_datadir}/doc 79 80 %files devel 81 %defattr (-, root, bin) 82 %dir %attr (0755, root, bin) %{_libdir} 83 %dir %attr (0755, root, other) %{_libdir}/pkgconfig 84 %{_libdir}/pkgconfig/* 85 %dir %attr (0755, root, sys) %{_datadir} 86 %{_datadir}/gtk-doc 87 %dir %attr (0755, root, bin) %{_includedir} 88 %{_includedir}/* 89 90 # endif for "ifnarch sparc" 91 %endif 92 93 94 %changelog 95 * Tue Aug 25 2009 - lin.ma@sun.com 96 - Add SUNWgir-repository dependency 97 * Tue Aug 25 2009 - halton.huo@sun.com 98 - Update files when version bump to 1.0.2 99 - Add dependency to SUNWgobject-introspection 100 * Fri Jun 26 2009 Chris.wang@sun.com 101 - Change owner to lin 102 * Thu Mar 26 2009 Chris.wang@sun.com 103 - Correct copyright file in file section 104 * Tue Mar 24 2009 chris.wang@sun.com 105 - Add SUNWxorg-mesa to Require 106 * Fri Feb 20 2009 chris.wang@sun.com 107 - Add manpage 108 * Tue Jul 1 2008 chris.wang@sun.com 109 - Initial build. 110 111