- updated to 2.0.1
[packages/akode.git] / akode.spec
index a01a20a9c27fe2b4fe538da8cba2ae3dc2c99e45..cdf0bef1bcac2fd59b5bb194ad37d46904914792 100644 (file)
@@ -2,13 +2,13 @@
 Summary:       Audio-decoding framework library
 Summary(pl):   Biblioteka szkieletu dekodowania d¼wiêku
 Name:          akode
-Version:       2.0
-%define        _rc     b3
-Release:       0.%{_rc}.2
+Version:       2.0.1
+Release:       1
 License:       LGPL
 Group:         Libraries
-Source0:       http://www.kde-apps.org/content/files/30375-%{name}-%{version}%{_rc}.tar.gz
-# Source0-md5: b78b747e87811726ab336334038c64d8
+Source0:       http://www.kde-apps.org/content/files/30375-%{name}-%{version}.tar.bz2
+# Source0-md5: 94a10e7729b20b669bc5c7721f62e162
+Patch0:                %{name}-pulseaudio.patch
 URL:           http://www.carewolf.com/akode/
 BuildRequires: alsa-lib-devel
 BuildRequires: autoconf
@@ -16,14 +16,16 @@ BuildRequires:      automake
 BuildRequires: ffmpeg-devel >= 0.4.9-3.20050806.5
 BuildRequires: flac-devel >= 1.1.1
 BuildRequires: jack-audio-connection-kit-devel >= 0.90
+BuildRequires: faad2-devel
 BuildRequires: libltdl-devel
 BuildRequires: libmad-devel
 BuildRequires: libogg-devel
 BuildRequires: libsamplerate-devel
 BuildRequires: libstdc++-devel
 BuildRequires: libvorbis-devel >= 1:1.0
+BuildRequires: libx264-devel
 BuildRequires: pkgconfig
-BuildRequires: polypaudio-devel >= 0.7
+BuildRequires: pulseaudio-devel >= 0.9.2
 BuildRequires: rpmbuild(macros) >= 1.129
 BuildRequires: speex-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -35,10 +37,10 @@ Audio-decoding framework library.
 Biblioteka szkieletu dekodowania d¼wiêku.
 
 %package devel
-Summary:        Header files for akode library
-Summary(pl):    Pliki nag³ówkowe biblioteki akode
-Group:          Development/Libraries
-Requires:       %{name} = %{version}-%{release}
+Summary:       Header files for akode library
+Summary(pl):   Pliki nag³ówkowe biblioteki akode
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
 Requires:      libltdl-devel
 Requires:      libstdc++-devel
 
@@ -49,7 +51,8 @@ Header files for akode library.
 Pliki nag³ówkowe biblioteki akode.
 
 %prep
-%setup -q -n %{name}-%{version}%{_rc}
+%setup -q
+%patch0 -p1
 
 %build
 cp -f /usr/share/automake/config.sub admin
@@ -65,7 +68,7 @@ USER_INCLUDES="-I%{_includedir}/speex" \
        --with-libmad \
        --with-libsamplerate \
        --with-jack \
-       --with-polypaudio \
+       --with-pulseaudio \
        --with-ffmpeg \
        --with-oss \
        --with-alsa \
@@ -106,16 +109,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libakode_src_resampler.so
 %{_libdir}/libakode_xiph_decoder.la
 %attr(755,root,root) %{_libdir}/libakode_xiph_decoder.so
-%{_libdir}/mcop/akodeFFMPEGPlayObject.mcopclass
-%{_libdir}/mcop/akodeMPCPlayObject.mcopclass
-%{_libdir}/mcop/akodeMPEGPlayObject.mcopclass
-%{_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass
-%{_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass
-%{_libdir}/mcop/akodeXiphPlayObject.mcopclass
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/akode-config
-%attr(755,root,root) %{_libdir}/libakode.so
-%{_libdir}/libakode.la
 %{_includedir}/akode
+%{_libdir}/libakode.la
+%attr(755,root,root) %{_libdir}/libakode.so
This page took 0.033749 seconds and 4 git commands to generate.