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