]>
Commit | Line | Data |
---|---|---|
7cdc9e11 AM |
1 | # TODO: |
2 | # * postgresql support alongside mysql | |
3 | # * NMM audio backend support (fix build - propably some BRs) | |
4 | # * make descriptions less useless | |
01995765 | 5 | # * track http://websvn.kde.org/trunk/extragear/multimedia/amarok/TODO?rev=470324&r1=470292&r2=470324 |
8d75a549 | 6 | # |
948e9545 | 7 | # Conditional builds: |
48801ec3 | 8 | %bcond_without arts # disable arts engine |
8d75a549 | 9 | %bcond_without gstreamer # disable gstreamer |
7cdc9e11 | 10 | %bcond_without mas # disable MAS audio backend |
7dae3fc2 | 11 | %bcond_without xine # disable xine engine |
48801ec3 | 12 | %bcond_without xmms # disable xmms wrapping |
9d393535 | 13 | %bcond_without zeroconf # disable support for zeroconf |
04dd0908 | 14 | %bcond_without included_sqlite # don't use included sqlite (VERY BAD IDEA) |
fed37ff6 | 15 | %bcond_with helix # enable HelixPlayer engine |
7cdc9e11 AM |
16 | %bcond_with nmm # enable NMM audio backend |
17 | %bcond_with mysql # enable mysql support | |
9a2047e2 | 18 | %bcond_with pgsql # enables postgresql support |
7cdc9e11 | 19 | %bcond_with akode # enable aKode engine (too buggy/incomplete) |
291223ab | 20 | %bcond_with altlyrics # use alternative lyrics provider |
4722306d | 21 | # |
3dce540f | 22 | Summary: A KDE audio player |
23 | Summary(pl): Odtwarzacz audio dla KDE | |
24 | Name: amarok | |
549484bf | 25 | Version: 1.3.6 |
0499862d | 26 | Release: 2 |
3dce540f | 27 | License: GPL |
28 | Group: X11/Applications/Multimedia | |
549484bf SP |
29 | Source0: http://nchc.dl.sourceforge.net/sourceforge/amarok/amarok-1.3.6.tar.bz2 |
30 | # Source0-md5: f97ac51a8c2f150ffc4cc0ef49c59a2f | |
7cdc9e11 | 31 | Patch0: kde-common-gcc4.patch |
bbd75f2a | 32 | Patch1: %{name}-lyricsurl.patch |
4722306d | 33 | Patch2: %{name}-libtunepimp-0.4.0.patch |
567ab89c | 34 | URL: http://amarok.kde.org/ |
baa5dbe4 SP |
35 | #BuildRequires: kdebindings-kjsembed-devel |
36 | #BuildRequires: unsermake >= 040511 | |
6fc2033f | 37 | BuildRequires: SDL-devel |
38 | BuildRequires: alsa-lib-devel | |
39 | BuildRequires: arts-qt-devel | |
d3131899 | 40 | BuildRequires: autoconf |
6fc2033f | 41 | BuildRequires: automake |
9a2047e2 | 42 | %{?with_gstreamer:BuildRequires: gstreamer-plugins-devel >= 0.8.6} |
60b883ee | 43 | BuildRequires: kdebase-devel |
7cdc9e11 | 44 | %{?with_akode:BuildRequires: kdemultimedia-akode} |
ac33bc29 | 45 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 |
7cdc9e11 | 46 | BuildRequires: libltdl-devel |
4722306d | 47 | BuildRequires: libtunepimp-devel >= 0.4.0 |
6fc2033f | 48 | BuildRequires: libvisual-devel >= 0.2.0 |
baa5dbe4 | 49 | %{?with_mysql:BuildRequires: mysql-devel} |
9a2047e2 | 50 | %{?with_pgsql:BuildRequires: libpqxx-devel} |
6fc2033f | 51 | BuildRequires: pcre-devel |
532341d1 | 52 | BuildRequires: rpm-pythonprov |
baa5dbe4 | 53 | BuildRequires: rpmbuild(macros) >= 1.129 |
43342c86 | 54 | BuildRequires: sed >= 4.0 |
ab563251 | 55 | %{?with_helix:BuildRequires: helix-core} |
3b7ba7c2 | 56 | %{?!with_included_sqlite:BuildRequires: sqlite3-devel} |
7cdc9e11 | 57 | BuildRequires: taglib-devel >= 1.4 |
60b883ee SP |
58 | %{?with_xine:BuildRequires: xine-lib-devel >= 2:1.0-0.rc5.0} |
59 | %{?with_xmms:BuildRequires: xmms-devel} | |
48801ec3 | 60 | Requires: %{name}-plugin = %{version}-%{release} |
3dce540f | 61 | Requires: kdebase-core >= 9:3.1.93 |
60b883ee | 62 | Requires: kdemultimedia-audiocd >= 9:3.1.93 |
3dce540f | 63 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
64 | ||
65 | %description | |
66 | A KDE audio player. | |
67 | ||
68 | %description -l pl | |
69 | Odtwarzacz audio dla KDE. | |
70 | ||
48801ec3 | 71 | %package arts |
72 | Summary: Plugin arts | |
73 | Summary(pl): Wtyczka arts | |
74 | Group: X11/Applications/Multimedia | |
68391d5a | 75 | Requires: %{name} = %{version}-%{release} |
48801ec3 | 76 | Provides: %{name}-plugin = %{version}-%{release} |
77 | ||
78 | %description arts | |
79 | Plugin arts. | |
80 | ||
81 | %description arts -l pl | |
82 | Wtyczka arts. | |
83 | ||
7cdc9e11 AM |
84 | %package akode |
85 | Summary: Plugin akode | |
86 | Summary(pl): Wtyczka akode | |
87 | Group: X11/Applications/Multimedia | |
68391d5a | 88 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
89 | Provides: %{name}-plugin = %{version}-%{release} |
90 | ||
91 | %description akode | |
92 | Plugin akode. | |
93 | ||
94 | %description akode -l pl | |
95 | Wtyczka akode. | |
96 | ||
cffbab11 | 97 | %package helix |
ab563251 SP |
98 | Summary: Helix/Realplayer playback support for amarok |
99 | Summary(pl): Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka | |
100 | Group: X11/Applications/Multimedia | |
101 | Requires: %{name} = %{version}-%{release} | |
cffbab11 | 102 | Requires: helix-core |
ab563251 | 103 | Provides: %{name}-plugin = %{version}-%{release} |
cffbab11 | 104 | |
105 | %description helix | |
106 | Helix/Realplayer playback support for amarok. | |
107 | ||
108 | %description helix -l pl | |
109 | Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka. | |
110 | ||
111 | ||
8d75a549 | 112 | %package gstreamer |
d4535bda | 113 | Summary: Plugin gstreamer |
8d75a549 | 114 | Summary(pl): Wtyczka gstreamer |
115 | Group: X11/Applications/Multimedia | |
ee3a150f ER |
116 | # deps, to get it working: |
117 | # mp3 decoder: gstreamer-mad | |
118 | # ogg decoder: gstreamer-vorbis | |
119 | # audio output driver: gstreamer-audiosink-alsa | |
120 | # from gstreamer-audio-effects to control volume, etc | |
121 | # needed libs: | |
87fa3a5c | 122 | # at least /usr/lib/gstreamer-0.8/libgstresample.so |
ee3a150f ER |
123 | # probably /usr/lib/gstreamer-0.8/libgstadder.so |
124 | # and probably /usr/lib/gstreamer-0.8/libgstvolume.so | |
125 | # gstreamer-musicbrainz for being able to edit id3 tags on files. | |
baa5dbe4 | 126 | Requires: %{name} = %{version}-%{release} |
22795390 | 127 | Requires: gstreamer-audio-effects |
ee3a150f ER |
128 | Requires: gstreamer-audiosink |
129 | Requires: gstreamer-mad | |
ee3a150f | 130 | Requires: gstreamer-musicbrainz |
baa5dbe4 | 131 | Requires: gstreamer-vorbis |
48801ec3 | 132 | Provides: %{name}-plugin = %{version}-%{release} |
8d75a549 | 133 | |
134 | %description gstreamer | |
d4535bda | 135 | Plugin gstreamer. |
8d75a549 | 136 | |
137 | %description gstreamer -l pl | |
138 | Wtyczka gstreamer. | |
139 | ||
7dae3fc2 | 140 | %package xine |
141 | Summary: Plugin xine | |
142 | Summary(pl): Wtyczka xine | |
143 | Group: X11/Applications/Multimedia | |
1aff4314 | 144 | Requires: %{name} = %{version}-%{release} |
14c08c31 | 145 | Requires: xine-plugin-audio |
48801ec3 | 146 | Provides: %{name}-plugin = %{version}-%{release} |
7dae3fc2 | 147 | |
148 | %description xine | |
149 | Plugin xine. | |
150 | ||
151 | %description xine -l pl | |
152 | Wtyczka xine. | |
153 | ||
7cdc9e11 AM |
154 | %package zeroconf |
155 | Summary: Zeroconf data | |
156 | Summary(pl): Dane dla zeroconf | |
157 | Group: X11/Applications/Multimedia | |
68391d5a | 158 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
159 | Requires: kdenetwork-kdnssd |
160 | Provides: %{name}-plugin = %{version}-%{release} | |
161 | ||
162 | %description zeroconf | |
163 | Zeroconf data. | |
164 | ||
165 | %description zeroconf -l pl | |
68391d5a | 166 | Dane dla zeroconf. |
7cdc9e11 | 167 | |
9d393535 ER |
168 | %package scripts |
169 | Summary: amaroK scripts | |
cb7dcc83 | 170 | Summary(pl): Skrypty amaroKa |
9d393535 ER |
171 | Group: X11/Applications/Multimedia |
172 | Requires: %{name} = %{version}-%{release} | |
b4ea7645 | 173 | Requires: kdebase-kdialog |
74a15c28 | 174 | Requires: python-PyQt |
9d393535 ER |
175 | |
176 | %description scripts | |
177 | amaroK scripts allow you extend amaroK functionality. | |
178 | ||
179 | You can learn more about scripts in amaroK from here: | |
180 | <http://amarok.kde.org/wiki/index.php/Scripts>. | |
181 | ||
cb7dcc83 JB |
182 | %description scripts -l pl |
183 |