base-specs/audiofile.spec
author Jon Tibble <meths@btinternet.com>
Thu, 15 Mar 2012 09:58:35 +0000
branchs11express-2010-11
changeset 22104 cde243cbe3f6
parent 20083 450635fa0066
child 20343 4198ebdad7ef
permissions -rw-r--r--
Added tag oi_151a_prestable2 for changeset 47b3f775541a
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
20083
450635fa0066 Synced Brian Cameron's relicensing changes for November release
davelam
parents: 17864
diff changeset
    14
License:      LGPL v2, MIT, Sun Public Domain, binaries use GPLv2
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
9415
99ac5d941d77 Fixed comment again based on Laca's comments.
yippi
parents: 9414
diff changeset
    22
# Note - I sent this patch to the maintainer and he agreed to accept it
99ac5d941d77 Fixed comment again based on Laca's comments.
yippi
parents: 9414
diff changeset
    23
# into their next build.  There is no bug tracking system for this module.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
#owner:yippi date:2004-02-25 type:feature
16627
7f5a559d0a22 2009-09-23 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
    25
Patch1:       audiofile-01-uninstalled-pc.diff
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
URL:          http://www.68k.org/~michael/audiofile/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Docdir:       %{_defaultdocdir}/%{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Autoreqprov:  on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Requires:     audiofile
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
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
    34
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
    35
.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
    36
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
    37
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
    38
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%setup -q
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%patch1 -p1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%ifos linux
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
if [ -x /usr/bin/getconf ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
  CPUS=`getconf _NPROCESSORS_ONLN`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
  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
    50
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
if test "x$CPUS" = "x" -o $CPUS = 0; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
  CPUS=1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
libtoolize --force
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
aclocal
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
automake -a -c -f
9687
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    59
export CFLAGS="%optflags"
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    60
export LDFLAGS="%_ldflags"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
./configure --prefix=%{_prefix}				\
9687
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    62
            --libdir=%{_libdir}                         \
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    63
            --bindir=%{_bindir}                         \
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
	    --sysconfdir=%{_sysconfdir} 		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
            --with-esd-dir=%{_libexecdir}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
            --libexecdir=%{_libexecdir}                 \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
	    --mandir=%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
make -j$CPUS
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
make install DESTDIR=$RPM_BUILD_ROOT
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
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%defattr (-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%{_libdir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%changelog
17837
bbca8d7448a6 2010-04-13 Brian Cameron <[email protected]>
yippi
parents: 17421
diff changeset
    83
* Tue Apr 13 2010 - [email protected]
bbca8d7448a6 2010-04-13 Brian Cameron <[email protected]>
yippi
parents: 17421
diff changeset
    84
- Bump to 0.2.7.
17421
15a7a9832159 2010-01-22 Brian Cameron <[email protected]>
yippi
parents: 16627
diff changeset
    85
* Fri Jan 22 2009 - [email protected]
15a7a9832159 2010-01-22 Brian Cameron <[email protected]>
yippi
parents: 16627
diff changeset
    86
- 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
    87
  #6917569.
9687
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    88
* Wed Apr  4 2007 - [email protected]
e826ffbe7b08 2007-04-05 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9565
diff changeset
    89
- convert to new style 64-bit build
9565
4f6ed9cc5ede 2007-03-15 Doug Scott <[email protected]>
drdoug
parents: 9415
diff changeset
    90
* Wed Mar 15 2007 - [email protected]
4f6ed9cc5ede 2007-03-15 Doug Scott <[email protected]>
drdoug
parents: 9415
diff changeset
    91
- Removed adding ccdir to PATH
9406
2ded3de706ff 2007-02-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    92
* Wed Feb 28 2007 - [email protected]
2ded3de706ff 2007-02-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    93
- 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
    94
  an uninstalled audiofile-config file, because the new esound only
2ded3de706ff 2007-02-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    95
  uses the .pc files
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
* Sun Feb 18 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
- create (split from SUNWgnome-audio.spec)