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