Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e29c8a11f | ||
|
|
9bf4b88328 | ||
|
|
953c5e1fb2 | ||
|
|
58ec0b405a |
2 changed files with 27 additions and 27 deletions
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: alsa-oss
|
||||
# $Id: Makefile,v 1.1 2006/10/06 09:09:36 jima Exp $
|
||||
NAME := alsa-oss
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
Summary: Advanced Linux Sound Architecture (ALSA) wrapper for OSS
|
||||
Name: alsa-oss
|
||||
Version: 1.0.12
|
||||
Release: 3%{?dist}
|
||||
License: GPL
|
||||
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
|
||||
|
|
@ -12,22 +12,30 @@ 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}
|
||||
Requires: %{name} = %{version}-%{release}, %{name}-libs = %{version}-%{release}
|
||||
%description devel
|
||||
Header files for alsa-oss.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%ifarch x86_64
|
||||
|
|
@ -48,13 +56,16 @@ autoreconf -f -i
|
|||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%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?/*
|
||||
|
||||
|
|
@ -67,6 +78,16 @@ autoreconf -f -i
|
|||
|
||||
|
||||
%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
|
||||
|
|
|
|||
Reference in a new issue