author | dcarbery |
Mon, 23 Oct 2006 12:46:17 +0000 | |
branch | gnome-2-14 |
changeset 19195 | 352a4716f1f3 |
parent 6492 | cfdfd1115578 |
child 7675 | 5599ff65920b |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package speex |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
||
9 |
Name: speex |
|
10 |
License: Xiph |
|
11 |
Group: Application/Devel |
|
6464 | 12 |
Version: 1.1.11.1 |
5518 | 13 |
Release: 1 |
14 |
Distribution: Java Desktop System |
|
15 |
Vendor: Sun Microsystems, Inc. |
|
16 |
Summary: An open-source, patent-free speech codec |
|
5548
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
17 |
Source: http://downloads.us.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz |
5518 | 18 |
URL: http://www.speex.org/ |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
20 |
Docdir: %{_docdir}/%{name} |
|
21 |
Autoreqprov: on |
|
22 |
||
23 |
%description |
|
24 |
Speex is a patent-free audio codec designed especially for voice (unlike |
|
25 |
Vorbis which targets general audio) signals and providing good narrowband |
|
26 |
and wideband quality. This project aims to be complementary to the Vorbis |
|
27 |
codec. |
|
28 |
||
29 |
%package devel |
|
30 |
Summary: Speex development files |
|
31 |
Group: Development/Libraries |
|
32 |
Requires: %{name} = %{version} |
|
33 |
||
34 |
%description devel |
|
35 |
Speex development files. |
|
36 |
||
37 |
%prep |
|
38 |
%setup -q |
|
39 |
||
40 |
%build |
|
41 |
%ifos linux |
|
42 |
if [ -x /usr/bin/getconf ]; then |
|
43 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
44 |
fi |
|
45 |
%else |
|
46 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
47 |
%endif |
|
48 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
49 |
CPUS=1 |
|
50 |
fi |
|
51 |
||
52 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
53 |
./configure --enable-shared \ |
|
54 |
--enable-static \ |
|
55 |
--prefix=%{_prefix} \ |
|
56 |
--sysconfdir=%{_sysconfdir} \ |
|
57 |
--mandir=%{_mandir} |
|
58 |
||
6492
cfdfd1115578
* speex.spec: Single threaded make because of timing issues.
dc144907
parents:
6464
diff
changeset
|
59 |
make |
5518 | 60 |
|
61 |
%install |
|
62 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
63 |
||
64 |
#Clean up unpackaged files |
|
65 |
rm $RPM_BUILD_ROOT%{_libdir}/*.a |
|
66 |
rm $RPM_BUILD_ROOT%{_libdir}/*la |
|
67 |
||
68 |
%clean |
|
69 |
rm -rf $RPM_BUILD_ROOT |
|
70 |
||
71 |
%post -p /sbin/ldconfig |
|
72 |
%postun -p /sbin/ldconfig |
|
73 |
||
74 |
%files |
|
75 |
%defattr(-,root,root) |
|
76 |
%doc COPYING AUTHORS ChangeLog NEWS README |
|
77 |
%{_datadir}/doc/* |
|
78 |
%{_datadir}/man/man1/speexenc.1* |
|
79 |
%{_datadir}/man/man1/speexdec.1* |
|
80 |
%attr(755,root,root) %{_bindir}/speex* |
|
81 |
%attr(755,root,root) %{_libdir}/libspeex*.so* |
|
82 |
||
83 |
%files devel |
|
84 |
%defattr(-,root,root) |
|
85 |
%{_includedir}/speex/speex*.h |
|
86 |
%{_datadir}/aclocal/speex.m4 |
|
87 |
%{_libdir}/pkgconfig/speex.pc |
|
88 |
||
89 |
%changelog |
|
6492
cfdfd1115578
* speex.spec: Single threaded make because of timing issues.
dc144907
parents:
6464
diff
changeset
|
90 |
* Wed Jan 04 2006 - [email protected] |
cfdfd1115578
* speex.spec: Single threaded make because of timing issues.
dc144907
parents:
6464
diff
changeset
|
91 |
- Single threaded make because of timing issues. |
cfdfd1115578
* speex.spec: Single threaded make because of timing issues.
dc144907
parents:
6464
diff
changeset
|
92 |
|
6464 | 93 |
* Tue Jan 03 2006 - [email protected] |
94 |
- Bump to 1.1.11.1. |
|
95 |
||
5564
d324f371b995
* openh323.spec: Remove Speex references. speex.spec used instead.
dc144907
parents:
5548
diff
changeset
|
96 |
* Tue Aug 23 2005 - [email protected] |
d324f371b995
* openh323.spec: Remove Speex references. speex.spec used instead.
dc144907
parents:
5548
diff
changeset
|
97 |
- Remove an incorrect line from %files. |
d324f371b995
* openh323.spec: Remove Speex references. speex.spec used instead.
dc144907
parents:
5548
diff
changeset
|
98 |
|
5548
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
99 |
* Mon Aug 16 2005 - [email protected] |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
100 |
- Bump to 1.1.10. |
ddbd17ae3838
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
101 |
|
5518 | 102 |
* Tue Aug 02 2005 - [email protected] |
103 |
- Change copyright to license |
|
104 |
||
105 |
* Tue Jul 26 2005 - [email protected] |
|
106 |
- Fix defattr for files and files devel |
|
107 |
||
108 |
* Thu Jul 21 2005 - [email protected] |
|
109 |
- Remove *.a and *.la files. Fix typo. Add proper configure arguments |
|
110 |
||
111 |
* Wed Jul 20 2005 - [email protected] |
|
112 |
- Initial spec file checkin |