18110
|
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 |
IPS_package_name: library/audio/libmikmod
|
|
18 |
Meta(info.classification): %{classification_prefix}:System/Libraries
|
|
19 |
Summary: libmikmod - a portable sound library for Unix and other systems
|
|
20 |
Version: %{libmikmod.version}
|
|
21 |
SUNW_BaseDir: %{_basedir}
|
|
22 |
SUNW_Copyright: %{name}.copyright
|
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
|
|
25 |
%include default-depend.inc
|
|
26 |
Requires: SUNWlibms
|
|
27 |
|
|
28 |
%package devel
|
|
29 |
Summary: %{summary} - development files
|
|
30 |
SUNW_BaseDir: %{_basedir}
|
|
31 |
%include default-depend.inc
|
|
32 |
Requires: %name
|
|
33 |
|
|
34 |
%prep
|
|
35 |
rm -rf %name-%version
|
|
36 |
mkdir %name-%version
|
|
37 |
%libmikmod.prep -d %name-%version
|
|
38 |
|
|
39 |
%build
|
|
40 |
|
|
41 |
%libmikmod.build -d %name-%version
|
|
42 |
|
|
43 |
%install
|
|
44 |
rm -rf $RPM_BUILD_ROOT
|
|
45 |
%libmikmod.install -d %name-%version
|
|
46 |
|
|
47 |
%clean
|
|
48 |
rm -rf $RPM_BUILD_ROOT
|
|
49 |
|
|
50 |
%files
|
|
51 |
%defattr (-, root, bin)
|
|
52 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
53 |
%{_libdir}/lib*.so*
|
|
54 |
|
|
55 |
%files devel
|
|
56 |
%defattr (-, root, bin)
|
|
57 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
58 |
%{_includedir}/*
|
|
59 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
60 |
%{_bindir}/libmikmod-config
|
|
61 |
%dir %attr (0755, root, bin) %{_mandir}
|
|
62 |
%dir %attr (0755, root, bin) %{_mandir}/man1
|
|
63 |
%{_mandir}/man1/*
|
|
64 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
65 |
%dir %attr (0755, root, other) %{_datadir}/aclocal
|
|
66 |
%{_datadir}/aclocal/*
|
|
67 |
|
|
68 |
%changelog
|
|
69 |
* Tue Sep 2 2008 - [email protected]
|
|
70 |
- Create
|