deadbeef Wiki
Brought to you by:
waker
Name: deadbeef
Version: 0.5.6
Release: 1%{?dist}
Summary: A music player with cue sheet support
Group: Applications/Multimedia
License: GPLv2+ and zlib
URL: http://deadbeef.sourceforge.net/
Source0: http://downloads.sourceforge.net/project/deadbeef/deadbeef-%{version}.tar.bz2
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: libtool, intltool, libICE-devel, libSM-devel
BuildRequires: dbus-devel, gtk2-devel, gettext-devel
BuildRequires: libcurl-devel, zlib-devel, libzip-devel, imlib2-devel
BuildRequires: libstdc++-static, yasm
BuildRequires: desktop-file-utils, wavpack-devel, libsndfile-devel
BuildRequires: alsa-lib-devel, pulseaudio-libs-devel
BuildRequires: libcdio-devel, libcddb-devel, libsamplerate-devel
BuildRequires: libogg-devel, libvorbis-devel, flac-devel
BuildRequires: libmad-devel, faad2-devel
%description
DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux systems with X11
Features:
* plays mp3, ogg, flac/oga, ape, wav, wv/iso.wv, aac/m4a, alac, mpc/mpp/mp+,
tta, wma, shn, sid, nsf, mod, s3m, vtx, vgm/vgz, psf, midi, audio cds,
all formats supported by ffmpeg, dumb, gme, libsndfile, adplug, and more!
* light on memory and CPU use
* expandable through plugins
* supports cuesheets, m3u and pls playlists
* plays internet radio (shoutcast, icecast, mms)
* global hot-keys
* reads and writes id3v1, id3v2, apev2, vorbiscomment tags
* non-unicode id3 tags detection
* user-customizable playlist columns with title-formatting
* high quality resampling using libsamplerate
* playback using ALSA, OSS and PulseAudio
* last.fm/libre.fm scrobbler
* sample-accurate seeking and gapless playback support for many formats
* multiple playlists organized in tabs
* album art display
* 18-band equalizer with presets
* album art display in playlist
* customizable OSD notifications with album covers
* configurable converter/transcoder
* replay gain (playback only)
* playing files directly from zip archives
* multichannel playback, support for integer 8, 16, 24, 32 and float 32 bit
sound output
* localized into many languages
%package devel
Summary: Development files for DeaDBeef music player
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description devel
Development files for DeaDBeeF - audio player for GNU/Linux systems with X11
%prep
%setup -q
#deleting Unity parts in deadbeef.desktop file
sed -i '15,40d' deadbeef.desktop*
%build
%configure --disable-abstract-socket --docdir=%{_docdir}/%{name}-%{version}
#removing rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
find $RPM_BUILD_ROOT -name '*.la' -delete
find $RPM_BUILD_ROOT -name '*.a' -delete
desktop-file-install \
--delete-original \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/deadbeef.desktop
%post
/usr/bin/update-desktop-database &> /dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
/usr/bin/update-desktop-database &> /dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
/usr/bin/gtk-update-icon-cache -f -t %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
%{_bindir}/deadbeef
%{_datadir}/icons/hicolor/*/apps/deadbeef.*g
%{_datadir}/applications/deadbeef.desktop
%{_datadir}/deadbeef/
%{_libdir}/deadbeef/
%{_docdir}/%{name}-%{version}/
%files devel
%{_includedir}/deadbeef/
%changelog
* Tue Oct 23 2012 starws <starws.box@gmail.com> - 0.5.6-1
- new build dependency: gettext-devel
- new upstream version 0.5.6
* Wed Jun 01 2012 starws <starws.box@gmail.com> - 0.5.5-1
- new build dependencies: libICE-devel, libsm-devel
- new upstream version 0.5.5
* Wed May 09 2012 starws <starws.box@gmail.com> - 0.5.4-1
- new upstream version 0.5.4
* Fri Feb 03 2012 starws <starws.box@gmail.com> - 0.5.2-1
- readded rpath removal script
- new build dependency: yasm
- fixed license info
- fixed devel package architecture
- new upstream version 0.5.2
* Sun Dec 11 2011 starws <starws.box@gmail.com> - 0.5.1-1
- minor bugfixes and improvements
* Mon Jul 04 2011 Leigh Scott <leigh123linux@googlemail.com> - 0.5.1-1
- sort out mess in BuildRequires section
- clean desktop file
- fixed desktop-files issue
- add to description sectio
- add required scriplets for mime and hicolor icons
* Mon Jul 04 2011 Leigh Scott <leigh123linux@googlemail.com> - 0.5.1-1
- moved .a devel files to -devel package.
- trailing slashes add to directories in files section
- Deleted *.la files
- fixed link syntax.
- moved .h devel files to -devel package.
- fixed unowned directories
* Tue Jun 28 2011 Alexey Komissarov <nomad71st@gmail.com> - 0.5.1-1
- initial spec file