]>
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 |
d05917f4 | 31 | Release: 5 |
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 |
911123c3 | 40 | Patch3: %{name}-sparc.patch |
41 | Patch4: kde-ac260-lt.patch | |
42 | Patch5: kde-common-PLD.patch | |
567ab89c | 43 | URL: http://amarok.kde.org/ |
6fc2033f | 44 | BuildRequires: SDL-devel |
45 | BuildRequires: alsa-lib-devel | |
d3131899 | 46 | BuildRequires: autoconf |
6fc2033f | 47 | BuildRequires: automake |
b5eaa586 | 48 | BuildRequires: dbus-glib-devel |
349afe6d | 49 | BuildRequires: gettext-devel |
b5eaa586 | 50 | %{?with_gstreamer:BuildRequires: gstreamer-devel >= 0.10.0} |
60b883ee | 51 | BuildRequires: kdebase-devel |
7cdc9e11 | 52 | %{?with_akode:BuildRequires: kdemultimedia-akode} |
ac33bc29 | 53 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 |
b5eaa586 ER |
54 | %{?with_mp3players:BuildRequires: libgpod-devel >= 0.2.0} |
55 | %{?with_mp3players:BuildRequires: libifp-devel} | |
7dc92626 | 56 | %{?with_mp3players:BuildRequires: libmtp-devel} |
57 | %{?with_mp3players:BuildRequires: libnjb-devel} | |
7cdc9e11 | 58 | BuildRequires: libltdl-devel |
b5eaa586 | 59 | %{?with_pgsql:BuildRequires: libpqxx-devel} |
f59b4956 | 60 | BuildRequires: libtunepimp-devel >= 0.5.1-6 |
62f70c2c | 61 | BuildRequires: libvisual-devel >= 0.4.0 |
b5eaa586 | 62 | BuildRequires: mpeg4ip-devel |
349afe6d | 63 | %{?with_mysql:BuildRequires: mysql-devel} |
6fc2033f | 64 | BuildRequires: pcre-devel |
f0306acf | 65 | BuildRequires: pkgconfig |
532341d1 | 66 | BuildRequires: rpm-pythonprov |
baa5dbe4 | 67 | BuildRequires: rpmbuild(macros) >= 1.129 |
f1b37988 | 68 | BuildRequires: ruby-devel >= 1.8 |
43342c86 | 69 | BuildRequires: sed >= 4.0 |
baa3d0c2 | 70 | %{!?with_included_sqlite:BuildRequires: sqlite3-devel >= 3.3} |
7cdc9e11 | 71 | BuildRequires: taglib-devel >= 1.4 |
b5eaa586 ER |
72 | %{?with_xine:BuildRequires: xine-lib-devel >= 1.1.1} |
73 | %{?with_xmms:BuildRequires: xmms-devel} | |
59849355 | 74 | Requires(post): /sbin/ldconfig |
48801ec3 | 75 | Requires: %{name}-plugin = %{version}-%{release} |
3dce540f | 76 | Requires: kdebase-core >= 9:3.1.93 |
60b883ee | 77 | Requires: kdemultimedia-audiocd >= 9:3.1.93 |
5f8dff22 | 78 | Obsoletes: amarok-arts |
3dce540f | 79 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
80 | ||
3eddb524 PS |
81 | # temporary hack for proper libgpod::itdb_get_mountpoint() detection. |
82 | %define filterout_ld -Wl,--as-needed | |
83 | ||
3dce540f | 84 | %description |
85 | A KDE audio player. | |
86 | ||
87 | %description -l pl | |
88 | Odtwarzacz audio dla KDE. | |
89 | ||
7cdc9e11 AM |
90 | %package akode |
91 | Summary: Plugin akode | |
92 | Summary(pl): Wtyczka akode | |
93 | Group: X11/Applications/Multimedia | |
68391d5a | 94 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
95 | Provides: %{name}-plugin = %{version}-%{release} |
96 | ||
97 | %description akode | |
98 | Plugin akode. | |
99 | ||
100 | %description akode -l pl | |
101 | Wtyczka akode. | |
102 | ||
cffbab11 | 103 | %package helix |
ab563251 SP |
104 | Summary: Helix/Realplayer playback support for amarok |
105 | Summary(pl): Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka | |
106 | Group: X11/Applications/Multimedia | |
107 | Requires: %{name} = %{version}-%{release} | |
cffbab11 | 108 | Requires: helix-core |
ab563251 | 109 | Provides: %{name}-plugin = %{version}-%{release} |
cffbab11 | 110 | |
111 | %description helix | |
112 | Helix/Realplayer playback support for amarok. | |
113 | ||
114 | %description helix -l pl | |
115 | Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka. | |
116 | ||
8d75a549 | 117 | %package gstreamer |
d4535bda | 118 | Summary: Plugin gstreamer |
8d75a549 | 119 | Summary(pl): Wtyczka gstreamer |
120 | Group: X11/Applications/Multimedia | |
ee3a150f | 121 | # deps, to get it working: |
b5eaa586 ER |
122 | # mp3 decoder: gstreamer-mad |
123 | # ogg decoder: gstreamer-vorbis | |
124 | # audio output driver: gstreamer-audiosink-alsa | |
ee3a150f ER |
125 | # from gstreamer-audio-effects to control volume, etc |
126 | # needed libs: | |
87fa3a5c | 127 | # at least /usr/lib/gstreamer-0.8/libgstresample.so |
ee3a150f ER |
128 | # probably /usr/lib/gstreamer-0.8/libgstadder.so |
129 | # and probably /usr/lib/gstreamer-0.8/libgstvolume.so | |
130 | # gstreamer-musicbrainz for being able to edit id3 tags on files. | |
baa5dbe4 | 131 | Requires: %{name} = %{version}-%{release} |
22795390 | 132 | Requires: gstreamer-audio-effects |
ee3a150f ER |
133 | Requires: gstreamer-audiosink |
134 | Requires: gstreamer-mad | |
ee3a150f | 135 | Requires: gstreamer-musicbrainz |
baa5dbe4 | 136 | Requires: gstreamer-vorbis |
48801ec3 | 137 | Provides: %{name}-plugin = %{version}-%{release} |
8d75a549 | 138 | |
139 | %description gstreamer | |
d4535bda | 140 | Plugin gstreamer. |
8d75a549 | 141 | |
142 | %description gstreamer -l pl | |
143 | Wtyczka gstreamer. | |
144 | ||
7dae3fc2 | 145 | %package xine |
146 | Summary: Plugin xine | |
147 | Summary(pl): Wtyczka xine | |
148 | Group: X11/Applications/Multimedia | |
1aff4314 | 149 | Requires: %{name} = %{version}-%{release} |
14c08c31 | 150 | Requires: xine-plugin-audio |
48801ec3 | 151 | Provides: %{name}-plugin = %{version}-%{release} |
7dae3fc2 | 152 | |
153 | %description xine | |
154 | Plugin xine. | |
155 | ||
156 | %description xine -l pl | |
157 | Wtyczka xine. | |
158 | ||
3c0db7c2 | 159 | %package xmms |
160 | Summary: Xmms wrapper | |
161 | Summary(pl): Wrapper xmms | |
162 | Group: X11/Applications/Multimedia | |
3c0db7c2 | 163 | Requires: %{name} = %{version}-%{release} |
164 | ||
165 | %description xmms | |
166 | Xmms wrapper. | |
167 | ||
168 | %description xmms -l pl | |
169 | Wrapper xmms. | |
170 | ||
7cdc9e11 AM |
171 | %package zeroconf |
172 | Summary: Zeroconf data | |
173 | Summary(pl): Dane dla zeroconf | |
174 | Group: X11/Applications/Multimedia | |
68391d5a | 175 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
176 | Requires: kdenetwork-kdnssd |
177 | Provides: %{name}-plugin = %{version}-%{release} | |
178 | ||
179 | %description zeroconf | |
180 | Zeroconf data. | |
181 | ||
182 | %description zeroconf -l pl | |
68391d5a | 183 | Dane dla zeroconf. |
7cdc9e11 | 184 | |
9d393535 ER |
185 | %package scripts |
186 | Summary: amaroK scripts | |
cb7dcc83 | 187 | Summary(pl): Skrypty amaroKa |
9d393535 ER |
188 | Group: X11/Applications/Multimedia |
189 | Requires: %{name} = %{version}-%{release} | |
b4ea7645 | 190 | Requires: kdebase-kdialog |
74a15c28 | 191 | Requires: python-PyQt |
b5eaa586 | 192 | Requires: ruby-modules |
9d393535 ER |
193 | |
194 | %description scripts | |
195 | amaroK scripts allow you extend amaroK functionality. | |
196 | ||
197 | You can learn more about scripts in amaroK from here: | |
2fde3dac | 198 | <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>. |
9d393535 | 199 | |
cb7dcc83 JB |
200 | %description scripts -l pl |
201 |