diff --git a/.cvsignore b/.cvsignore new file mode 100644 index 0000000..81e9ed8 --- /dev/null +++ b/.cvsignore @@ -0,0 +1 @@ +30375-akode-2.0.tar.gz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8ef17d3 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: akode +# $Id$ +NAME := akode +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) diff --git a/akode.spec b/akode.spec new file mode 100644 index 0000000..043f1e6 --- /dev/null +++ b/akode.spec @@ -0,0 +1,118 @@ + +Summary: Audio-decoding framework +Name: akode +Version: 2.0 +Release: 1%{?dist} +License: LGPL +Group: System Environment/Libraries +URL: http://carewolf.com/akode/ +#URL: http://www.kde-apps.org/content/show.php?content=30375 +Source: http://www.kde-apps.org/content/files/30375-akode-2.0.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: automake +BuildRequires: alsa-lib-devel +BuildRequires: flac-devel +BuildRequires: libsamplerate-devel +BuildRequires: speex-devel +BuildRequires: libvorbis-devel +BuildRequires: libtool + +%description +aKode is a simple audio-decoding frame-work that provides a uniform +interface to decode the most common audio-formats. It also has a direct +playback option for a number of audio-outputs. + +aKode currently has the following decoder plugins: +* mpc: Decodes musepack aka mpc audio. +* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio. + +aKode also has the following audio outputs: +* oss: Outputs to the OSS (Open Sound System) +* alsa: Outputs to ALSA (dmix is recommended). +%if 0 +TODO +* jack: Outputs using Jack audio backend. +* polyp: Output to the polypaudio server. Recommended for network + transparent audio. +%endif + +%package devel +Summary: Headers for developing programs that will use %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +%description devel +%{summary}. + + +%prep +%setup -q -n %{name}-%{version}%{?beta} + +[ ! -f configure ] && make -f Makefile.cvs + + +%build +%configure \ + --disable-static \ + --disable-debug --disable-warnings --disable-dependency-tracking \ + --without-libltdl \ + --with-alsa \ + --with-flac \ + --with-libsamplerate \ + --with-speex \ + --with-vorbis \ + --without-jack \ + --without-polypaudio \ + --without-ffmpeg \ + --without-libmad + +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT + +make install DESTDIR=$RPM_BUILD_ROOT + +# unpackaged files +rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +# NEWS omitted, currently empty +#doc NEWS +%{_bindir}/akodeplay +%{_libdir}/libakode.so.* +%{_libdir}/libakode_*_*.so + +%files devel +%defattr(-,root,root,-) +%{_bindir}/akode-config +%{_includedir}/* +%{_libdir}/libakode.so + + +%changelog +* Mon Dec 19 2005 Rex Dieter 2.0-1 +- 2.0(final) + +* Wed Nov 23 2005 Rex Dieter 2.0-0.4.rc1 +- 2.0rc1 + +* Wed Nov 23 2005 Rex Dieter 2.0-0.1.b3 +- akode-2.0b3 + diff --git a/dead.package b/dead.package deleted file mode 100644 index cf57267..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -akode was primarily for kdemultimedia(3), now deprecated in the F9+ kde4 world diff --git a/sources b/sources new file mode 100644 index 0000000..87a9794 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +04f79cda65c8e9966fa462eaaaa282dc 30375-akode-2.0.tar.gz