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