base-specs/speex.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 16282 ef6ce3e6a694
child 16522 f415ad2143e1
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package speex
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
12231
f75b5b1ad02f 2008-04-30 Brian Cameron <[email protected]>
yippi
parents: 11318
diff changeset
     4
# Copyright (c) 2008 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16282
diff changeset
     8
%define owner yippi
11132
0183b8aba79a 2007-11-06 Brian Cameron <[email protected]>
yippi
parents: 9921
diff changeset
     9
# bugdb: https://trac.xiph.org/
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
Name:         speex
14571
a943a025a41e 2008-11-06 Brian Cameron <[email protected]>
yippi
parents: 12231
diff changeset
    12
License:      Xiph.org BSD-style
16282
ef6ce3e6a694 2009-08-14 Brian Cameron <[email protected]>
yippi
parents: 15745
diff changeset
    13
Group:        Libraries/Multimedia
14716
b69c380afa05 * base-specs/speex.spec: Bump to 1.2rc1.
jyu_mit
parents: 14571
diff changeset
    14
%define tarball_version 1.2rc1
15745
cc12b969d079 2009-05-11 Brian Cameron <[email protected]>
yippi
parents: 15165
diff changeset
    15
Version:      1.2
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Distribution: Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Vendor:       Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Summary:      An open-source, patent-free speech codec
9921
882ae95b3ce6 2007-05-17 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    20
Source:       http://downloads.us.xiph.org/releases/%{name}/%{name}-%{tarball_version}.tar.gz
15165
edd399a101c3 * base-specs/speex.spec : Add man page patch for attributes and arc comment
mattman
parents: 14716
diff changeset
    21
# date:2009-02-19 type:branding owner:mattman
16282
ef6ce3e6a694 2009-08-14 Brian Cameron <[email protected]>
yippi
parents: 15745
diff changeset
    22
Patch1:       speex-01-manpages.diff
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
URL:          http://speex.org/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Docdir:       %{_docdir}/%{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Speex is a patent-free audio codec designed especially for voice (unlike 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Vorbis which targets general audio) signals and providing good narrowband 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
and wideband quality. This project aims to be complementary to the Vorbis
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
codec.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%package devel
16282
ef6ce3e6a694 2009-08-14 Brian Cameron <[email protected]>
yippi
parents: 15745
diff changeset
    35
Summary:        Speex development files
ef6ce3e6a694 2009-08-14 Brian Cameron <[email protected]>
yippi
parents: 15745
diff changeset
    36
Group:          Development/Libraries
ef6ce3e6a694 2009-08-14 Brian Cameron <[email protected]>
yippi
parents: 15745
diff changeset
    37
Requires:       %{name} = %{version}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%description devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
Speex development files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%prep
9921
882ae95b3ce6 2007-05-17 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    43
%setup -q -n %{name}-%{tarball_version}
15165
edd399a101c3 * base-specs/speex.spec : Add man page patch for attributes and arc comment
mattman
parents: 14716
diff changeset
    44
%patch1 -p1
edd399a101c3 * base-specs/speex.spec : Add man page patch for attributes and arc comment
mattman
parents: 14716
diff changeset
    45
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
CFLAGS="$RPM_OPT_FLAGS" \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
./configure --enable-shared     \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
            --enable-static     \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
            --prefix=%{_prefix} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
            --sysconfdir=%{_sysconfdir} \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
            --mandir=%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
make
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
make DESTDIR=$RPM_BUILD_ROOT install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
#Clean up unpackaged files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
rm $RPM_BUILD_ROOT%{_libdir}/*.a
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
rm $RPM_BUILD_ROOT%{_libdir}/*la
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%post -p /sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%postun -p /sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%defattr(-,root,root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%doc COPYING AUTHORS ChangeLog NEWS README
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%{_datadir}/doc/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%{_datadir}/man/man1/speexenc.1*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%{_datadir}/man/man1/speexdec.1*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%attr(755,root,root) %{_bindir}/speex*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%attr(755,root,root) %{_libdir}/libspeex*.so*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%defattr(-,root,root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%{_includedir}/speex/speex*.h
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%{_datadir}/aclocal/speex.m4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%{_libdir}/pkgconfig/speex.pc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%changelog
15165
edd399a101c3 * base-specs/speex.spec : Add man page patch for attributes and arc comment
mattman
parents: 14716
diff changeset
    96
* Thu Feb 19 2009 - [email protected]
edd399a101c3 * base-specs/speex.spec : Add man page patch for attributes and arc comment
mattman
parents: 14716
diff changeset
    97
- Add manpages patch for attributes and ARC comment
edd399a101c3 * base-specs/speex.spec : Add man page patch for attributes and arc comment
mattman
parents: 14716
diff changeset
    98
14716
b69c380afa05 * base-specs/speex.spec: Bump to 1.2rc1.
jyu_mit
parents: 14571
diff changeset
    99
* Fri Dec 05 2008 - [email protected]
b69c380afa05 * base-specs/speex.spec: Bump to 1.2rc1.
jyu_mit
parents: 14571
diff changeset
   100
- Bump to 1.2rc1
b69c380afa05 * base-specs/speex.spec: Bump to 1.2rc1.
jyu_mit
parents: 14571
diff changeset
   101
12231
f75b5b1ad02f 2008-04-30 Brian Cameron <[email protected]>
yippi
parents: 11318
diff changeset
   102
* Tue Apr 29 2008 - [email protected]
f75b5b1ad02f 2008-04-30 Brian Cameron <[email protected]>
yippi
parents: 11318
diff changeset
   103
- Bump to 1.2beta3.2
f75b5b1ad02f 2008-04-30 Brian Cameron <[email protected]>
yippi
parents: 11318
diff changeset
   104
11318
c8b979a327b4 2007-12-12 Brian Cameron <[email protected]>
yippi
parents: 11149
diff changeset
   105
* Tue Dec 11 2007 - [email protected]
c8b979a327b4 2007-12-12 Brian Cameron <[email protected]>
yippi
parents: 11149
diff changeset
   106
- Bump to 1.2beta3.
c8b979a327b4 2007-12-12 Brian Cameron <[email protected]>
yippi
parents: 11149
diff changeset
   107
11149
dc72262d4ebe 2007-11-07 Brian Cameron <[email protected]>
yippi
parents: 11132
diff changeset
   108
* Wed Nov 07 2007 - [email protected]
dc72262d4ebe 2007-11-07 Brian Cameron <[email protected]>
yippi
parents: 11132
diff changeset
   109
- Bump to 1.2beta2.
dc72262d4ebe 2007-11-07 Brian Cameron <[email protected]>
yippi
parents: 11132
diff changeset
   110
9921
882ae95b3ce6 2007-05-17 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   111
* Thu May 17 2007 - [email protected]
882ae95b3ce6 2007-05-17 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   112
- Use a numeric version number. 'beta' is not permitted by WOS integration
882ae95b3ce6 2007-05-17 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   113
  scripts.
882ae95b3ce6 2007-05-17 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   114
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
* Fri Dec 01 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
- Bump to 1.2beta1. Remove obsolete patch, 01-empty-struct.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
* Thu Jul 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
- Bump to 1.1.12. Add patch, 01-empty-struct, to fix empty struct build error.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
* Wed Jan 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
- Single threaded make because of timing issues.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
* Tue Jan 03 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
- Bump to 1.1.11.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
* Tue Aug 23 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
- Remove an incorrect line from %files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
* Mon Aug 16 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
- Bump to 1.1.10.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
* Tue Aug 02 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
- Change copyright to license
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
* Tue Jul 26 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
- Fix defattr for files and files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
* Thu Jul 21 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
- Remove *.a and *.la files. Fix typo. Add proper configure arguments
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
* Wed Jul 20 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
- Initial spec file checkin