- cleaned up kdeisms, revised deps
[packages/akode.git] / akode.spec
1 # TODO: split plugins by deps
2 Summary:        Audio-decoding framework library
3 Summary(pl):    Biblioteka szkieletu dekodowania d¼wiêku
4 Name:           akode
5 Version:        2.0
6 %define _rc     b3
7 Release:        0.%{_rc}.1
8 License:        LGPL
9 Group:          Libraries
10 Source0:        http://www.kde-apps.org/content/files/30375-%{name}-%{version}%{_rc}.tar.gz
11 # Source0-md5:  b78b747e87811726ab336334038c64d8
12 URL:            http://www.carewolf.com/akode/
13 BuildRequires:  alsa-lib-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 #BuildRequires: ffmpeg-devel >= 0.4.9   (configure check fails with CVS 0.4.9)
17 BuildRequires:  flac-devel >= 1.1.1
18 BuildRequires:  jack-audio-connection-kit-devel >= 0.90
19 BuildRequires:  libltdl-devel
20 BuildRequires:  libmad-devel
21 BuildRequires:  libogg-devel
22 BuildRequires:  libsamplerate-devel
23 BuildRequires:  libstdc++-devel
24 BuildRequires:  libvorbis-devel >= 1:1.0
25 BuildRequires:  pkgconfig
26 BuildRequires:  polypaudio-devel >= 0.7
27 BuildRequires:  rpmbuild(macros) >= 1.129
28 BuildRequires:  speex-devel
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Audio-decoding framework library.
33
34 %description -l pl
35 Biblioteka szkieletu dekodowania d¼wiêku.
36
37 %package devel
38 Summary:        Header files for akode library
39 Summary(pl):    Pliki nag³ówkowe biblioteki akode
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42 Requires:       libltdl-devel
43 Requires:       libstdc++-devel
44
45 %description devel
46 Header files for akode library.
47
48 %description devel -l pl
49 Pliki nag³ówkowe biblioteki akode.
50
51 %prep
52 %setup -q -n %{name}-%{version}%{_rc}
53
54 %build
55 cp -f /usr/share/automake/config.sub admin
56 %{__make} -f admin/Makefile.common cvs
57
58 %configure \
59 %if "%{_lib}" == "lib64"
60         --enable-libsuffix=64 \
61 %endif
62         --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full}
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_bindir}/akodeplay
77 %attr(755,root,root) %{_libdir}/libakode.so.*.*.*
78 %attr(755,root,root) %{_libdir}/libakode_*.so
79 %{_libdir}/libakode_*.la
80 %{_libdir}/mcop/akode*PlayObject.mcopclass
81
82 %files devel
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_bindir}/akode-config
85 %attr(755,root,root) %{_libdir}/libakode.so
86 %{_libdir}/libakode.la
87 %{_includedir}/akode
This page took 0.038979 seconds and 3 git commands to generate.