Update to 1.1.0 (rhbz#705166)

This commit is contained in:
Hans de Goede 2011-05-18 11:07:30 +02:00
parent df5466d96b
commit 35c4557030
3 changed files with 8 additions and 18 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
libao-0.8.8.tar.gz
/libao-1.0.0.tar.gz
/libao-1.1.0.tar.gz

View File

@ -1,17 +1,14 @@
Name: libao
Version: 1.0.0
Release: 3%{?dist}
Version: 1.1.0
Release: 1%{?dist}
Summary: Cross Platform Audio Output Library
Group: System Environment/Libraries
License: GPLv2+
URL: http://xiph.org/ao/
Source0: http://downloads.xiph.org/releases/ao/%{name}-%{version}.tar.gz
Source1: ao.req
#libao-1.0.0 Pulse Audio Fix, patch from upstream
Patch0: libao-1.0.0-ao-pulse-fixes.patch
#silence errors when ie libesd or libarts are not installed, rhbz#645924
Patch1: libao-1.0.0-silence-plugin-loading.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: esound-devel >= 0.2.8
BuildRequires: arts-devel
BuildRequires: alsa-lib-devel
@ -41,13 +38,8 @@ developing applications that use %{name}.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
sed -i "s/-O20/$RPM_OPT_FLAGS/" configure
sed -i "s/-ffast-math//" configure
# 216108
sed -i "s/= -version-info/= -export-symbols-regex '^ao_.*' -version-info/" src/Makefile.in
sed -i "s/-O20 -ffast-math//" configure
%build
@ -58,17 +50,11 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
# remove unpackaged files from the buildroot
find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \;
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@ -91,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed May 18 2011 Hans de Goede <hdegoede@redhat.com> - 1.1.0-1
- Update to 1.1.0 (rhbz#705166)
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

View File

@ -1 +1 @@
08283fbe1f587619053a156254afecec libao-1.0.0.tar.gz
2b2508c29bc97e4dc218fa162cf883c8 libao-1.1.0.tar.gz