audiofile.spec revision 18615
10139N/A#
10139N/A# spec file for package audiofile
10139N/A#
10139N/A# Copyright 2010 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
17185N/A%define owner yippi
10139N/A#
17178N/A
17178N/A%define OSR delivered in s10:0.2.6
17178N/A
15153N/AName: audiofile
10139N/ALicense: LGPL v2, GPLv2, MIT, Sun Public Domain
10139N/AGroup: System/Library/GNOME
17396N/AVersion: 0.2.7
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: 68k.org
10139N/ASummary: audiofile -
10139N/ASource: http://www.68k.org/~michael/audiofile/audiofile-%{version}.tar.gz
10139N/A# Note - I sent this patch to the maintainer and he agreed to accept it
10139N/A# into their next build. There is no bug tracking system for this module.
17314N/A#owner:yippi date:2004-02-25 type:feature
12773N/APatch1: audiofile-01-uninstalled-pc.diff
15153N/AURL: http://www.68k.org/~michael/audiofile/
15153N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12773N/ADocdir: %{_defaultdocdir}/%{name}
13551N/AAutoreqprov: on
13992N/ARequires: audiofile
10139N/A
10139N/A%description
10139N/AThe Audio File Library provides a uniform and elegant API for accessing
10139N/Aa variety of audio file formats, such as AIFF/AIFF-C, WAVE, NeXT/Sun
10139N/A.snd/.au, Berkeley/IRCAM/CARL Sound File, Audio Visual Research, Amiga
10139N/AIFF/8SVX, and NIST SPHERE. Supported compression formats are currently
10139N/AG.711 mu-law and A-law and IMA and MS ADPCM.
10139N/A
10139N/A%prep
10139N/A%setup -q
10139N/A%patch1 -p1
10139N/A
10139N/A%build
10139N/A%ifos linux
10139N/Aif [ -x /usr/bin/getconf ]; then
10139N/A CPUS=`getconf _NPROCESSORS_ONLN`
10139N/Afi
10139N/A%else
10139N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/A%endif
15153N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
15153N/A CPUS=1
15153N/Afi
15153N/A
15153N/Alibtoolize --force
13551N/Aaclocal
10139N/Aautoconf
10139N/Aautomake -a -c -f
10139N/Aexport CFLAGS="%optflags"
10139N/Aexport LDFLAGS="%_ldflags"
10139N/A./configure --prefix=%{_prefix} \
10139N/A --libdir=%{_libdir} \
10139N/A --bindir=%{_bindir} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A --with-esd-dir=%{_libexecdir} \
10139N/A --libexecdir=%{_libexecdir} \
10139N/A --mandir=%{_mandir}
10139N/Amake -j$CPUS
10139N/A
10139N/A
12773N/A%install
12773N/Amake install DESTDIR=$RPM_BUILD_ROOT
12773N/A
12773N/A%clean
12773N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
10139N/A%defattr (-, root, root)
10139N/A%{_libdir}/*
10139N/A%{_bindir}/*
10139N/A
10139N/A%changelog
10139N/A* Tue Apr 13 2010 - brian.cameron@sun.com
10139N/A- Bump to 0.2.7.
10139N/A* Fri Jan 22 2009 - brian.cameron@sun.com
17483N/A- Add patch audiofile-02-22_CVE-2008-5824.patch to fix bugster bug
17483N/A #6917569.
10139N/A* Wed Apr 4 2007 - laca@sun.com
10139N/A- convert to new style 64-bit build
10139N/A* Wed Mar 15 2007 - dougs@truemail.co.th
10139N/A- Removed adding ccdir to PATH
17483N/A* Wed Feb 28 2007 - laca@sun.com
17483N/A- update patch to use an uninstalled pkg-config .pc file instead of
10139N/A an uninstalled audiofile-config file, because the new esound only
10139N/A uses the .pc files
10139N/A* Sun Feb 18 2007 - laca@sun.com
10139N/A- create (split from SUNWgnome-audio.spec)
10139N/A