development: alsaplayer needs rebuild

Peter Lemenkov petro at mail.ru
Sun Aug 28 01:57:11 UTC 2005


On Thu, 21 Apr 2005, Matthias Saou wrote:

>> I wanted to fill this in bugzilla, but there's no alsaplayer package at
>> https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Fedora%
>> 20Extras&

> That's because it went "bye bye" :-/
> It requires to be built with libmad to be able to play mp3's, so the
> easiest was to just drop it and let it be provided from elsewhere. If you
> really want to try to have it back in Extras, take a look at how hard it
> would be to just disable the mp3 support in the main package (no need to
> even patch code out it seems) and provide the libmad decoding part from
> elsewhere (I don't remember if alsaplayer is modular, though).

New spec-file, which splits AlsaPlayer into the bunch of 
packages. So we may exclude libmad-plugin from extras (and may include it 
to Livna repo).

-- 
With best regards, Peter Lemenkov.
-------------- next part --------------
# $Id: alsaplayer.spec 3053 2005-03-24 17:16:13Z dag $
# Authority: matthias

Summary: Audio player for Un*x-systems.
Name:		alsaplayer
Version:	0.99.76
Release:	1
License:	GPL
Group:		Applications/Multimedia
Source0:	http://alsaplayer.org/%{name}-%{version}.tar.bz2
Source1: alsaplayer.png
Source2: alsaplayer-small.png
Source3: alsaplayer-large.png
#Patch0:	%{name}-nas.patch
#Patch1:	%{name}-docs.patch
BuildRequires:	alsa-lib-devel
BuildRequires:	audiofile-devel
BuildRequires:	esound-devel
BuildRequires:	gtk+-devel
BuildRequires:	mikmod-devel
BuildRequires:  flac-devel
BuildRequires:  libid3tag-devel
BuildRequires:  libsndfile-devel
BuildRequires:  xosd-devel
BuildRequires:	libvorbis-devel >= 1:1.0
BuildRequires:	libmad-devel
#BuildRequires:	nas-devel
BuildRequires:	xorg-x11-devel
Buildroot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
AlsaPlayer is a new PCM player developed on the Linux Operating System. Since
the first public beta release it support has been added for various other
Operating Systems (mostly Unix variants). AlsaPlayer was written in the first
place to excercise the new ALSA (Advanced Linux Sound Architecture) driver and
library system.

It has now developed into a versitile audio player with rich plugin system. 
The  Input Plugins plugins include: OGG, MPEG, MAD, CDDA, MikMod, and 
Audiofile. The Output Plugins include: ALSA, OSS and OSS/Lite, Esound, 
Sparc (tested on UltraSparc), SGI, and JACK. There are also a few scope 
plugins included.

Install AlsaPlayer if you want a versatile audio player.

%package input-audiofile
Summary:	Alsaplayer plugin for playing wave audio formats
Group:		Applications/Multimedia
Requires:	%{name} = %{version}
Requires: 	audiofile

%description input-audiofile
Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
WAVE, ...).

%package input-cdda
Summary:	Alsaplayer plugin for playing CD-Audio
Group:		Applications/Multimedia
Requires:	%{name} = %{version}

%description input-cdda
Alsaplayer plugin for playing CD-Audio.

%package input-flac
Summary:	Alsaplayer plugin for playing FLAC files 
Group:		Applications/Multimedia
Requires:	%{name} = %{version}
Requires:	flac

%description input-flac
Alsaplayer plugin for playing FLAC files.

%package input-mad
Summary:	Alsaplayer plugin for playing MP3 files using MAD 
Group:		Applications/Multimedia
Requires:	%{name} = %{version}
Requires:	libmad

%description input-mad
Alsaplayer plugin for playing MP3 files using MAD.

%package input-mikmod
Summary:	Alsaplayer plugin for playing mod files
Group:		Applications/Multimedia
Requires:	%{name} = %{version}
Requires: 	mikmod

%description input-mikmod
Alsaplayer plugin for playing mod files.

%package input-sndfile
Summary:	Alsaplayer plugin for playing wave audio formats
Group:		Applications/Multimedia
Requires:	%{name} = %{version}
Requires:	libsndfile

%description input-sndfile
Alsaplayer plugin for playing wave audio formats (like AIFF, AIFC,
WAVE, ...).

%package input-vorbis
Summary:	Alsaplayer plugin for playing ogg/vorbis files
Group:		Applications/Multimedia
Requires:	%{name} = %{version}
Requires:	libvorbis

%description input-vorbis
Alsaplayer plugin for playing ogg/vorbis files.

%package output-alsa
Summary:	Alsaplayer plugin for playing through alsa drivers
Group:		Applications/Multimedia
Requires:	%{name} = %{version}
Requires:	alsa-lib

%description output-alsa
Alsaplayer plugin for playing sound through alsa drivers.

%package output-esound
Summary:	Alsaplayer plugin for playing through esound daemon
Group:		Applications/Multimedia
Requires:	%{name} = %{version}
Requires: 	esound

%description output-esound
Alsaplayer plugin for playing sound through esound daemon.

#%package output-jack
#Summary:	Alsaplayer plugin for playing through JACK
#Group:		Applications/Multimedia
#Requires:	%{name} = %{version}
#Requires:	jack-audio-connection-kit

#%description output-jack
#Alsaplayer plugin for playing sound through JACK.

#%package output-nas
#Summary:	Alsaplayer plugin for playing through NAS daemon
#Group:		Applications/Multimedia
#Requires:	%{name} = %{version}
#Requires:	nas

#%description output-nas
#Alsaplayer plugin for playing sound through NAS (network audio
#system) daemon.

%package output-oss
Summary:	Alsaplayer plugin for playing through OSS
Group:		Applications/Multimedia
Requires:	%{name} = %{version}

%description output-oss
Alsaplayer plugin for playing sound through OSS.

%package scopes-gtk
Summary:	Alsaplayer plugin for visualization
Group:		Applications/Multimedia
Requires:	%{name} = %{version}
Requires:	gtk+

%description scopes-gtk
Alsaplayer plugin for visualization.

%package scopes-opengl
Summary:	Alsaplayer plugin for visualization using OpenGL
Group:		Applications/Multimedia
Requires:	%{name} = %{version}

%description scopes-opengl
Alsaplayer plugin for visualization using OpenGL.

%package interface-gtk
Summary:	GTK+ interface for Alsaplayer.
Group:		Applications/Multimedia
Requires:	%{name} = %{version}
Requires:	gtk+

%description interface-gtk
GTK+ interface for Alsaplayer.

%package interface-xosd
Summary:	XOSD interface for Alsaplayer.
Group:		Applications/Multimedia
Requires:	%{name} = %{version}
Requires:	xosd

%description interface-xosd
XOSD interface for Alsaplayer.

%package devel
Summary:	Library for remote control Alsaplayer - development files
Group:		Applications/Multimedia
Requires:	%{name} = %{version}

%description devel
Library for remote control Alsaplayer - development files

%prep
%setup

%build
#%configure --enable-audiofile
%configure \
	--enable-alsa \
	--enable-audiofile \
	--enable-esd \
	--enable-gtk \
	--enable-mikmod \
	--enable-oggvorbis \
	--enable-opengl \
	--enable-oss 
#	--enable-nas 	
#%ifarch sparc	
#	--enable-sparc
#%endif
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
# Install icons
%{__mkdir_p} %{buildroot}%{_datadir}/pixmaps
%{__install} -p -m644 %{SOURCE1} %{SOURCE2} %{SOURCE3} \
    %{buildroot}%{_datadir}/pixmaps/

# System menu entry
%{__cat} << EOF > %{name}.desktop
[Desktop Entry]
Name=ALSA Player
Comment=Audio player for the Advanced Linux Sound Architecture
Icon=alsaplayer.png
Exec=alsaplayer
Terminal=false
Type=Application
Encoding=UTF-8
Category=Application;AudioVideo;
EOF

%{__mkdir_p} %{buildroot}%{_datadir}/applications
desktop-file-install --vendor fedora \
  --dir %{buildroot}%{_datadir}/applications    \
  %{name}.desktop
# Clean up for the docs
%{__rm} -f examples/Makefile*
%{__rm} -rf %{buildroot}%{_docdir}/%{name}


%clean
%{__rm} -rf %{buildroot}


%post
/sbin/ldconfig

%postun
/sbin/ldconfig


%files
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING README
%{_bindir}/%{name}
%{_libdir}/%{name}/input/libwav.*
%{_libdir}/%{name}/interface/libdaemon_interface.*
%{_libdir}/%{name}/interface/libtext_interface.*
%{_libdir}/%{name}/output/libnull_out.*
%{_libdir}/%{name}/reader
%{_mandir}/man1/%{name}.1*
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/pixmaps/%{name}*

%files input-audiofile
%defattr(-, root, root, 0755)
%{_libdir}/%{name}/input/libaf.*

%files input-cdda
%defattr(-, root, root, 0755)
%{_libdir}/%{name}/input/libcdda.*

%files input-flac
%defattr(-, root, root, 0755)
%{_libdir}/%{name}/input/libflac_in.*

%files input-mad
%defattr(-, root, root, 0755)
%{_libdir}/%{name}/input/libmad_in.*

%files input-mikmod
%defattr(-, root, root, 0755)
%{_libdir}/%{name}/input/libmod.*

%files input-sndfile
%defattr(-, root, root, 0755)
%{_libdir}/%{name}/input/libsndfile_in.*

%files input-vorbis
%defattr(-, root, root, 0755)
%{_libdir}/%{name}/input/libvorbis_in.*

%files interface-gtk
%defattr(-, root, root, 0755)
%{_libdir}/%{name}/interface/libgtk_interface.*

%files interface-xosd
%defattr(-, root, root, 0755)
%{_libdir}/%{name}/interface/libxosd_interface.*

%files output-alsa
%defattr(-, root, root, 0755)
%{_libdir}/%{name}/output/libalsa_out.*

%files output-esound
%defattr(-, root, root, 0755)
%{_libdir}/%{name}/output/libesound_out.*

%files output-oss
%defattr(-, root, root, 0755)
%{_libdir}/%{name}/output/liboss_out.*

%files scopes-gtk
%defattr(-, root, root, 0755)
%{_libdir}/%{name}/scopes/libblurscope.*
%{_libdir}/%{name}/scopes/liblevelmeter.*
%{_libdir}/%{name}/scopes/liblogbarfft.*
%{_libdir}/%{name}/scopes/libmonoscope.*
%{_libdir}/%{name}/scopes/libspacescope.*
%{_libdir}/%{name}/scopes/libsynaescope.*

%files scopes-opengl
%defattr(-, root, root, 0755)
%{_libdir}/%{name}/scopes/liboglspectrum.*

%files devel
%defattr(-, root, root, 0755)
%doc ChangeLog TODO docs/reference/html examples
%{_includedir}/%{name}
%{_libdir}/lib%{name}.*
%{_libdir}/pkgconfig/%{name}.pc

%changelog
* Mon Aug 30 2004 Matthias Saou <http://freshrpms.net/> 0.99.76-2
- Added ldconfig calls since there are libs included.

* Wed May 19 2004 Matthias Saou <http://freshrpms.net/> 0.99.76-2
- Rebuild for Fedora Core 2.

* Fri Nov  7 2003 Matthias Saou <http://freshrpms.net/> 0.99.76-1
- Update to 0.99.76.
- Rebuild for Fedora Core 1.
- Added missing gcc-c++ build dependency.

* Fri May  2 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.99.75.

* Mon Mar 31 2003 Matthias Saou <http://freshrpms.net/>
- Rebuilt for Red Hat Linux 9.
- Fix build order.

* Sat Feb  8 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.99.74.
- Added xosd support.

* Mon Jan 13 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.99.73.

* Fri Sep 27 2002 Matthias Saou <http://freshrpms.net/>
- Rebuilt for Red Hat Linux 8.0.
- New desktop entry.

* Wed Sep 18 2002 Matthias Saou <http://freshrpms.net/>
- Update to 0.99.72.
- Further spec file changes and fixes.

* Thu Sep  5 2002 Matthias Saou <http://freshrpms.net/>
- Spec file cleanup to match freshrpms.net habits :-)

* Sat Jul 6 2002 Angles <angles at aminvestments.com>
- version 0.99.71

* Thu May 30 2002 Angles <angles at aminvestments.com>
- version 0.99.70
- updated summary and description to highlight the apps increased versitility
- minor spec file cleanup and desktop link update to latest usage

* Sun May 5 2002 Angles <angles at aminvestments.com>
- version 0.99.60
- package now has include files
- package has 4 files in libdir that actually belong there, not in a subdir
- made patch so rpm installs docs, not the app make install

* Sat Apr 6 2002 Angles <angles at phpgroupware.org>
- version 0.99.58

* Wed Mar 20 2002 Angles <angles at phpgroupware.org>
- version 0.99.57

* Sat Mar 02 2002 Angles <angles at phpgroupware.org>
- version 0.99.54

* Sat Feb 23 2002 Angles <angles at phpgroupware.org> 0.99.53-aap4
- customize for RedHat 7.2

* Sat Feb 16 2002 Yves Duret <yduret at mandrakesoft.com> 0.99.53-1mdk
- version 0.99.53
- %%makeinstall_std

* Sat Jan 26 2002 Yves Duret <yduret at mandrakesoft.com> 0.99.52-1mdk
- version 0.99.52
- build against mad
- png icons

* Sat Dec 22 2001 Stefan van der Eijk <stefan at eijk.nu> 0.99.50-3mdk
- fix BuildRequires

* Fri Dec  7 2001 Chmouel Boudjnah <chmouel at mandrakesoft.com> 0.99.50-2mdk
- s|Copyright|License|;

* Fri Sep 28 2001 Chmouel Boudjnah <chmouel at mandrakesoft.com> 0.99.50-1mdk
- 0.99.50.
- Add --enable-alsa --enable-esd --disable-debug --enable-oggvorbis.

* Fri Aug 24 2001 Chmouel Boudjnah <chmouel at mandrakesoft.com> 0.99.36-1mdk
- 0.99.36.

* Sat Jun 16 2001 Stefan van der Eijk <stefan at eijk.nu> 0.99.33-0.2mdk
- BuildRequires: gtk+-devel

* Fri Jun 15 2001 Chmouel Boudjnah <chmouel at mandrakesoft.com> 0.99.33-0.1mdk
- 0.99.33-pre3.

* Fri Feb  9 2001 Jeff Garzik <jgarzik at mandrakesoft.com> 0.99.32-13mdk
- Do not exclude alpha from build.

* Thu Dec  7 2000 Chmouel Boudjnah <chmouel at mandrakesoft.com> 0.99.32-12mdk
- Recompile with alsa-0.5.10.

* Tue Nov 28 2000 Chmouel Boudjnah <chmouel at mandrakesoft.com> 0.99.32-11mdk
- Add icons.

* Sat Nov 18 2000 Chmouel Boudjnah <chmouel at mandrakesoft.com> 0.99.32-10mdk
- fix gcc2.96 compilation.

* Thu Oct 24 2000 David BAUDENS <baudens at mandrakesoft.com> 0.99.32-9mdk
- EcludeArch: ppc

* Thu Aug 24 2000 Thierry Vignaud <tvignaud at mandrakesoft.com> 0.99.32-8mdk
- remove some debugging messages

* Thu Aug 24 2000 Thierry Vignaud <tvignaud at mandrakesoft.com> 0.99.32-7mdk
- build against latest alsa-lib
- fix requires

* Sun Aug 13 2000 Guillaume Cottenceau <gc at mandrakesoft.com> 0.99.32-6mdk
- disabled the use of makeinstall macro in order to have the libraries installed
  in the correct place (reported by Anton Graham <darkimage at bigfoot.com>)
- cleaner specfile
- more menu dir macros

* Mon Aug 07 2000 Frederic Lepied <flepied at mandrakesoft.com> 0.99.32-5mdk
- automatically added BuildRequires

* Mon Jul 17 2000 Thierry Vignaud <tvignaud at mandrakesoft.com> 0.99.32-4mdk
- fix macros

* Tue Jun 27 2000 Chmouel Boudjnah <chmouel at mandrakesoft.com> 0.99.32-3mdk
- macroszifications.
- build against latest alsa-lib
- Use macros for update-menus.

* Mon Jun 26 2000 Thierry Vignaud <tvignaud at mandrakesoft.com> 0.99.32-2mdk
- build against latest alsa-lib
- add url

* Thu Jun 08 2000 Thierry Vignaud <tvignaud at mandrakesoft.com> 0.99.32-1mdk
- new release

* Fri May 19 2000 Francis Galiegue <fg at mandrakesoft.com> 0.99.31-2mdk

- ExcludeArch: alpha sparc sparc64

* Sun Apr 23 2000 Chmouel Boudjnah <chmouel at mandrakesoft.com> 0.99.31-1mdk
- Add menu entry.
- Fix Requires.
- Fix titi sucks.
- Build again latest alsa-lib and libmikmod.

* Thu Apr 20 2000 Guillaume Cottenceau <gc at mandrakesoft.com> 0.99.31-2mdk
- fixed group

* Thu Mar 09 2000 Thierry Vignaud <tvignaud at mandrakesoft.com>
- update to 99.31
- compiled against alsa-lib-0.5.5

* Tue Aug 24 1999 Thierry Vignaud <tvignaud at mandrakesoft.com>
- initial spec


More information about the fedora-extras-list mailing list