- forgot to commit this
[packages/akode.git] / akode.spec
1 Summary:        A library for doing full-text indexing
2 Name:           akode
3 Version:        050926
4 Release:        1
5 License:        LGPL
6 Group:          Libraries
7 Source0:        %{name}-%{version}.tar.bz2
8 # Source0-md5:  0f93efbd6a93253f337efab5ee9043d7
9 BuildRequires:  autoconf
10 BuildRequires:  automake
11 BuildRequires:  kdelibs-devel >= 9:3.2.0
12 BuildRequires:  rpmbuild(macros) >= 1.129
13 BuildRequires:  qt-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 A library for doing full-text indexing.
18
19 %package devel
20 Summary:        Header files for akode libraries
21 Summary(pl):    Pliki nag³ówkowe bibliotek akode
22 Group:          Development/Libraries
23 Requires:       %{name} = %{epoch}:%{version}-%{release}
24
25 %description devel
26 Header files for akode libraries.
27
28 %description devel -l pl
29 Pliki nag³ówkowe bibliotek akode.
30
31 %prep
32 %setup -q
33
34 %build
35 cp -f /usr/share/automake/config.sub admin
36 %{__make} -f admin/Makefile.common cvs
37
38 %configure \
39 %if "%{_lib}" == "lib64"
40         --enable-libsuffix=64 \
41 %endif
42         --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
43         --with-qt-libraries=%{_libdir}
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT \
52         kde_htmldir=%{_kdedocdir} \
53         kde_libs_htmldir=%{_kdedocdir} \
54         kdelnkdir=%{_desktopdir} \
55
56 #%find_lang %{name} --with-kde
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_bindir}/akodeplay
64 %attr(755,root,root) %{_libdir}/libakode.la
65 %attr(755,root,root) %{_libdir}/libakode.so.*.*.*
66 %{_libdir}/libakode_*.la
67 %attr(755,root,root) %{_libdir}/libakode_*.so
68 %{_libdir}/mcop/akode*PlayObject.mcopclass
69
70 %files devel
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_bindir}/akode-config
73 #{_includedir}/*.h
74 %{_includedir}/akode
75 %{_libdir}/libakode.so
This page took 0.032067 seconds and 4 git commands to generate.