base-specs/audiofile.spec
author yippi
Thu, 31 May 2012 20:16:52 +0000
changeset 22481 1ff6784d9b6f
parent 21096 a842797a1d55
permissions -rw-r--r--
2012-05-31 Brian Cameron <[email protected]> * base-specs/shared-mime-info.spec: Bump to 1.0. * base-specs/nautilus.spec, base-specs/pulseaudio.spec, base-specs/gnome-settings-daemon.spec, specs/SUNWdconf.spec: Add patch comments. * base-specs/gnome-panel.spec: Add --disable-telepathy-glib so it does not build with this module we do not deliver.
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 audiofile
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
17837
bbca8d7448a6 2010-04-13 Brian Cameron <[email protected]>
yippi
parents: 17421
diff changeset
     4
# Copyright 2010 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: 16426
diff changeset
     8
%define owner yippi
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
16426
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 14571
diff changeset
    10
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 14571
diff changeset
    11
%define OSR delivered in s10:0.2.6
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 14571
diff changeset
    12
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
Name:         audiofile
20343
4198ebdad7ef 2010-11-10 Brian Cameron <[email protected]>
yippi
parents: 20083
diff changeset
    14
License:      LGPL v2, MIT, Sun Public Domain, binaries use GPL v2
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Group:        System/Library/GNOME
17837
bbca8d7448a6 2010-04-13 Brian Cameron <[email protected]>
yippi
parents: 17421
diff changeset
    16
Version:      0.2.7
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Distribution: Java Desktop System
17864
337913e88a9d 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17837
diff changeset
    19
Vendor:       68k.org
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Summary:      audiofile - 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Source:       http://www.68k.org/~michael/audiofile/audiofile-%{version}.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
URL:          http://www.68k.org/~michael/audiofile/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Docdir:       %{_defaultdocdir}/%{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Requires:     audiofile
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
The Audio File Library provides a uniform and elegant API for accessing
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
a variety of audio file formats, such as AIFF/AIFF-C, WAVE, NeXT/Sun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
.snd/.au, Berkeley/IRCAM/CARL Sound File, Audio Visual Research, Amiga
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
IFF/8SVX, and NIST SPHERE. Supported compression formats are currently
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
G.711 mu-law and A-law and IMA and MS ADPCM.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%setup -q
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
  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
    45
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
libtoolize --force
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
automake -a -c -f
9687
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    54
export CFLAGS="%optflags"
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    55
export LDFLAGS="%_ldflags"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
./configure --prefix=%{_prefix}				\
9687
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    57
            --libdir=%{_libdir}                         \
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    58
            --bindir=%{_bindir}                         \
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
	    --sysconfdir=%{_sysconfdir} 		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
            --with-esd-dir=%{_libexecdir}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
            --libexecdir=%{_libexecdir}                 \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
	    --mandir=%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
make -j$CPUS
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%defattr (-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%{_libdir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%{_bindir}/*
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
%changelog
21096
a842797a1d55 2010-12-06 Brian Cameron <[email protected]>
yippi
parents: 20343
diff changeset
    78
* Thu Dec 02 2010 - [email protected]
a842797a1d55 2010-12-06 Brian Cameron <[email protected]>
yippi
parents: 20343
diff changeset
    79
- No longer need the unintalled-pc patch since we no longer build ESounD.
17837
bbca8d7448a6 2010-04-13 Brian Cameron <[email protected]>
yippi
parents: 17421
diff changeset
    80
* Tue Apr 13 2010 - [email protected]
bbca8d7448a6 2010-04-13 Brian Cameron <[email protected]>
yippi
parents: 17421
diff changeset
    81
- Bump to 0.2.7.
17421
15a7a9832159 2010-01-22 Brian Cameron <[email protected]>
yippi
parents: 16627
diff changeset
    82
* Fri Jan 22 2009 - [email protected]
15a7a9832159 2010-01-22 Brian Cameron <[email protected]>
yippi
parents: 16627
diff changeset
    83
- Add patch audiofile-02-22_CVE-2008-5824.patch to fix bugster bug 
15a7a9832159 2010-01-22 Brian Cameron <[email protected]>
yippi
parents: 16627
diff changeset
    84
  #6917569.
9687
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    85
* Wed Apr  4 2007 - [email protected]
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    86
- convert to new style 64-bit build
9565
4f6ed9cc5ede 2007-03-15 Doug Scott <[email protected]>
drdoug
parents: 9415
diff changeset
    87
* Wed Mar 15 2007 - [email protected]
4f6ed9cc5ede 2007-03-15 Doug Scott <[email protected]>
drdoug
parents: 9415
diff changeset
    88
- Removed adding ccdir to PATH
9406
2ded3de706ff 2007-02-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    89
* Wed Feb 28 2007 - [email protected]
2ded3de706ff 2007-02-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    90
- update patch to use an uninstalled pkg-config .pc file instead of
2ded3de706ff 2007-02-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    91
  an uninstalled audiofile-config file, because the new esound only
2ded3de706ff 2007-02-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    92
  uses the .pc files
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
* Sun Feb 18 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
- create (split from SUNWgnome-audio.spec)