1 # 2 # spec file for package SUNWlibmikmod 3 # 4 # includes module(s): libmikmod 5 # 6 # Copyright (c) 2008 Sun Microsystems, Inc. 7 # This file and all modifications and additions to the pristine 8 # package are under the same license as the package itself. 9 # 10 %define owner wjs 11 # 12 %include Solaris.inc 13 14 %use libmikmod = libmikmod.spec 15 16 Name: SUNWlibmikmod 17 Summary: libmikmod - a portable sound library for Unix and other systems 18 Version: %{libmikmod.version} 19 SUNW_BaseDir: %{_basedir} 20 SUNW_Copyright: %{name}.copyright 21 BuildRoot: %{_tmppath}/%{name}-%{version}-build 22 23 %include default-depend.inc 24 Requires: SUNWlibms 25 26 %package devel 27 Summary: %{summary} - development files 28 SUNW_BaseDir: %{_basedir} 29 %include default-depend.inc 30 Requires: %name 31 32 %prep 33 rm -rf %name-%version 34 mkdir %name-%version 35 %libmikmod.prep -d %name-%version 36 37 %build 38 39 %libmikmod.build -d %name-%version 40 41 %install 42 rm -rf $RPM_BUILD_ROOT 43 %libmikmod.install -d %name-%version 44 45 %clean 46 rm -rf $RPM_BUILD_ROOT 47 48 %files 49 %defattr (-, root, bin) 50 %dir %attr (0755, root, bin) %{_libdir} 51 %{_libdir}/lib*.so* 52 53 %files devel 54 %defattr (-, root, bin) 55 %dir %attr (0755, root, bin) %{_includedir} 56 %{_includedir}/* 57 %dir %attr (0755, root, bin) %{_bindir} 58 %{_bindir}/libmikmod-config 59 %dir %attr (0755, root, bin) %{_mandir} 60 %dir %attr (0755, root, bin) %{_mandir}/man1 61 %{_mandir}/man1/* 62 %dir %attr (0755, root, sys) %{_datadir} 63 %dir %attr (0755, root, other) %{_datadir}/aclocal 64 %{_datadir}/aclocal/* 65 66 %changelog 67 * Tue Sep 2 2008 - william.schoofs@sun.com 68 - Create 69