]>
Commit | Line | Data |
---|---|---|
1 | %define _state stable | |
2 | %define orgname audiocd-kio | |
3 | %define qtver 4.8.1 | |
4 | ||
5 | Summary: Audiocd protocol for konqueror | |
6 | Summary(pl.UTF-8): Protokół audiocd dla konquerora | |
7 | Name: kde4-%{orgname} | |
8 | Version: 4.10.4 | |
9 | Release: 1 | |
10 | License: GPL v2+ | |
11 | Group: X11/Applications | |
12 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz | |
13 | # Source0-md5: 0036b5b2cfc2c37e3ceccd1c394e680a | |
14 | BuildRequires: automoc4 >= 0.9.88 | |
15 | BuildRequires: cdparanoia-III-devel | |
16 | BuildRequires: cmake >= 2.8.0 | |
17 | BuildRequires: flac-devel >= 1.1.2 | |
18 | BuildRequires: kde4-kdelibs-devel >= %{version} | |
19 | BuildRequires: kde4-libkcddb-devel | |
20 | BuildRequires: kde4-libkcompactdisc-devel | |
21 | BuildRequires: libogg-devel | |
22 | BuildRequires: libstdc++-devel | |
23 | BuildRequires: libvorbis-devel | |
24 | BuildRequires: phonon-devel >= 4.4.1 | |
25 | BuildRequires: pkgconfig | |
26 | BuildRequires: qt4-build >= %{qtver} | |
27 | BuildRequires: qt4-qmake >= %{qtver} | |
28 | BuildRequires: rpmbuild(macros) >= 1.600 | |
29 | Requires: kde4-libkcddb >= %{version} | |
30 | Requires: kde4-konqueror >= %{version} | |
31 | Provides: kdemultimedia(audiocd) = %{version}-%{release} | |
32 | Obsoletes: kde4-kdemultimedia-audiocd < 4.8.99-1 | |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
36 | This package allows konqueror to play audiocd's without the need of an | |
37 | external application. Just enter audiocd:/ in the location field. | |
38 | ||
39 | %description -l pl.UTF-8 | |
40 | Ten pakiet pozwala konquerorowi odtwarzanie płyt z muzyką bez potrzeby | |
41 | używania zewnętrznej aplikacji. Po prostu wpisz audiocd:/ w pole | |
42 | adresu. | |
43 | ||
44 | %prep | |
45 | %setup -q -n %{orgname}-%{version} | |
46 | ||
47 | %build | |
48 | install -d build | |
49 | cd build | |
50 | %cmake \ | |
51 | ../ | |
52 | ||
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} -C build install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT \ | |
60 | kde_htmldir=%{_kdedocdir} | |
61 | ||
62 | #%find_lang kio_audiocd --with-kde | |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %post -p /sbin/ldconfig | |
68 | %postun -p /sbin/ldconfig | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
72 | %attr(755,root,root) %{_libdir}/kde4/kcm_audiocd.so | |
73 | %attr(755,root,root) %{_libdir}/kde4/kio_audiocd.so | |
74 | %attr(755,root,root) %{_libdir}/kde4/libaudiocd_encoder*.so | |
75 | %attr(755,root,root) %{_libdir}/libaudiocdplugins.so.4.*.* | |
76 | %attr(755,root,root) %ghost %{_libdir}/libaudiocdplugins.so.? | |
77 | %{_datadir}/config.kcfg/audiocd_*_encoder.kcfg | |
78 | %{_datadir}/kde4/services/audiocd.protocol | |
79 | %{_datadir}/kde4/services/audiocd.desktop | |
80 | %{_datadir}/apps/solid/actions/solid_audiocd.desktop | |
81 | %{_datadir}/apps/konqsidebartng/virtual_folders/services/audiocd.desktop | |
82 | %lang(en) %{_kdedocdir}/en/kioslave/audiocd |