]> git.pld-linux.org Git - packages/akode.git/blame - akode.spec
- updated to 2.0.2 (flac/ogg issue fixed).
[packages/akode.git] / akode.spec
CommitLineData
9989ee2b
PS
1#
2# TODO:
3# - split plugins by deps
9989ee2b 4#
f0548744 5Summary: Audio-decoding framework library
753e99ca 6Summary(pl.UTF-8): Biblioteka szkieletu dekodowania dźwięku
0aab3d3e 7Name: akode
22c3ffa6
PS
8Version: 2.0.2
9Release: 1
0aab3d3e 10License: LGPL
11Group: Libraries
22c3ffa6
PS
12Source0: http://www.kde-apps.org/CONTENT/content-files/30375-%{name}-%{version}.tar.bz2
13# Source0-md5: 659ced0c9c735cb3e55b9138ff02342c
4706a9d2 14Patch0: %{name}-pulseaudio.patch
22c3ffa6 15Patch1: kde-common-PLD.patch
5da3bdb0 16Patch2: kde-ac260-lt.patch
f0548744 17URL: http://www.carewolf.com/akode/
12433e66 18BuildRequires: alsa-lib-devel
0aab3d3e 19BuildRequires: autoconf
20BuildRequires: automake
32cb635a 21BuildRequires: ffmpeg-devel >= 0.4.9-3.20050806.5
cce9ca5a
JB
22BuildRequires: flac-devel >= 1.1.1
23BuildRequires: jack-audio-connection-kit-devel >= 0.90
b9180cee 24BuildRequires: faad2-devel
12433e66
AM
25BuildRequires: libmad-devel
26BuildRequires: libogg-devel
27BuildRequires: libsamplerate-devel
cce9ca5a
JB
28BuildRequires: libstdc++-devel
29BuildRequires: libvorbis-devel >= 1:1.0
b9180cee 30BuildRequires: libx264-devel
cce9ca5a 31BuildRequires: pkgconfig
4706a9d2 32BuildRequires: pulseaudio-devel >= 0.9.2
12433e66
AM
33BuildRequires: rpmbuild(macros) >= 1.129
34BuildRequires: speex-devel
0aab3d3e 35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
f0548744
JB
38Audio-decoding framework library.
39
36854fce
JR
40%description -l pl.UTF-8
41Biblioteka szkieletu dekodowania dźwięku.
0aab3d3e 42
43%package devel
563b1b9c 44Summary: Header files for akode library
753e99ca 45Summary(pl.UTF-8): Pliki nagłówkowe biblioteki akode
563b1b9c
ER
46Group: Development/Libraries
47Requires: %{name} = %{version}-%{release}
cce9ca5a
JB
48Requires: libltdl-devel
49Requires: libstdc++-devel
0aab3d3e 50
51%description devel
cce9ca5a 52Header files for akode library.
0aab3d3e 53
36854fce
JR
54%description devel -l pl.UTF-8
55Pliki nagłówkowe biblioteki akode.
0aab3d3e 56
57%prep
928c58f5 58%setup -q
e2ded606 59%patch0 -p1
5da3bdb0
PS
60%patch1 -p1
61%patch2 -p1
0aab3d3e 62
63%build
64cp -f /usr/share/automake/config.sub admin
65%{__make} -f admin/Makefile.common cvs
66
32cb635a 67USER_INCLUDES="-I%{_includedir}/speex" \
0aab3d3e 68%configure \
69%if "%{_lib}" == "lib64"
70 --enable-libsuffix=64 \
71%endif
32cb635a
PS
72 --with-flac \
73 --with-speex \
74 --with-libmad \
75 --with-libsamplerate \
76 --with-jack \
4706a9d2 77 --with-pulseaudio \
32cb635a 78 --with-ffmpeg \
9989ee2b 79 --without-libltdl \
32cb635a
PS
80 --with-oss \
81 --with-alsa \
82 --with-vorbis \
cce9ca5a 83 --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full}
32cb635a 84
0aab3d3e 85%{__make}
86
87%install
88rm -rf $RPM_BUILD_ROOT
0aab3d3e 89
90%{__make} install \
cce9ca5a 91 DESTDIR=$RPM_BUILD_ROOT
0aab3d3e 92
41825547
PS
93rm $RPM_BUILD_ROOT%{_libdir}/libakode_*.la
94
0aab3d3e 95%clean
96rm -rf $RPM_BUILD_ROOT
97
e5634150
JB
98%post -p /sbin/ldconfig
99%postun -p /sbin/ldconfig
100
0aab3d3e 101%files
102%defattr(644,root,root,755)
103%attr(755,root,root) %{_bindir}/akodeplay
0aab3d3e 104%attr(755,root,root) %{_libdir}/libakode.so.*.*.*
32cb635a 105# plugins
32cb635a 106%attr(755,root,root) %{_libdir}/libakode_alsa_sink.so
32cb635a 107%attr(755,root,root) %{_libdir}/libakode_ffmpeg_decoder.so
32cb635a 108%attr(755,root,root) %{_libdir}/libakode_jack_sink.so
32cb635a 109%attr(755,root,root) %{_libdir}/libakode_mpc_decoder.so
32cb635a 110%attr(755,root,root) %{_libdir}/libakode_mpeg_decoder.so
32cb635a 111%attr(755,root,root) %{_libdir}/libakode_oss_sink.so
32cb635a 112%attr(755,root,root) %{_libdir}/libakode_polyp_sink.so
32cb635a 113%attr(755,root,root) %{_libdir}/libakode_src_resampler.so
32cb635a 114%attr(755,root,root) %{_libdir}/libakode_xiph_decoder.so
0aab3d3e 115
116%files devel
117%defattr(644,root,root,755)
118%attr(755,root,root) %{_bindir}/akode-config
928c58f5 119%attr(755,root,root) %{_libdir}/libakode.so
e5634150
JB
120%{_libdir}/libakode.la
121%{_includedir}/akode
This page took 0.045257 seconds and 4 git commands to generate.