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