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 # Owner: bewitche 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: http://www.clutter-project.org/sources/clutter/0.8/clutter-0.8.2.tar.bz2 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: SUNWgnome-base-libs 32 BuildRequires: SUNWgnome-base-libs-devel 33 34 %package devel 35 Summary: %{summary} - developer files 36 SUNW_BaseDir: %{_basedir} 37 %include default-depend.inc 38 Requires: %name 39 Requires: SUNWgnome-base-libs-devel 40 41 %prep 42 rm -rf %name-%version 43 mkdir %name-%version 44 %clutter.prep -d %name-%version/ 45 46 %build 47 %clutter.build -d %name-%version/ 48 49 50 %install 51 %clutter.install -d %name-%version/ 52 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' 53 find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' 54 55 56 %clean 57 rm -rf $RPM_BUILD_ROOT 58 59 %files 60 %defattr (-, root, bin) 61 %dir %attr (0755, root, bin) %{_libdir} 62 %{_libdir}/lib*.so* 63 64 %files devel 65 %defattr (-, root, bin) 66 %dir %attr (0755, root, bin) %{_libdir} 67 %dir %attr (0755, root, other) %{_libdir}/pkgconfig 68 %{_libdir}/pkgconfig/* 69 %dir %attr (0755, root, sys) %{_datadir} 70 %{_datadir}/gtk-doc 71 %dir %attr (0755, root, bin) %{_includedir} 72 %{_includedir}/* 73 74 # endif for "ifnarch sparc" 75 %endif 76 77 78 %changelog 79 * Tue Jul 1 2008 chris.wang@sun.com 80 - Initial build. 81 82