]>
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) |
be1e3748 | 15 | %bcond_without 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 | # |
3012d1fc JB |
22 | %ifarch i386 |
23 | %undefine with_helix | |
24 | %endif | |
3dce540f | 25 | Summary: A KDE audio player |
26 | Summary(pl): Odtwarzacz audio dla KDE | |
27 | Name: amarok | |
68d8bb51 | 28 | Version: 1.3.7 |
be894db6 | 29 | Release: 2 |
3dce540f | 30 | License: GPL |
31 | Group: X11/Applications/Multimedia | |
ff747208 | 32 | Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2 |
68d8bb51 | 33 | # Source0-md5: e2297042070643c105f8bb0e524c73ad |
7cdc9e11 | 34 | Patch0: kde-common-gcc4.patch |
bbd75f2a | 35 | Patch1: %{name}-lyricsurl.patch |
4722306d | 36 | Patch2: %{name}-libtunepimp-0.4.0.patch |
ed83aa1d | 37 | Patch3: %{name}-helixplayer-morearchs.patch |
567ab89c | 38 | URL: http://amarok.kde.org/ |
baa5dbe4 SP |
39 | #BuildRequires: kdebindings-kjsembed-devel |
40 | #BuildRequires: unsermake >= 040511 | |
6fc2033f | 41 | BuildRequires: SDL-devel |
42 | BuildRequires: alsa-lib-devel | |
43 | BuildRequires: arts-qt-devel | |
d3131899 | 44 | BuildRequires: autoconf |
6fc2033f | 45 | BuildRequires: automake |
9a2047e2 | 46 | %{?with_gstreamer:BuildRequires: gstreamer-plugins-devel >= 0.8.6} |
60b883ee | 47 | BuildRequires: kdebase-devel |
7cdc9e11 | 48 | %{?with_akode:BuildRequires: kdemultimedia-akode} |
ac33bc29 | 49 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 |
7cdc9e11 | 50 | BuildRequires: libltdl-devel |
4722306d | 51 | BuildRequires: libtunepimp-devel >= 0.4.0 |
6fc2033f | 52 | BuildRequires: libvisual-devel >= 0.2.0 |
baa5dbe4 | 53 | %{?with_mysql:BuildRequires: mysql-devel} |
9a2047e2 | 54 | %{?with_pgsql:BuildRequires: libpqxx-devel} |
6fc2033f | 55 | BuildRequires: pcre-devel |
532341d1 | 56 | BuildRequires: rpm-pythonprov |
baa5dbe4 | 57 | BuildRequires: rpmbuild(macros) >= 1.129 |
43342c86 | 58 | BuildRequires: sed >= 4.0 |
ed83aa1d | 59 | %{!?with_included_sqlite:BuildRequires: sqlite3-devel} |
7cdc9e11 | 60 | BuildRequires: taglib-devel >= 1.4 |
60b883ee SP |
61 | %{?with_xine:BuildRequires: xine-lib-devel >= 2:1.0-0.rc5.0} |
62 | %{?with_xmms:BuildRequires: xmms-devel} | |
48801ec3 | 63 | Requires: %{name}-plugin = %{version}-%{release} |
3dce540f | 64 | Requires: kdebase-core >= 9:3.1.93 |
60b883ee | 65 | Requires: kdemultimedia-audiocd >= 9:3.1.93 |
3dce540f | 66 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
67 | ||
68 | %description | |
69 | A KDE audio player. | |
70 | ||
71 | %description -l pl | |
72 | Odtwarzacz audio dla KDE. | |
73 | ||
48801ec3 | 74 | %package arts |
75 | Summary: Plugin arts | |
76 | Summary(pl): Wtyczka arts | |
77 | Group: X11/Applications/Multimedia | |
68391d5a | 78 | Requires: %{name} = %{version}-%{release} |
48801ec3 | 79 | Provides: %{name}-plugin = %{version}-%{release} |
80 | ||
81 | %description arts | |
82 | Plugin arts. | |
83 | ||
84 | %description arts -l pl | |
85 | Wtyczka arts. | |
86 | ||
7cdc9e11 AM |
87 | %package akode |
88 | Summary: Plugin akode | |
89 | Summary(pl): Wtyczka akode | |
90 | Group: X11/Applications/Multimedia | |
68391d5a | 91 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
92 | Provides: %{name}-plugin = %{version}-%{release} |
93 | ||
94 | %description akode | |
95 | Plugin akode. | |
96 | ||
97 | %description akode -l pl | |
98 | Wtyczka akode. | |
99 | ||
cffbab11 | 100 | %package helix |
ab563251 SP |
101 | Summary: Helix/Realplayer playback support for amarok |
102 | Summary(pl): Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka | |
103 | Group: X11/Applications/Multimedia | |
104 | Requires: %{name} = %{version}-%{release} | |
cffbab11 | 105 | Requires: helix-core |
ab563251 | 106 | Provides: %{name}-plugin = %{version}-%{release} |
cffbab11 | 107 | |
108 | %description helix | |
109 | Helix/Realplayer playback support for amarok. | |
110 | ||
111 | %description helix -l pl | |
112 | Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka. | |
113 | ||
114 | ||
8d75a549 | 115 | %package gstreamer |
d4535bda | 116 | Summary: Plugin gstreamer |
8d75a549 | 117 | Summary(pl): Wtyczka gstreamer |
118 | Group: X11/Applications/Multimedia | |
ee3a150f ER |
119 | # deps, to get it working: |
120 | # mp3 decoder: gstreamer-mad | |
121 | # ogg decoder: gstreamer-vorbis | |
122 | # audio output driver: gstreamer-audiosink-alsa | |
123 | # from gstreamer-audio-effects to control volume, etc | |
124 | # needed libs: | |
87fa3a5c | 125 | # at least /usr/lib/gstreamer-0.8/libgstresample.so |
ee3a150f ER |
126 | # probably /usr/lib/gstreamer-0.8/libgstadder.so |
127 | # and probably /usr/lib/gstreamer-0.8/libgstvolume.so | |
128 | # gstreamer-musicbrainz for being able to edit id3 tags on files. | |
baa5dbe4 | 129 | Requires: %{name} = %{version}-%{release} |
22795390 | 130 | Requires: gstreamer-audio-effects |
ee3a150f ER |
131 | Requires: gstreamer-audiosink |
132 | Requires: gstreamer-mad | |
ee3a150f | 133 | Requires: gstreamer-musicbrainz |
baa5dbe4 | 134 | Requires: gstreamer-vorbis |
48801ec3 | 135 | Provides: %{name}-plugin = %{version}-%{release} |
8d75a549 | 136 | |
137 | %description gstreamer | |
d4535bda | 138 | Plugin gstreamer. |
8d75a549 | 139 | |
140 | %description gstreamer -l pl | |
141 | Wtyczka gstreamer. | |
142 | ||
7dae3fc2 | 143 | %package xine |
144 | Summary: Plugin xine | |
145 | Summary(pl): Wtyczka xine | |
146 | Group: X11/Applications/Multimedia | |
1aff4314 | 147 | Requires: %{name} = %{version}-%{release} |
14c08c31 | 148 | Requires: xine-plugin-audio |
48801ec3 | 149 | Provides: %{name}-plugin = %{version}-%{release} |
7dae3fc2 | 150 | |
151 | %description xine | |
152 | Plugin xine. | |
153 | ||
154 | %description xine -l pl | |
155 | Wtyczka xine. | |
156 | ||
7cdc9e11 AM |
157 | %package zeroconf |
158 | Summary: Zeroconf data | |
159 | Summary(pl): Dane dla zeroconf | |
160 | Group: X11/Applications/Multimedia | |
68391d5a | 161 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
162 | Requires: kdenetwork-kdnssd |
163 | Provides: %{name}-plugin = %{version}-%{release} | |
164 | ||
165 | %description zeroconf | |
166 | Zeroconf data. | |
167 | ||
168 | %description zeroconf -l pl | |
68391d5a | 169 | Dane dla zeroconf. |
7cdc9e11 | 170 | |
9d393535 ER |
171 | %package scripts |
172 | Summary: amaroK scripts | |
cb7dcc83 | 173 | Summary(pl): Skrypty amaroKa |
9d393535 ER |
174 | Group: X11/Applications/Multimedia |
175 | Requires: %{name} = %{version}-%{release} | |
b4ea7645 | 176 | Requires: kdebase-kdialog |
74a15c28 | 177 | Requires: python-PyQt |
9d393535 ER |
178 | |
179 | %description scripts | |
180 | amaroK scripts allow you extend amaroK functionality. | |
181 | ||
182 | You can learn more about scripts in amaroK from here: | |
2fde3dac | 183 | <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>. |
9d393535 | 184 | |
cb7dcc83 JB |
185 | %description scripts -l pl |
186 |