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