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