]>
Commit | Line | Data |
---|---|---|
3a3af790 | 1 | # TODO: |
2 | # BS2B Plugin .......................disabled | |
3 | ||
4ae60cb5 | 4 | Summary: XMMS like audio player written in Qt |
3181b8ea | 5 | Summary(hu.UTF-8): XMMS-szerű Qt alapú audio-lejátszó |
4ae60cb5 | 6 | Summary(pl.UTF-8): Odtwarzacz muzyki w stylu XMMS napisany w Qt |
7 | Name: qmmp | |
ef8378a6 | 8 | Version: 0.6.4 |
5ab18526 | 9 | Release: 2 |
4ae60cb5 | 10 | License: GPL v2 |
11 | Group: X11/Applications/Multimedia | |
12 | Source0: http://qmmp.googlecode.com/files/%{name}-%{version}.tar.bz2 | |
ef8378a6 | 13 | # Source0-md5: 134e9b5187e73f0fd333b7b6c9e8672b |
4ae60cb5 | 14 | URL: http://code.google.com/p/qmmp/ |
15 | BuildRequires: QtCore-devel >= 4.3 | |
16 | BuildRequires: QtGui-devel >= 4.3 | |
ef8378a6 JR |
17 | BuildRequires: QtNetwork-devel |
18 | BuildRequires: QtOpenGL-devel | |
19 | BuildRequires: Qt3Support-devel | |
4ae60cb5 | 20 | BuildRequires: alsa-lib-devel >= 1.0.1 |
21 | BuildRequires: cmake | |
9af05c30 | 22 | BuildRequires: curl-devel >= 7.16 |
3a3af790 | 23 | BuildRequires: enca-devel >= 1.9 |
24 | BuildRequires: faad2-devel | |
4ae60cb5 | 25 | BuildRequires: ffmpeg-devel >= 0.4.9 |
26 | BuildRequires: flac-devel >= 1.1.3 | |
3a3af790 | 27 | BuildRequires: game-music-emu-devel |
4ae60cb5 | 28 | BuildRequires: gettext-devel |
29 | BuildRequires: jack-audio-connection-kit-devel >= 0.102.5 | |
3a3af790 | 30 | BuildRequires: libcddb-devel |
31 | BuildRequires: libcdio-devel | |
32 | BuildRequires: libcdio-devel | |
4ae60cb5 | 33 | BuildRequires: libmad-devel |
3a3af790 | 34 | BuildRequires: libmms-devel |
4ae60cb5 | 35 | BuildRequires: libmodplug-devel >= 0.8.4 |
36 | BuildRequires: libmpcdec-devel >= 1.2.6 | |
3a3af790 | 37 | BuildRequires: libprojectM-devel >= 2.0.0 |
4ae60cb5 | 38 | BuildRequires: libsamplerate-devel >= 0.1.2 |
39 | BuildRequires: libsndfile-devel >= 1.0.17 | |
40 | BuildRequires: libvorbis-devel | |
41 | BuildRequires: pulseaudio-devel >= 0.9.9 | |
e5634a0f | 42 | BuildRequires: qt4-linguist |
3181b8ea | 43 | BuildRequires: rpmbuild(macros) >= 1.129 |
4ae60cb5 | 44 | BuildRequires: sed >= 4.0 |
45 | BuildRequires: taglib-devel >= 1.4.0 | |
46 | BuildRequires: wavpack-devel >= 4.41 | |
3a3af790 | 47 | BuildRequires: wildmidi-devel |
4ae60cb5 | 48 | Requires(post,postun): /sbin/ldconfig |
49 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
50 | ||
51 | %description | |
52 | Audio player that supports: | |
53 | - file formats among: Vorbis, FLAC, MPEG1, WMA, WAV, | |
54 | - plugins, | |
55 | - Winamp and XMMS skins and more. | |
56 | ||
3181b8ea ZU |
57 | %description -l hu.UTF-8 |
58 | A lejátszó a következőket támogatja: | |
59 | - fájlformátumok: Vorbis, FLAC, MPEG1, WMA, WAV | |
60 | - pluginok | |
61 | - Wnamp és XMMS szkinek és még sok mást. | |
62 | ||
4ae60cb5 | 63 | %description -l pl.UTF-8 |
64 | Odtwarzacz audio wspierający: | |
65 | - formaty plikow m.in.: Vorbis, Flac, MPEG1, WMA, WAW, i inne, | |
66 | - system wtyczek, | |
67 | - skórki z XMMS i Winampa, i więcej. | |
68 | ||
69 | %package devel | |
70 | Summary: Header files for qmmp | |
71 | Summary(pl.UTF-8): Pliki nagłówkowe qmmp | |
72 | License: GPL v2.1+ | |
73 | Group: Development/Libraries | |
74 | ||
75 | %description devel | |
76 | Header files for qmmp | |
77 | ||
2d88363e | 78 | %description devel -l pl.UTF-8 |
4ae60cb5 | 79 | Pliki nagłówkowe qmmp |
80 | ||
81 | ||
82 | %prep | |
83 | %setup -q | |
84 | ||
85 | %build | |
86 | install -d build | |
87 | cd build | |
88 | %cmake \ | |
89 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
90 | -DLIB_INSTALL_DIR=%{_libdir} \ | |
4627d9f9 | 91 | -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \ |
4ae60cb5 | 92 | %if "%{_lib}" == "lib64" |
93 | -DLIB_SUFFIX=64 \ | |
94 | %endif | |
95 | .. | |
96 | ||
97 | %{__make} | |
98 | ||
99 | %install | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | cd build | |
103 | %{__make} install \ | |
104 | DESTDIR=$RPM_BUILD_ROOT \ | |
105 | kde_htmldir=%{_kdedocdir} \ | |
106 | kde_libs_htmldir=%{_kdedocdir} | |
107 | ||
108 | ||
109 | %clean | |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | ||
112 | %post -p /sbin/ldconfig | |
113 | %postun -p /sbin/ldconfig | |
114 | ||
115 | %files | |
116 | %defattr(644,root,root,755) | |
117 | %attr(755,root,root) %{_bindir}/* | |
118 | %attr(755,root,root) %{_libdir}/libqmmp.so.0.*.* | |
119 | %attr(755,root,root) %ghost %{_libdir}/libqmmp.so.0 | |
120 | %attr(755,root,root) %{_libdir}/libqmmpui.so.0.*.* | |
121 | %attr(755,root,root) %ghost %{_libdir}/libqmmpui.so.0 | |
122 | %attr(755,root,root) %{_libdir}/qmmp/ | |
123 | %{_desktopdir}/qmmp.desktop | |
3181b8ea ZU |
124 | %{_desktopdir}/qmmp_cue.desktop |
125 | %{_desktopdir}/qmmp_enqueue.desktop | |
3a3af790 | 126 | %dir %{_datadir}/qmmp |
127 | %dir %{_datadir}/qmmp/images | |
128 | %{_datadir}/qmmp/images/*.png | |
4ae60cb5 | 129 | %{_iconsdir}/hicolor/*/apps/qmmp.png |
3a3af790 | 130 | %{_iconsdir}/hicolor/scalable/apps/*.svgz |
4ae60cb5 | 131 | |
132 | %files devel | |
133 | %defattr(644,root,root,755) | |
134 | %{_includedir}/qmmp | |
135 | %{_includedir}/qmmpui | |
136 | %attr(755,root,root) %{_libdir}/libqmmp.so | |
137 | %attr(755,root,root) %{_libdir}/libqmmpui.so |