License: LGPLv2+
URL: http://www.alsa-project.org/
Source0: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.gz
+Source1001: packaging/alsa-lib.manifest
%description
%build
+cp %{SOURCE1001} .
export CFLAGS+=" -fPIC"
export LDFLAGS+=" -Wl,--warn-unresolved-symbols -Wl,--hash-style=both -Wl,--as-needed"
chmod +x autogen.sh
%postun -n libasound -p /sbin/ldconfig
%files
+%manifest alsa-lib.manifest
%defattr(-,root,root,-)
%files -n libasound
+%manifest alsa-lib.manifest
%defattr(-,root,root,-)
%{_libdir}/lib*.so.*
%{_libdir}/alsa-lib/smixer/*.so
%{_datadir}/alsa/*
%files -n libasound-devel
+%manifest alsa-lib.manifest
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/lib*.so