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