]>
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 |
99053cf8 | 30 | Release: 4 |
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 |
99053cf8 | 38 | Patch2: kde-ac260-lt.patch |
567ab89c | 39 | URL: http://amarok.kde.org/ |
6fc2033f | 40 | BuildRequires: SDL-devel |
41 | BuildRequires: alsa-lib-devel | |
d3131899 | 42 | BuildRequires: autoconf |
6fc2033f | 43 | BuildRequires: automake |
b5eaa586 | 44 | BuildRequires: dbus-glib-devel |
349afe6d | 45 | BuildRequires: gettext-devel |
b5eaa586 | 46 | %{?with_gstreamer:BuildRequires: gstreamer-devel >= 0.10.0} |
60b883ee | 47 | BuildRequires: kdebase-devel |
7cdc9e11 | 48 | %{?with_akode:BuildRequires: kdemultimedia-akode} |
ac33bc29 | 49 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 |
b5eaa586 ER |
50 | %{?with_mp3players:BuildRequires: libgpod-devel >= 0.2.0} |
51 | %{?with_mp3players:BuildRequires: libifp-devel} | |
99053cf8 | 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 | ||
99053cf8 | 77 | # temporary hack for proper libgpod::itdb_get_mountpoint() detection. |
78 | %define filterout_ld -Wl,--as-needed | |
79 | ||
3dce540f | 80 | %description |
81 | A KDE audio player. | |
82 | ||
83 | %description -l pl | |
84 | Odtwarzacz audio dla KDE. | |
85 | ||
7cdc9e11 AM |
86 | %package akode |
87 | Summary: Plugin akode | |
88 | Summary(pl): Wtyczka akode | |
89 | Group: X11/Applications/Multimedia | |
68391d5a | 90 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
91 | Provides: %{name}-plugin = %{version}-%{release} |
92 | ||
93 | %description akode | |
94 | Plugin akode. | |
95 | ||
96 | %description akode -l pl | |
97 | Wtyczka akode. | |
98 | ||
cffbab11 | 99 | %package helix |
ab563251 SP |
100 | Summary: Helix/Realplayer playback support for amarok |
101 | Summary(pl): Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka | |
102 | Group: X11/Applications/Multimedia | |
103 | Requires: %{name} = %{version}-%{release} | |
cffbab11 | 104 | Requires: helix-core |
ab563251 | 105 | Provides: %{name}-plugin = %{version}-%{release} |
cffbab11 | 106 | |
107 | %description helix | |
108 | Helix/Realplayer playback support for amarok. | |
109 | ||
110 | %description helix -l pl | |
111 | Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka. | |
112 | ||
8d75a549 | 113 | %package gstreamer |
d4535bda | 114 | Summary: Plugin gstreamer |
8d75a549 | 115 | Summary(pl): Wtyczka gstreamer |
116 | Group: X11/Applications/Multimedia | |
ee3a150f | 117 | # deps, to get it working: |
b5eaa586 ER |
118 | # mp3 decoder: gstreamer-mad |
119 | # ogg decoder: gstreamer-vorbis | |
120 | # audio output driver: gstreamer-audiosink-alsa | |
ee3a150f ER |
121 | # from gstreamer-audio-effects to control volume, etc |
122 | # needed libs: | |
87fa3a5c | 123 | # at least /usr/lib/gstreamer-0.8/libgstresample.so |
ee3a150f ER |
124 | # probably /usr/lib/gstreamer-0.8/libgstadder.so |
125 | # and probably /usr/lib/gstreamer-0.8/libgstvolume.so | |
126 | # gstreamer-musicbrainz for being able to edit id3 tags on files. | |
baa5dbe4 | 127 | Requires: %{name} = %{version}-%{release} |
22795390 | 128 | Requires: gstreamer-audio-effects |
ee3a150f ER |
129 | Requires: gstreamer-audiosink |
130 | Requires: gstreamer-mad | |
ee3a150f | 131 | Requires: gstreamer-musicbrainz |
baa5dbe4 | 132 | Requires: gstreamer-vorbis |
48801ec3 | 133 | Provides: %{name}-plugin = %{version}-%{release} |
8d75a549 | 134 | |
135 | %description gstreamer | |
d4535bda | 136 | Plugin gstreamer. |
8d75a549 | 137 | |
138 | %description gstreamer -l pl | |
139 | Wtyczka gstreamer. | |
140 | ||
7dae3fc2 | 141 | %package xine |
142 | Summary: Plugin xine | |
143 | Summary(pl): Wtyczka xine | |
144 | Group: X11/Applications/Multimedia | |
1aff4314 | 145 | Requires: %{name} = %{version}-%{release} |
14c08c31 | 146 | Requires: xine-plugin-audio |
48801ec3 | 147 | Provides: %{name}-plugin = %{version}-%{release} |
7dae3fc2 | 148 | |
149 | %description xine | |
150 | Plugin xine. | |
151 | ||
152 | %description xine -l pl | |
153 | Wtyczka xine. | |
154 | ||
3c0db7c2 | 155 | %package xmms |
156 | Summary: Xmms wrapper | |
157 | Summary(pl): Wrapper xmms | |
158 | Group: X11/Applications/Multimedia | |
3c0db7c2 | 159 | Requires: %{name} = %{version}-%{release} |
160 | ||
161 | %description xmms | |
162 | Xmms wrapper. | |
163 | ||
164 | %description xmms -l pl | |
165 | Wrapper xmms. | |
166 | ||
7cdc9e11 AM |
167 | %package zeroconf |
168 | Summary: Zeroconf data | |
169 | Summary(pl): Dane dla zeroconf | |
170 | Group: X11/Applications/Multimedia | |
68391d5a | 171 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
172 | Requires: kdenetwork-kdnssd |
173 | Provides: %{name}-plugin = %{version}-%{release} | |
174 | ||
175 | %description zeroconf | |
176 | Zeroconf data. | |
177 | ||
178 | %description zeroconf -l pl | |
68391d5a | 179 | Dane dla zeroconf. |
7cdc9e11 | 180 | |
9d393535 ER |
181 | %package scripts |
182 | Summary: amaroK scripts | |
cb7dcc83 | 183 | Summary(pl): Skrypty amaroKa |
9d393535 ER |
184 | Group: X11/Applications/Multimedia |
185 | Requires: %{name} = %{version}-%{release} | |
b4ea7645 | 186 | Requires: kdebase-kdialog |
74a15c28 | 187 | Requires: python-PyQt |
b5eaa586 | 188 | Requires: ruby-modules |
9d393535 ER |
189 | |
190 | %description scripts | |
191 | amaroK scripts allow you extend amaroK functionality. | |
192 | ||
193 | You can learn more about scripts in amaroK from here: | |
2fde3dac | 194 | <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>. |
9d393535 | 195 | |
cb7dcc83 JB |
196 | %description scripts -l pl |
197 |