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