9397
|
1 |
#
|
|
2 |
# spec file for package SUNWspeex
|
|
3 |
#
|
|
4 |
# includes module(s): speex
|
|
5 |
#
|
11981
|
6 |
# Copyright (c) 2008 Sun Microsystems, Inc.
|
9397
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
|
10 |
# Owner: yippi
|
|
11 |
#
|
|
12 |
%include Solaris.inc
|
|
13 |
%use speex = speex.spec
|
|
14 |
|
11981
|
15 |
Name: SUNWspeex
|
|
16 |
Summary: Open Source speech codec
|
|
17 |
Version: %{speex.version}
|
|
18 |
SUNW_BaseDir: %{_basedir}
|
|
19 |
SUNW_Copyright: %{name}.copyright
|
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
21 |
Autoreqprov: on
|
9397
|
22 |
|
|
23 |
%include default-depend.inc
|
|
24 |
BuildRequires: SUNWgnome-common-devel
|
|
25 |
BuildRequires: SUNWogg-vorbis-devel
|
|
26 |
Requires: SUNWogg-vorbis
|
|
27 |
Requires: SUNWlibms
|
|
28 |
|
|
29 |
%package devel
|
|
30 |
Summary: %{summary} - development files
|
|
31 |
SUNW_BaseDir: %{_basedir}
|
|
32 |
%include default-depend.inc
|
|
33 |
|
|
34 |
%prep
|
|
35 |
rm -rf %name-%version
|
|
36 |
mkdir %name-%version
|
|
37 |
%speex.prep -d %name-%version
|
|
38 |
|
|
39 |
%build
|
|
40 |
export LDFLAGS="%_ldflags"
|
|
41 |
export CFLAGS="%optflags"
|
|
42 |
%speex.build -d %name-%version
|
|
43 |
|
|
44 |
%install
|
|
45 |
%speex.install -d %name-%version
|
|
46 |
|
|
47 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
48 |
|
|
49 |
%clean
|
|
50 |
rm -rf $RPM_BUILD_ROOT
|
|
51 |
|
|
52 |
%files
|
|
53 |
%defattr (-, root, bin)
|
|
54 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
55 |
%{_bindir}/*
|
|
56 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
57 |
%{_libdir}/libspeex*.so*
|
|
58 |
|
|
59 |
%files devel
|
|
60 |
%defattr (-, root, bin)
|
|
61 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
62 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
63 |
%{_libdir}/pkgconfig/*
|
|
64 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
65 |
%{_includedir}/*
|
|
66 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
67 |
%dir %attr (0755, root, other) %{_datadir}/aclocal
|
|
68 |
%{_datadir}/aclocal/*
|
|
69 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
70 |
%{_datadir}/doc/*
|
|
71 |
|
|
72 |
%files
|
|
73 |
%defattr (-, root, bin)
|
|
74 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
75 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
76 |
%dir %attr(0755, root, bin) %{_mandir}/man1
|
|
77 |
%{_mandir}/man1/*
|
|
78 |
|
|
79 |
%changelog
|
11981
|
80 |
* Mon Mar 31 2008 - [email protected]
|
|
81 |
- Add SUNW_Copyright.
|
9397
|
82 |
* Thu May 04 2006 - [email protected]
|
|
83 |
- merge -share pkg(s) into the base pkg(s)
|
|
84 |
* Fri Feb 17 2006 - [email protected]
|
|
85 |
- Update Build/Requires after running check-deps.pl script.
|
|
86 |
* Tue Sep 13 2005 - [email protected]
|
|
87 |
- Now use speex version number.
|
|
88 |
* Wed Jul 27 2005 - [email protected]
|
|
89 |
- Add dependency of SUNWogg-vorbis
|
|
90 |
* Tue Jul 26 2005 - [email protected]
|
|
91 |
- Initial spec-file created
|