Sophie

Sophie

distrib > Mageia > 8 > armv7hl > by-pkgid > a0d3d3f4054305af74f799b7daed74ff > files > 3

alsa-oss-1.1.8-2.mga8.src.rpm

%define beta 0

%define lib_major 0
%define pre rc4
%define rel 2

%define lib_name %mklibname %{name} %{lib_major}
%define develname %mklibname -d %{name}
%if %{beta}
%define fname %{name}-%{version}%{pre}
%else
%define fname %{name}-%{version}
%endif

Summary:	Advanced Linux Sound Architecture (ALSA) library
Name:		alsa-oss
Version:	1.1.8
%if %{beta}
Release:	%mkrel 0.%{pre}.%{rel}
%else
Release:	%mkrel %{rel}
%endif
Epoch:		1
Source0:	ftp://ftp.alsa-project.org/pub/oss-lib/%{fname}.tar.bz2
Patch0:		alsa-oss-1.0.12-aoss.patch 
License:	GPL
Url:		http://www.alsa-project.org/
Group:		Sound/Utilities
Requires:	kernel >= 2.4.18
BuildRequires:	doxygen 
BuildRequires:	pkgconfig(alsa) > 1.0.5

%description
Advanced Linux Sound Architecture (ALSA) is a modularized architecture which
supports quite a large range of ISA and PCI cards.
It's fully compatible with old OSS drivers (either OSS/Lite, OSS/commercial).
To use the features of alsa, one can either use:
- the old OSS api
- the new ALSA api that provides many enhanced features.

Using the ALSA api requires to use the ALSA library.
This library provides oss compatibility

%package -n %{lib_name}
Summary:    Advanced Linux Sound Architecture (ALSA) library
Group: System/Libraries
Provides:   %{name} = %{version}-%{release}
Provides:   lib%{name} = %{version}-%{release}

%description -n %{lib_name}
Advanced Linux Sound Architecture (ALSA) is a modularized architecture which
supports quite a large range of ISA and PCI cards.
It's fully compatible with old OSS drivers (either OSS/Lite, OSS/commercial).
To use the features of alsa, one can either use:
- the old OSS api
- the new ALSA api that provides many enhanced features.

Using the ALSA api requires to use the ALSA library.
This library provides oss compatibility

%package -n %{develname}
Summary:    Development files for Advanced Linux Sound Architecture (ALSA)
Group:      Development/C
Requires:   %{lib_name} = %{epoch}:%{version}
Obsoletes:  %{mklibname alsa-oss 1}-devel
Provides:   %{mklibname alsa-oss 1}-devel = %{version}-%{release}
Provides:   lib%{name}-devel = %{version}-%{release}
Provides:   %{name}-devel = %{version}-%{release}

%description -n %{develname}
Advanced Linux Sound Architecture (ALSA) is a modularized architecture which
supports quite a large range of ISA and PCI cards.
It's fully compatible with old OSS drivers (either OSS/Lite, OSS/commercial).
To use the features of alsa, one can either use:
- the old OSS api
- the new ALSA api that provides many enhanced features.

This package contains files needed in order to develop an application
that made use of ALSA.

%package -n aoss
Summary:    Wrapper script to ease ALSA-OSS compatibility library usage
Group:      Development/C
Requires:   %{lib_name} = %{epoch}:%{version}

%description -n aoss
aoss is a simple wrapper script which facilitates the use
of the ALSA OSS compatibility library.
It just sets the appropriate LD_PRELOAD path and then runs the command.

This is useful in cases where routing settings (which can
be made in your .asoundrc file) need to be applied to commands that use the
OSS API.


%prep
%setup -q -n %{fname}
%autopatch -p1

%build
autoreconf -fiv
%configure
make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%ldflags -ldl"

%install
mkdir -p %{buildroot}%{_includedir}/sys
mkdir -p %{buildroot}%{_libdir}
%make_install
rm -f %{buildroot}%{_libdir}/*.a %{buildroot}%{_libdir}/*.la

%files -n %{lib_name}
%doc COPYING
%{_libdir}/*.so.%{lib_major}*

%files -n %{develname}
%doc COPYING
%{_libdir}/*.so
%{_includedir}/oss-redir.h

%files -n aoss
%doc COPYING
%{_bindir}/aoss
%{_mandir}/man1/aoss.*


%changelog
* Fri Feb 14 2020 umeabot <umeabot> 1:1.1.8-2.mga8
+ Revision: 1522004
- Mageia 8 Mass Rebuild
+ wally <wally>
- replace deprecated %%configure2_5x
- replace deprecated %%makeinstall_std

* Thu Jan 10 2019 luigiwalser <luigiwalser> 1:1.1.8-1.mga7
+ Revision: 1354301
- 1.1.8
- remove upstream patch

* Fri Sep 21 2018 tv <tv> 1:1.1.6-2.mga7
+ Revision: 1294388
- fix build with new gcc/glibc
+ umeabot <umeabot>
- Mageia 7 Mass Rebuild

* Sun Apr 08 2018 luigiwalser <luigiwalser> 1:1.1.6-1.mga7
+ Revision: 1216076
- 1.1.6

* Mon Feb 08 2016 umeabot <umeabot> 1:1.0.28-5.mga6
+ Revision: 945184
- Mageia 6 Mass Rebuild

* Wed Oct 15 2014 umeabot <umeabot> 1:1.0.28-4.mga5
+ Revision: 739311
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1:1.0.28-3.mga5
+ Revision: 686482
- Rebuild to fix library dependencies

* Tue Sep 16 2014 umeabot <umeabot> 1:1.0.28-2.mga5
+ Revision: 677739
- Mageia 5 Mass Rebuild

* Wed Jun 18 2014 tv <tv> 1:1.0.28-1.mga5
+ Revision: 637896
- new release

* Fri Oct 18 2013 umeabot <umeabot> 1:1.0.25-4.mga4
+ Revision: 521232
- Mageia 4 Mass Rebuild

* Sat Jan 19 2013 fwang <fwang> 1:1.0.25-3.mga3
+ Revision: 389719
- update rpm group
+ pterjan <pterjan>
- Make the package updatable by Youri::Package::RPM::Updater
+ umeabot <umeabot>
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed Jan 25 2012 colin <colin> 1:1.0.25-1.mga2
+ Revision: 201527
- New version: 1.0.25

* Sun Jan 09 2011 ahmad <ahmad> 1:1.0.17-6.mga1
+ Revision: 3267
- clean spec and drop conflicts
- imported package alsa-oss


* Sun Oct 24 2010 Ahmad Samir <ahmadsamir@mandriva.org> 1:1.0.17-6mdv2011.0
+ Revision: 588698
- make the devel package have generic provides

* Sat Nov 14 2009 Frederik Himpe <fhimpe@mandriva.org> 1:1.0.17-5mdv2010.1
+ Revision: 466079
- Replace solink patch with patch from Fedora which deals correctly
  with x86_64 lib64 directory (fixes bug #55126)

* Sun Aug 09 2009 Oden Eriksson <oeriksson@mandriva.com> 1:1.0.17-4mdv2010.0
+ Revision: 413025
- rebuild

* Fri Mar 06 2009 Emmanuel Andry <eandry@mandriva.org> 1:1.0.17-3mdv2009.1
+ Revision: 350133
- use autoreconf
- protect major

* Wed Jul 16 2008 Colin Guthrie <cguthrie@mandriva.org> 1:1.0.17-2mdv2009.0
+ Revision: 236498
- New version: 1.0.17
- Remove invalid UTF8 from spec

* Tue Jun 10 2008 Thierry Vignaud <tv@mandriva.org> 1:1.0.15-2mdv2009.0
+ Revision: 217477
- fix underlinking
- kill re-definition of %%buildroot on Pixel's request

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Tue Oct 16 2007 Thierry Vignaud <tv@mandriva.org> 1:1.0.15-1mdv2008.1
+ Revision: 98944
- new release

* Wed Aug 29 2007 Thierry Vignaud <tv@mandriva.org> 1:1.0.14-2mdv2008.0
+ Revision: 74634
- new devel policy (won't upgrade devel package due to circular obsolete but nothing relied on this devel package anyway...)
- fix file conflict
- fix man pages
- new release

* Thu May 03 2007 Thierry Vignaud <tv@mandriva.org> 1:1.0.14-0.rc4mdv2008.0
+ Revision: 21558
- new release

  + Adam Williamson <awilliamson@mandriva.org>
    - Import alsa-oss




* Thu Aug 24 2006 Thierry Vignaud <tvignaud@mandriva.com> 1.0.12-1mdv2007.0
- new release

* Wed May 03 2006 Thierry Vignaud <tvignaud@mandriva.com> 1.0.11-1mdk
- new release

* Fri Nov 04 2005 Thierry Vignaud <tvignaud@mandriva.com> 1.0.10-0.rc3.1mdk
- new release
- redo patch 0

* Mon May 09 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.9-0.rc3.1mdk
- new release

* Sat May 07 2005 Olivier Thauvin <nanardon@mandriva.org> 1.0.9-0.rc2.2mdk
- fix specfile

* Fri Apr 15 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.9-0.rc2.1mdk
- new release

* Mon Mar 21 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.8-2mdk
- fix requires

* Thu Jan 13 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.8-1mdk
- new release

* Fri Jan 07 2005 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.8-0.rc2.1mdk
- new release

* Fri Nov 19 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.7-1mdk
- new release

* Mon Nov 15 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.6-2mdk
- patch 0: fix aoss script (#12281)
- fix requires and libification

* Mon Aug 16 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.6-1mdk
- new release

* Fri May 28 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.5-1mdk
- new release
- clean build

* Mon Apr 05 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.4-1mdk
- new release

* Tue Feb 24 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.2-3mdk
- fix changelog

* Tue Feb 24 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.2-2mdk
- fix unstallable package

* Fri Jan 09 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.1-1mdk
- new release

* Tue Aug 19 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.9.6-1mdk
- new release

* Wed Jul 16 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.9.0-0.8rc1mdk
- fix "let's obsolete myself" bug catched by distriblint

* Wed Jul 09 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.9.0-0.6rc1mdk
- fix provides/obsoletes conflict with libalsa2 (Andi Payn)

* Tue Apr 29 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.9.0-0.5rc1mdk
- fix buildrequires

* Fri Jan 03 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.9.0-0.4rc1mdk
- rebuild againts latest libalsa
- fix build with latest automake
- remove unpackaged static lib

* Thu Jul 18 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.9.0-0.3rc1mdk
- fix url

* Wed May 22 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.9.0-0.2rc1mdk
- build release

* Wed Apr 24 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.9.0-0.1rc1mdk
- release candidate 1

* Thu Apr 18 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.9.0-1beta11mdk
- initial release