]>
Commit | Line | Data |
---|---|---|
7cdc9e11 | 1 | # TODO: |
94287388 ER |
2 | # - postgresql support alongside mysql |
3 | # - NMM audio backend support (fix build - propably some BRs) | |
4 | # - make descriptions less useless | |
5 | # - track http://websvn.kde.org/trunk/extragear/multimedia/amarok/TODO?rev=470324&r1=470292&r2=470324 | |
6 | # - include /usr/bin/amarok_proxy.rb (proxy server for last.fm, but req. ruby) | |
7 | # - main package pulls /usr/bin/ruby | |
4d4ee9f4 | 8 | # - monitor http://bugs.kde.org/show_bug.cgi?id=137390 to remove the temporary fix |
eed176a3 ER |
9 | # - karma & MFS (see README) |
10 | # - ProjectM (see README) | |
8d75a549 | 11 | # |
948e9545 | 12 | # Conditional builds: |
b5eaa586 | 13 | %bcond_with gstreamer # enable gstreamer (gst10 not stable) |
7cdc9e11 | 14 | %bcond_without mas # disable MAS audio backend |
7dae3fc2 | 15 | %bcond_without xine # disable xine engine |
eed176a3 | 16 | %bcond_with xmms # disable xmms wrapping |
9d393535 | 17 | %bcond_without zeroconf # disable support for zeroconf |
90db3fe9 | 18 | %bcond_without included_sqlite # don't use included sqlite (VERY BAD IDEA), needs sqlite >= 3.3 otherwise |
349afe6d | 19 | %bcond_without helix # disable HelixPlayer engine |
4533435a | 20 | %bcond_without mp3players # disable iPod and iRiver MP3 players support |
f36f7321 | 21 | %bcond_with nmm # enable NMM audio backend |
5f8dff22 JB |
22 | %bcond_with mysql # enable MySQL support |
23 | %bcond_with pgsql # enable PostgreSQL support | |
4722306d | 24 | # |
3012d1fc JB |
25 | %ifarch i386 |
26 | %undefine with_helix | |
27 | %endif | |
b5eaa586 | 28 | |
3dce540f | 29 | Summary: A KDE audio player |
30 | Summary(pl): Odtwarzacz audio dla KDE | |
31 | Name: amarok | |
eed176a3 ER |
32 | Version: 1.4.5 |
33 | Release: 1 | |
3dce540f | 34 | License: GPL |
35 | Group: X11/Applications/Multimedia | |
eed176a3 ER |
36 | Source0: ftp://ftp.kde.org/pub/kde/stable/amarok/%{version}/src/%{name}-%{version}.tar.bz2 |
37 | # Source0-md5: 1dac1cb5ac9c9cdabdab5f69b39e92c8 | |
b5eaa586 | 38 | Patch0: %{name}-helixplayer-morearchs.patch |
d7564753 | 39 | Patch1: %{name}-libnjb.patch |
911123c3 | 40 | Patch3: %{name}-sparc.patch |
41 | Patch4: kde-ac260-lt.patch | |
42 | Patch5: kde-common-PLD.patch | |
eaae6bf7 | 43 | Patch6: %{name}-gcc4.patch |
80fb643e | 44 | Patch7: %{name}-titleorder.patch |
567ab89c | 45 | URL: http://amarok.kde.org/ |
6fc2033f | 46 | BuildRequires: SDL-devel |
47 | BuildRequires: alsa-lib-devel | |
d3131899 | 48 | BuildRequires: autoconf |
6fc2033f | 49 | BuildRequires: automake |
b5eaa586 | 50 | BuildRequires: dbus-glib-devel |
349afe6d | 51 | BuildRequires: gettext-devel |
b5eaa586 | 52 | %{?with_gstreamer:BuildRequires: gstreamer-devel >= 0.10.0} |
60b883ee | 53 | BuildRequires: kdebase-devel |
7cdc9e11 | 54 | %{?with_akode:BuildRequires: kdemultimedia-akode} |
ac33bc29 | 55 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 |
eed176a3 ER |
56 | %{?with_mp3players:BuildRequires: libgpod-devel >= 0.4.2} |
57 | %{?with_mp3players:BuildRequires: libifp-devel >= 1.0.0.2} | |
80fb643e | 58 | BuildRequires: libltdl-devel |
eed176a3 ER |
59 | %{?with_mp3players:BuildRequires: libmtp-devel >= 0.1.1} |
60 | %{?with_mp3players:BuildRequires: libnjb-devel >= 2.2.4} | |
b5eaa586 | 61 | %{?with_pgsql:BuildRequires: libpqxx-devel} |
f59b4956 | 62 | BuildRequires: libtunepimp-devel >= 0.5.1-6 |
62f70c2c | 63 | BuildRequires: libvisual-devel >= 0.4.0 |
eed176a3 | 64 | BuildRequires: mpeg4ip-devel >= 1:1.5 |
349afe6d | 65 | %{?with_mysql:BuildRequires: mysql-devel} |
6fc2033f | 66 | BuildRequires: pcre-devel |
f0306acf | 67 | BuildRequires: pkgconfig |
532341d1 | 68 | BuildRequires: rpm-pythonprov |
baa5dbe4 | 69 | BuildRequires: rpmbuild(macros) >= 1.129 |
f1b37988 | 70 | BuildRequires: ruby-devel >= 1.8 |
43342c86 | 71 | BuildRequires: sed >= 4.0 |
baa3d0c2 | 72 | %{!?with_included_sqlite:BuildRequires: sqlite3-devel >= 3.3} |
7cdc9e11 | 73 | BuildRequires: taglib-devel >= 1.4 |
b5eaa586 ER |
74 | %{?with_xine:BuildRequires: xine-lib-devel >= 1.1.1} |
75 | %{?with_xmms:BuildRequires: xmms-devel} | |
59849355 | 76 | Requires(post): /sbin/ldconfig |
48801ec3 | 77 | Requires: %{name}-plugin = %{version}-%{release} |
3dce540f | 78 | Requires: kdebase-core >= 9:3.1.93 |
60b883ee | 79 | Requires: kdemultimedia-audiocd >= 9:3.1.93 |
5f8dff22 | 80 | Obsoletes: amarok-arts |
3dce540f | 81 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
82 | ||
3eddb524 PS |
83 | # temporary hack for proper libgpod::itdb_get_mountpoint() detection. |
84 | %define filterout_ld -Wl,--as-needed | |
85 | ||
3dce540f | 86 | %description |
87 | A KDE audio player. | |
88 | ||
89 | %description -l pl | |
90 | Odtwarzacz audio dla KDE. | |
91 | ||
7cdc9e11 AM |
92 | %package akode |
93 | Summary: Plugin akode | |
94 | Summary(pl): Wtyczka akode | |
95 | Group: X11/Applications/Multimedia | |
68391d5a | 96 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
97 | Provides: %{name}-plugin = %{version}-%{release} |
98 | ||
99 | %description akode | |
100 | Plugin akode. | |
101 | ||
102 | %description akode -l pl | |
103 | Wtyczka akode. | |
104 | ||
cffbab11 | 105 | %package helix |
ab563251 SP |
106 | Summary: Helix/Realplayer playback support for amarok |
107 | Summary(pl): Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka | |
108 | Group: X11/Applications/Multimedia | |
109 | Requires: %{name} = %{version}-%{release} | |
cffbab11 | 110 | Requires: helix-core |
ab563251 | 111 | Provides: %{name}-plugin = %{version}-%{release} |
cffbab11 | 112 | |
113 | %description helix | |
114 | Helix/Realplayer playback support for amarok. | |
115 | ||
116 | %description helix -l pl | |
117 | Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka. | |
118 | ||
8d75a549 | 119 | %package gstreamer |
d4535bda | 120 | Summary: Plugin gstreamer |
8d75a549 | 121 | Summary(pl): Wtyczka gstreamer |
122 | Group: X11/Applications/Multimedia | |
ee3a150f | 123 | # deps, to get it working: |
b5eaa586 ER |
124 | # mp3 decoder: gstreamer-mad |
125 | # ogg decoder: gstreamer-vorbis | |
126 | # audio output driver: gstreamer-audiosink-alsa | |
ee3a150f ER |
127 | # from gstreamer-audio-effects to control volume, etc |
128 | # needed libs: | |
87fa3a5c | 129 | # at least /usr/lib/gstreamer-0.8/libgstresample.so |
ee3a150f ER |
130 | # probably /usr/lib/gstreamer-0.8/libgstadder.so |
131 | # and probably /usr/lib/gstreamer-0.8/libgstvolume.so | |
132 | # gstreamer-musicbrainz for being able to edit id3 tags on files. | |
baa5dbe4 | 133 | Requires: %{name} = %{version}-%{release} |
22795390 | 134 | Requires: gstreamer-audio-effects |
ee3a150f ER |
135 | Requires: gstreamer-audiosink |
136 | Requires: gstreamer-mad | |
ee3a150f | 137 | Requires: gstreamer-musicbrainz |
baa5dbe4 | 138 | Requires: gstreamer-vorbis |
48801ec3 | 139 | Provides: %{name}-plugin = %{version}-%{release} |
8d75a549 | 140 | |
141 | %description gstreamer | |
d4535bda | 142 | Plugin gstreamer. |
8d75a549 | 143 | |
144 | %description gstreamer -l pl | |
145 | Wtyczka gstreamer. | |
146 | ||
7dae3fc2 | 147 | %package xine |
148 | Summary: Plugin xine | |
149 | Summary(pl): Wtyczka xine | |
150 | Group: X11/Applications/Multimedia | |
1aff4314 | 151 | Requires: %{name} = %{version}-%{release} |
14c08c31 | 152 | Requires: xine-plugin-audio |
48801ec3 | 153 | Provides: %{name}-plugin = %{version}-%{release} |
7dae3fc2 | 154 | |
155 | %description xine | |
156 | Plugin xine. | |
157 | ||
158 | %description xine -l pl | |
159 | Wtyczka xine. | |
160 | ||
3c0db7c2 | 161 | %package xmms |
162 | Summary: Xmms wrapper | |
163 | Summary(pl): Wrapper xmms | |
164 | Group: X11/Applications/Multimedia | |
3c0db7c2 | 165 | Requires: %{name} = %{version}-%{release} |
166 | ||
167 | %description xmms | |
168 | Xmms wrapper. | |
169 | ||
170 | %description xmms -l pl | |
171 | Wrapper xmms. | |
172 | ||
7cdc9e11 AM |
173 | %package zeroconf |
174 | Summary: Zeroconf data | |
175 | Summary(pl): Dane dla zeroconf | |
176 | Group: X11/Applications/Multimedia | |
68391d5a | 177 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
178 | Requires: kdenetwork-kdnssd |
179 | Provides: %{name}-plugin = %{version}-%{release} | |
180 | ||
181 | %description zeroconf | |
182 | Zeroconf data. | |
183 | ||
184 | %description zeroconf -l pl | |
68391d5a | 185 | Dane dla zeroconf. |
7cdc9e11 | 186 | |
9d393535 ER |
187 | %package scripts |
188 | Summary: amaroK scripts | |
cb7dcc83 | 189 | Summary(pl): Skrypty amaroKa |
9d393535 ER |
190 | Group: X11/Applications/Multimedia |
191 | Requires: %{name} = %{version}-%{release} | |
b4ea7645 | 192 | Requires: kdebase-kdialog |
74a15c28 | 193 | Requires: python-PyQt |
b5eaa586 | 194 | Requires: ruby-modules |
9d393535 ER |
195 | |
196 | %description scripts | |
197 | amaroK scripts allow you extend amaroK functionality. | |
198 | ||
199 | You can learn more about scripts in amaroK from here: | |
2fde3dac | 200 | <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>. |
9d393535 | 201 | |
cb7dcc83 JB |
202 | %description scripts -l pl |
203 |