]> git.pld-linux.org Git - packages/akode.git/blobdiff - akode.spec
- new
[packages/akode.git] / akode.spec
index 698c40f826339f01515b4a54a6686c68e2b0701f..c1d9501d20d6172fc6d95836e5078afd8c82567e 100644 (file)
@@ -2,12 +2,15 @@
 Summary:       Audio-decoding framework library
 Summary(pl):   Biblioteka szkieletu dekodowania d¼wiêku
 Name:          akode
-Version:       2.0
-Release:       1
+Version:       2.0.1
+Release:       2
 License:       LGPL
 Group:         Libraries
-Source0:       http://www.kde-apps.org/content/files/30375-%{name}-%{version}.tar.gz
-# Source0-md5: 04f79cda65c8e9966fa462eaaaa282dc
+Source0:       http://www.kde-apps.org/content/files/30375-%{name}-%{version}.tar.bz2
+# Source0-md5: 94a10e7729b20b669bc5c7721f62e162
+Patch0:                %{name}-pulseaudio.patch
+Patch1:                kde-ac260.patch
+Patch2:                kde-ac260-lt.patch
 URL:           http://www.carewolf.com/akode/
 BuildRequires: alsa-lib-devel
 BuildRequires: autoconf
@@ -15,14 +18,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)
@@ -49,6 +54,9 @@ Pliki nag
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 cp -f /usr/share/automake/config.sub admin
@@ -64,7 +72,7 @@ USER_INCLUDES="-I%{_includedir}/speex" \
        --with-libmad \
        --with-libsamplerate \
        --with-jack \
-       --with-polypaudio \
+       --with-pulseaudio \
        --with-ffmpeg \
        --with-oss \
        --with-alsa \
@@ -82,6 +90,9 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/akodeplay
@@ -109,6 +120,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/akode-config
-%{_includedir}/akode
-%{_libdir}/libakode.la
 %attr(755,root,root) %{_libdir}/libakode.so
+%{_libdir}/libakode.la
+%{_includedir}/akode
This page took 0.035771 seconds and 4 git commands to generate.