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