]>
Commit | Line | Data |
---|---|---|
943076d3 JB |
1 | # TODO: Output/oss4 plugin (R: soundcard.h from OSS 4) |
2 | Summary: XMMS like audio player based on Qt | |
3181b8ea | 3 | Summary(hu.UTF-8): XMMS-szerű Qt alapú audio-lejátszó |
943076d3 | 4 | Summary(pl.UTF-8): Odtwarzacz muzyki w stylu XMMS oparty na Qt |
4ae60cb5 | 5 | Name: qmmp |
943076d3 JB |
6 | Version: 0.10.8 |
7 | Release: 1 | |
8 | License: GPL v2+ | |
4ae60cb5 | 9 | Group: X11/Applications/Multimedia |
943076d3 JB |
10 | Source0: http://qmmp.ylsoftware.com/files/%{name}-%{version}.tar.bz2 |
11 | # Source0-md5: 5504999a4a0ee477367871ff181be4d6 | |
12 | URL: http://qmmp.ylsoftware.com/ | |
13 | BuildRequires: Qt3Support-devel >= 4.6 | |
d538f3d0 | 14 | BuildRequires: QtCore-devel >= 4.6 |
943076d3 | 15 | BuildRequires: QtDBus-devel >= 4.6 |
d538f3d0 | 16 | BuildRequires: QtGui-devel >= 4.6 |
943076d3 JB |
17 | BuildRequires: QtMultimedia-devel >= 4.6 |
18 | BuildRequires: QtNetwork-devel >= 4.6 | |
19 | BuildRequires: QtOpenGL-devel >= 4.6 | |
4ae60cb5 | 20 | BuildRequires: alsa-lib-devel >= 1.0.1 |
943076d3 | 21 | BuildRequires: cmake >= 2.8.6 |
9af05c30 | 22 | BuildRequires: curl-devel >= 7.16 |
3a3af790 | 23 | BuildRequires: enca-devel >= 1.9 |
943076d3 JB |
24 | BuildRequires: faad2-devel >= 2.6.1 |
25 | # libavcodec>=53.34.0 libavformat>=53.20.0 libavutil>=51.21.0 | |
26 | BuildRequires: ffmpeg-devel >= 0.9.1 | |
4ae60cb5 | 27 | BuildRequires: flac-devel >= 1.1.3 |
943076d3 | 28 | BuildRequires: game-music-emu-devel >= 0.5.5 |
10238340 | 29 | BuildRequires: gettext-tools |
4ae60cb5 | 30 | BuildRequires: jack-audio-connection-kit-devel >= 0.102.5 |
d538f3d0 | 31 | BuildRequires: libbs2b-devel >= 3.0.0 |
943076d3 JB |
32 | BuildRequires: libcddb-devel >= 1.3.1 |
33 | BuildRequires: libcdio-devel >= 0.80 | |
34 | BuildRequires: libcdio-paranoia-devel >= 0.90_10.2 | |
4ae60cb5 | 35 | BuildRequires: libmad-devel |
d538f3d0 | 36 | BuildRequires: libmms-devel >= 0.4 |
4ae60cb5 | 37 | BuildRequires: libmodplug-devel >= 0.8.4 |
38 | BuildRequires: libmpcdec-devel >= 1.2.6 | |
943076d3 | 39 | BuildRequires: libogg-devel |
3a3af790 | 40 | BuildRequires: libprojectM-devel >= 2.0.0 |
4ae60cb5 | 41 | BuildRequires: libsamplerate-devel >= 0.1.2 |
943076d3 | 42 | BuildRequires: libsidplayfp-devel >= 1.0.3 |
4ae60cb5 | 43 | BuildRequires: libsndfile-devel >= 1.0.17 |
943076d3 | 44 | BuildRequires: libstdc++-devel |
4ae60cb5 | 45 | BuildRequires: libvorbis-devel |
943076d3 | 46 | BuildRequires: opus-devel >= 1.0.2 |
32cace1c | 47 | BuildRequires: opusfile-devel >= 0.2 |
943076d3 | 48 | BuildRequires: pkgconfig |
d538f3d0 | 49 | BuildRequires: pulseaudio-devel >= 0.9.15 |
943076d3 JB |
50 | BuildRequires: qt4-build >= 4.6.0 |
51 | BuildRequires: qt4-linguist >= 4.6.0 | |
52 | BuildRequires: rpmbuild(macros) >= 1.605 | |
4ae60cb5 | 53 | BuildRequires: sed >= 4.0 |
943076d3 JB |
54 | BuildRequires: soxr-devel >= 0.1.0 |
55 | BuildRequires: taglib-devel >= 1.6 | |
4ae60cb5 | 56 | BuildRequires: wavpack-devel >= 4.41 |
943076d3 JB |
57 | BuildRequires: wildmidi-devel >= 0.2.3.4 |
58 | BuildRequires: xorg-lib-libX11-devel | |
59 | Requires: Qt3Support >= 4.6 | |
60 | Requires: QtCore >= 4.6 | |
61 | Requires: QtDBus >= 4.6 | |
62 | Requires: QtGui >= 4.6 | |
63 | Requires: QtMultimedia >= 4.6 | |
64 | Requires: QtNetwork >= 4.6 | |
65 | Requires: QtOpenGL >= 4.6 | |
66 | Requires: curl-libs >= 7.16 | |
67 | Requires: enca-libs >= 1.9 | |
68 | Requires: faad2-libs >= 2.6.1 | |
69 | Requires: ffmpeg-libs >= 0.9.1 | |
70 | Requires: flac >= 1.1.3 | |
71 | Requires: game-music-emu >= 0.5.5 | |
72 | Requires: jack-audio-connection-kit-libs >= 0.102.5 | |
73 | Requires: libbs2b >= 3.0.0 | |
74 | Requires: libcddb >= 1.3.1 | |
75 | Requires: libcdio >= 0.80 | |
76 | Requires: libcdio-paranoia >= 0.90_10.2 | |
77 | Requires: libmms >= 0.4 | |
78 | Requires: libmodplug >= 0.8.4 | |
79 | Requires: libmpcdec >= 1.2.6 | |
80 | Requires: libprojectM >= 2.0.0 | |
81 | Requires: libsidplayfp >= 1.0.3 | |
82 | Requires: libsndfile >= 1.0.17 | |
83 | Requires: opus >= 1.0.2 | |
84 | Requires: opusfile >= 0.2 | |
85 | Requires: pulseaudio-libs >= 0.9.15 | |
86 | Requires: soxr >= 0.1.0 | |
87 | Requires: taglib >= 1.6 | |
88 | Requires: wavpack >= 4.41 | |
89 | Requires: wildmidi >= 0.2.3.4 | |
4ae60cb5 | 90 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
91 | ||
92 | %description | |
93 | Audio player that supports: | |
943076d3 | 94 | - file formats among: Vorbis, FLAC, MPEG1, WMA, WAV... |
4ae60cb5 | 95 | - plugins, |
96 | - Winamp and XMMS skins and more. | |
97 | ||
3181b8ea ZU |
98 | %description -l hu.UTF-8 |
99 | A lejátszó a következőket támogatja: | |
100 | - fájlformátumok: Vorbis, FLAC, MPEG1, WMA, WAV | |
101 | - pluginok | |
102 | - Wnamp és XMMS szkinek és még sok mást. | |
103 | ||
4ae60cb5 | 104 | %description -l pl.UTF-8 |
943076d3 JB |
105 | Odtwarzacz audio obsługujący m.in.: |
106 | - formaty plikow m.in.: Vorbis, FLAC, MPEG1, WMA, WAV i inne, | |
4ae60cb5 | 107 | - system wtyczek, |
943076d3 | 108 | - skórki z XMMS i Winampa. |
4ae60cb5 | 109 | |
110 | %package devel | |
111 | Summary: Header files for qmmp | |
112 | Summary(pl.UTF-8): Pliki nagłówkowe qmmp | |
4ae60cb5 | 113 | Group: Development/Libraries |
943076d3 JB |
114 | Requires: %{name} = %{version}-%{release} |
115 | Requires: QtCore-devel >= 4.6 | |
116 | Requires: QtGui-devel >= 4.6 | |
117 | Requires: QtNetwork-devel >= 4.6 | |
4ae60cb5 | 118 | |
119 | %description devel | |
943076d3 | 120 | Header files for qmmp. |
4ae60cb5 | 121 | |
2d88363e | 122 | %description devel -l pl.UTF-8 |
943076d3 | 123 | Pliki nagłówkowe qmmp. |
4ae60cb5 | 124 | |
125 | %prep | |
126 | %setup -q | |
127 | ||
128 | %build | |
129 | install -d build | |
130 | cd build | |
1b2c0c66 JB |
131 | %cmake .. \ |
132 | -DUSE_OSS=ON | |
4ae60cb5 | 133 | |
134 | %{__make} | |
135 | ||
136 | %install | |
137 | rm -rf $RPM_BUILD_ROOT | |
138 | ||
943076d3 JB |
139 | %{__make} -C build install \ |
140 | DESTDIR=$RPM_BUILD_ROOT | |
4ae60cb5 | 141 | |
142 | %clean | |
143 | rm -rf $RPM_BUILD_ROOT | |
144 | ||
145 | %post -p /sbin/ldconfig | |
146 | %postun -p /sbin/ldconfig | |
147 | ||
148 | %files | |
149 | %defattr(644,root,root,755) | |
943076d3 JB |
150 | %doc AUTHORS COPYING.CC-by-sa_V4 ChangeLog ChangeLog.svn README |
151 | %lang(ru) %doc ChangeLog.rus README.RUS | |
152 | %lang(uk) %doc README.UKR | |
153 | %attr(755,root,root) %{_bindir}/qmmp | |
154 | %attr(755,root,root) %{_libdir}/libqmmp.so.*.*.* | |
4ae60cb5 | 155 | %attr(755,root,root) %ghost %{_libdir}/libqmmp.so.0 |
943076d3 | 156 | %attr(755,root,root) %{_libdir}/libqmmpui.so.*.*.* |
4ae60cb5 | 157 | %attr(755,root,root) %ghost %{_libdir}/libqmmpui.so.0 |
943076d3 JB |
158 | %dir %{_libdir}/qmmp/CommandLineOptions |
159 | %attr(755,root,root) %{_libdir}/qmmp/CommandLineOptions/lib*option.so | |
160 | %dir %{_libdir}/qmmp/Effect | |
161 | # R: libbs2b | |
162 | %attr(755,root,root) %{_libdir}/qmmp/Effect/libbs2b.so | |
163 | %attr(755,root,root) %{_libdir}/qmmp/Effect/libcrossfade.so | |
164 | %attr(755,root,root) %{_libdir}/qmmp/Effect/libladspa.so | |
165 | # R: soxr | |
166 | %attr(755,root,root) %{_libdir}/qmmp/Effect/libsoxr.so | |
167 | %attr(755,root,root) %{_libdir}/qmmp/Effect/libstereo.so | |
168 | %dir %{_libdir}/qmmp/Engines | |
169 | %attr(755,root,root) %{_libdir}/qmmp/Engines/libmplayer.so | |
170 | %dir %{_libdir}/qmmp/FileDialogs | |
171 | %attr(755,root,root) %{_libdir}/qmmp/FileDialogs/lib*dialog.so | |
172 | %dir %{_libdir}/qmmp/General | |
173 | # R: taglib | |
174 | %attr(755,root,root) %{_libdir}/qmmp/General/libconverter.so | |
175 | %attr(755,root,root) %{_libdir}/qmmp/General/libcopypaste.so | |
176 | %attr(755,root,root) %{_libdir}/qmmp/General/libcovermanager.so | |
177 | %attr(755,root,root) %{_libdir}/qmmp/General/libfileops.so | |
178 | %attr(755,root,root) %{_libdir}/qmmp/General/libgnomehotkey.so | |
179 | # R: QtDBus | |
180 | %attr(755,root,root) %{_libdir}/qmmp/General/libhal.so | |
181 | # R: libX11 | |
182 | %attr(755,root,root) %{_libdir}/qmmp/General/libhotkey.so | |
183 | # R: QtDBus | |
184 | %attr(755,root,root) %{_libdir}/qmmp/General/libkdenotify.so | |
185 | %attr(755,root,root) %{_libdir}/qmmp/General/liblyrics.so | |
186 | # R: QtDBus | |
187 | %attr(755,root,root) %{_libdir}/qmmp/General/libmpris.so | |
188 | %attr(755,root,root) %{_libdir}/qmmp/General/libnotifier.so | |
189 | # R: taglib | |
190 | %attr(755,root,root) %{_libdir}/qmmp/General/librgscan.so | |
191 | %attr(755,root,root) %{_libdir}/qmmp/General/libscrobbler.so | |
192 | %attr(755,root,root) %{_libdir}/qmmp/General/libstatusicon.so | |
193 | %attr(755,root,root) %{_libdir}/qmmp/General/libstreambrowser.so | |
194 | %attr(755,root,root) %{_libdir}/qmmp/General/libtrackchange.so | |
195 | # R: QtDBus | |
196 | %attr(755,root,root) %{_libdir}/qmmp/General/libudisks2.so | |
197 | %dir %{_libdir}/qmmp/Input | |
198 | # R: faad2 taglib | |
199 | %attr(755,root,root) %{_libdir}/qmmp/Input/libaac.so | |
200 | # R: libcddb libcdio libcdio-paranoia | |
201 | %attr(755,root,root) %{_libdir}/qmmp/Input/libcdaudio.so | |
202 | # R: enca-libs | |
203 | %attr(755,root,root) %{_libdir}/qmmp/Input/libcue.so | |
204 | # R: ffmpeg-libs | |
205 | %attr(755,root,root) %{_libdir}/qmmp/Input/libffmpeg.so | |
206 | # R: flac taglib | |
207 | %attr(755,root,root) %{_libdir}/qmmp/Input/libflac.so | |
208 | # R: game-music-emu | |
209 | %attr(755,root,root) %{_libdir}/qmmp/Input/libgme.so | |
210 | # R: libmad taglib | |
211 | %attr(755,root,root) %{_libdir}/qmmp/Input/libmad.so | |
212 | # R: libmodplug | |
213 | %attr(755,root,root) %{_libdir}/qmmp/Input/libmodplug.so | |
214 | # R: libmpcdec taglib | |
215 | %attr(755,root,root) %{_libdir}/qmmp/Input/libmpc.so | |
216 | # R: opus opusfile taglib | |
217 | %attr(755,root,root) %{_libdir}/qmmp/Input/libopus.so | |
218 | # R: libsidplayfp | |
219 | %attr(755,root,root) %{_libdir}/qmmp/Input/libsid.so | |
220 | # R: libsndfile | |
221 | %attr(755,root,root) %{_libdir}/qmmp/Input/libsndfile.so | |
222 | # R: libvorbis taglib | |
223 | %attr(755,root,root) %{_libdir}/qmmp/Input/libvorbis.so | |
224 | # R: wavpack | |
225 | %attr(755,root,root) %{_libdir}/qmmp/Input/libwavpack.so | |
226 | # R: wildmidi | |
227 | %attr(755,root,root) %{_libdir}/qmmp/Input/libwildmidi.so | |
228 | %dir %{_libdir}/qmmp/Output | |
229 | # R: alsa-lib | |
230 | %attr(755,root,root) %{_libdir}/qmmp/Output/libalsa.so | |
231 | # R: jack-audio-connection-kit-libs soxr | |
232 | %attr(755,root,root) %{_libdir}/qmmp/Output/libjack.so | |
233 | %attr(755,root,root) %{_libdir}/qmmp/Output/libnull.so | |
1b2c0c66 | 234 | %attr(755,root,root) %{_libdir}/qmmp/Output/liboss.so |
943076d3 JB |
235 | # R: pulseaudio-libs |
236 | %attr(755,root,root) %{_libdir}/qmmp/Output/libpulseaudio.so | |
237 | # R: QtMultimedia | |
238 | %attr(755,root,root) %{_libdir}/qmmp/Output/libqtmultimedia.so | |
239 | %dir %{_libdir}/qmmp/PlayListFormats | |
240 | %attr(755,root,root) %{_libdir}/qmmp/PlayListFormats/lib*playlistformat.so | |
241 | %dir %{_libdir}/qmmp/Transports | |
242 | # R: curl-libs enca-libs | |
243 | %attr(755,root,root) %{_libdir}/qmmp/Transports/libhttp.so | |
244 | # R: libmms | |
245 | %attr(755,root,root) %{_libdir}/qmmp/Transports/libmms.so | |
246 | %dir %{_libdir}/qmmp/Ui | |
247 | %attr(755,root,root) %{_libdir}/qmmp/Ui/libqsui.so | |
248 | # R: libX11 | |
249 | %attr(755,root,root) %{_libdir}/qmmp/Ui/libskinned.so | |
250 | %dir %{_libdir}/qmmp/Visual | |
251 | %attr(755,root,root) %{_libdir}/qmmp/Visual/libanalyzer.so | |
252 | %attr(755,root,root) %{_libdir}/qmmp/Visual/libprojectm.so | |
4ae60cb5 | 253 | %{_desktopdir}/qmmp.desktop |
f9fed23a | 254 | %{_desktopdir}/qmmp_dir.desktop |
943076d3 | 255 | %{_desktopdir}/qmmp_enqueue.desktop |
3a3af790 | 256 | %dir %{_datadir}/qmmp |
257 | %dir %{_datadir}/qmmp/images | |
258 | %{_datadir}/qmmp/images/*.png | |
943076d3 JB |
259 | %{_iconsdir}/hicolor/*x*/apps/qmmp.png |
260 | %{_iconsdir}/hicolor/scalable/apps/qmmp.svgz | |
261 | %{_iconsdir}/hicolor/scalable/apps/qmmp-simple.svgz | |
4ae60cb5 | 262 | |
263 | %files devel | |
264 | %defattr(644,root,root,755) | |
4ae60cb5 | 265 | %attr(755,root,root) %{_libdir}/libqmmp.so |
266 | %attr(755,root,root) %{_libdir}/libqmmpui.so | |
943076d3 JB |
267 | %{_includedir}/qmmp |
268 | %{_includedir}/qmmpui | |
f9fed23a AM |
269 | %{_pkgconfigdir}/qmmp.pc |
270 | %{_pkgconfigdir}/qmmpui.pc |