Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e29c8a11f | ||
|
|
9bf4b88328 | ||
|
|
953c5e1fb2 | ||
|
|
58ec0b405a |
4 changed files with 126 additions and 1 deletions
13
alsa-oss-1.0.12-aoss.patch
Normal file
13
alsa-oss-1.0.12-aoss.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
--- alsa/aoss.in.orig 2005-10-27 14:34:18.000000000 -0400
|
||||
+++ alsa/aoss.in 2006-04-02 15:53:53.000000000 -0400
|
||||
@@ -5,9 +5,7 @@
|
||||
# aoss <command> <command options and arguments>
|
||||
|
||||
if [ -d /proc/asound ]; then
|
||||
- prefix=@prefix@
|
||||
- exec_prefix=@exec_prefix@
|
||||
- LD_PRELOAD=${exec_prefix}/\$LIB/libaoss.so${LD_PRELOAD:+:$LD_PRELOAD} exec "$@"
|
||||
+ LD_PRELOAD=@libdir@/libaoss.so.0${LD_PRELOAD:+:$LD_PRELOAD} exec "$@"
|
||||
else
|
||||
exec "$@"
|
||||
fi
|
||||
112
alsa-oss.spec
Normal file
112
alsa-oss.spec
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
Summary: Advanced Linux Sound Architecture (ALSA) wrapper for OSS
|
||||
Name: alsa-oss
|
||||
Version: 1.0.12
|
||||
Release: 5%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/Multimedia
|
||||
URL: http://www.alsa-project.org/
|
||||
Source: ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-%{version}.tar.bz2
|
||||
Patch: %{name}-%{version}-aoss.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: alsa-lib-devel >= %{version}
|
||||
%ifarch x86_64
|
||||
BuildRequires: automake, libtool
|
||||
%endif
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
%description
|
||||
This package contains the compatibility library and wrapper script for
|
||||
running legacy OSS applications through ALSA. Unlike the kernel
|
||||
driver, this has the advantage of supporting DMIX software mixing.
|
||||
|
||||
%package libs
|
||||
Summary: ALSA/OSS wrapper libraries
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description libs
|
||||
System libraries for alsa-oss.
|
||||
|
||||
%package devel
|
||||
Summary: Headers for ALSA wrapper for OSS
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}, %{name}-libs = %{version}-%{release}
|
||||
%description devel
|
||||
Header files for alsa-oss.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%ifarch x86_64
|
||||
autoreconf -f -i
|
||||
%endif
|
||||
%configure \
|
||||
%ifarch x86_64
|
||||
--disable-rpath \
|
||||
%endif
|
||||
--disable-static
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%{_bindir}/aoss
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/*.so.*
|
||||
%{_mandir}/man?/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc oss-redir/README
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/*.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Aug 16 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-5
|
||||
- License clarification
|
||||
|
||||
* Thu Feb 08 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-4
|
||||
- Split out libraries to -libs subpackage, fixing BZ#221711
|
||||
- Implemented changes as recommended by Jason Tibbitts
|
||||
- Adjusted aoss patch to allow for 32-bit library use on x86_64
|
||||
- Added reference in man page to added functionality
|
||||
- Resultant alsa-oss package reports no-binary error (necessary evil, I guess)
|
||||
|
||||
* Fri Oct 06 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-3
|
||||
- Added conditionalized rpath fixes for x86_64 (thanks Denis!)
|
||||
- Re-added *.a to -devel package
|
||||
- Added %%defattr for -devel, added oss-redir/README as %%doc
|
||||
|
||||
* Thu Oct 05 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-2
|
||||
- Adding --disable-static to configure
|
||||
- Removing *.a from -devel package
|
||||
- Adding name and version to patch
|
||||
- Removing commented-out autoreconf line
|
||||
- Forcibly deleting *.a files in %%install (why didn't it believe me?)
|
||||
|
||||
* Tue Oct 03 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-1
|
||||
- Hijacked from stalled review (BZ#187706)
|
||||
- Bumped to 1.0.12 for devel branch
|
||||
- Removed Req for /sbin/ldconfig (unnecessary when using -p in scriptlets)
|
||||
- Added dist tag!
|
||||
- Made macros slightly more consistent
|
||||
- Deleted .la files in %%install
|
||||
|
||||
* Sun Apr 2 2006 Michel Salim <michel.salim@gmail.com> 1.0.11-1.rc3
|
||||
- Initial build.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Retired on 2013-08-19 due to lack of a maintainer in preparation to branch Fedora 20
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
d4d18bbf63a866d6e065b90e16acd676 alsa-oss-1.0.12.tar.bz2
|
||||
Reference in a new issue