]>
Commit | Line | Data |
---|---|---|
7cdc9e11 AM |
1 | # TODO: |
2 | # * postgresql support alongside mysql | |
3 | # * NMM audio backend support (fix build - propably some BRs) | |
4 | # * make descriptions less useless | |
01995765 | 5 | # * track http://websvn.kde.org/trunk/extragear/multimedia/amarok/TODO?rev=470324&r1=470292&r2=470324 |
8d75a549 | 6 | # |
948e9545 | 7 | # Conditional builds: |
b5eaa586 | 8 | %bcond_with gstreamer # enable gstreamer (gst10 not stable) |
7cdc9e11 | 9 | %bcond_without mas # disable MAS audio backend |
7dae3fc2 | 10 | %bcond_without xine # disable xine engine |
48801ec3 | 11 | %bcond_without xmms # disable xmms wrapping |
9d393535 | 12 | %bcond_without zeroconf # disable support for zeroconf |
04dd0908 | 13 | %bcond_without included_sqlite # don't use included sqlite (VERY BAD IDEA) |
349afe6d | 14 | %bcond_without helix # disable HelixPlayer engine |
b5eaa586 | 15 | %bcond_without mp3players # disable iPod and iRiver MP3 players support |
7cdc9e11 | 16 | %bcond_with nmm # enable NMM audio backend |
5f8dff22 JB |
17 | %bcond_with mysql # enable MySQL support |
18 | %bcond_with pgsql # enable PostgreSQL support | |
4722306d | 19 | # |
3012d1fc JB |
20 | %ifarch i386 |
21 | %undefine with_helix | |
22 | %endif | |
b5eaa586 | 23 | |
b6f65f3d | 24 | %define _beta beta1 |
f1b37988 | 25 | |
3dce540f | 26 | Summary: A KDE audio player |
27 | Summary(pl): Odtwarzacz audio dla KDE | |
28 | Name: amarok | |
f1b37988 SP |
29 | Version: 1.4.1 |
30 | Release: 0.%{_beta}.1 | |
3dce540f | 31 | License: GPL |
32 | Group: X11/Applications/Multimedia | |
04599c3d | 33 | Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}-%{_beta}.tar.bz2 |
62f70c2c | 34 | # Source0-md5: ee043cf6efa3f2ac7b470eb6c050c0f7 |
b5eaa586 | 35 | Patch0: %{name}-helixplayer-morearchs.patch |
d7564753 | 36 | Patch1: %{name}-libnjb.patch |
567ab89c | 37 | URL: http://amarok.kde.org/ |
6fc2033f | 38 | BuildRequires: SDL-devel |
39 | BuildRequires: alsa-lib-devel | |
d3131899 | 40 | BuildRequires: autoconf |
6fc2033f | 41 | BuildRequires: automake |
b5eaa586 | 42 | BuildRequires: dbus-glib-devel |
349afe6d | 43 | BuildRequires: gettext-devel |
b5eaa586 | 44 | %{?with_gstreamer:BuildRequires: gstreamer-devel >= 0.10.0} |
60b883ee | 45 | BuildRequires: kdebase-devel |
7cdc9e11 | 46 | %{?with_akode:BuildRequires: kdemultimedia-akode} |
ac33bc29 | 47 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 |
b5eaa586 ER |
48 | %{?with_mp3players:BuildRequires: libgpod-devel >= 0.2.0} |
49 | %{?with_mp3players:BuildRequires: libifp-devel} | |
7cdc9e11 | 50 | BuildRequires: libltdl-devel |
f1b37988 | 51 | %{?with_mp3players:BuildRequires: libnjb-devel} |
b5eaa586 | 52 | %{?with_pgsql:BuildRequires: libpqxx-devel} |
4722306d | 53 | BuildRequires: libtunepimp-devel >= 0.4.0 |
62f70c2c | 54 | BuildRequires: libvisual-devel >= 0.4.0 |
b5eaa586 | 55 | BuildRequires: mpeg4ip-devel |
349afe6d | 56 | %{?with_mysql:BuildRequires: mysql-devel} |
6fc2033f | 57 | BuildRequires: pcre-devel |
f0306acf | 58 | BuildRequires: pkgconfig |
532341d1 | 59 | BuildRequires: rpm-pythonprov |
baa5dbe4 | 60 | BuildRequires: rpmbuild(macros) >= 1.129 |
f1b37988 | 61 | BuildRequires: ruby-devel >= 1.8 |
43342c86 | 62 | BuildRequires: sed >= 4.0 |
ed83aa1d | 63 | %{!?with_included_sqlite:BuildRequires: sqlite3-devel} |
7cdc9e11 | 64 | BuildRequires: taglib-devel >= 1.4 |
b5eaa586 ER |
65 | %{?with_xine:BuildRequires: xine-lib-devel >= 1.1.1} |
66 | %{?with_xmms:BuildRequires: xmms-devel} | |
48801ec3 | 67 | Requires: %{name}-plugin = %{version}-%{release} |
3dce540f | 68 | Requires: kdebase-core >= 9:3.1.93 |
60b883ee | 69 | Requires: kdemultimedia-audiocd >= 9:3.1.93 |
5f8dff22 | 70 | Obsoletes: amarok-arts |
3dce540f | 71 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
72 | ||
73 | %description | |
74 | A KDE audio player. | |
75 | ||
76 | %description -l pl | |
77 | Odtwarzacz audio dla KDE. | |
78 | ||
7cdc9e11 AM |
79 | %package akode |
80 | Summary: Plugin akode | |
81 | Summary(pl): Wtyczka akode | |
82 | Group: X11/Applications/Multimedia | |
68391d5a | 83 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
84 | Provides: %{name}-plugin = %{version}-%{release} |
85 | ||
86 | %description akode | |
87 | Plugin akode. | |
88 | ||
89 | %description akode -l pl | |
90 | Wtyczka akode. | |
91 | ||
cffbab11 | 92 | %package helix |
ab563251 SP |
93 | Summary: Helix/Realplayer playback support for amarok |
94 | Summary(pl): Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka | |
95 | Group: X11/Applications/Multimedia | |
96 | Requires: %{name} = %{version}-%{release} | |
cffbab11 | 97 | Requires: helix-core |
ab563251 | 98 | Provides: %{name}-plugin = %{version}-%{release} |
cffbab11 | 99 | |
100 | %description helix | |
101 | Helix/Realplayer playback support for amarok. | |
102 | ||
103 | %description helix -l pl | |
104 | Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka. | |
105 | ||
8d75a549 | 106 | %package gstreamer |
d4535bda | 107 | Summary: Plugin gstreamer |
8d75a549 | 108 | Summary(pl): Wtyczka gstreamer |
109 | Group: X11/Applications/Multimedia | |
ee3a150f | 110 | # deps, to get it working: |
b5eaa586 ER |
111 | # mp3 decoder: gstreamer-mad |
112 | # ogg decoder: gstreamer-vorbis | |
113 | # audio output driver: gstreamer-audiosink-alsa | |
ee3a150f ER |
114 | # from gstreamer-audio-effects to control volume, etc |
115 | # needed libs: | |
87fa3a5c | 116 | # at least /usr/lib/gstreamer-0.8/libgstresample.so |
ee3a150f ER |
117 | # probably /usr/lib/gstreamer-0.8/libgstadder.so |
118 | # and probably /usr/lib/gstreamer-0.8/libgstvolume.so | |
119 | # gstreamer-musicbrainz for being able to edit id3 tags on files. | |
baa5dbe4 | 120 | Requires: %{name} = %{version}-%{release} |
22795390 | 121 | Requires: gstreamer-audio-effects |
ee3a150f ER |
122 | Requires: gstreamer-audiosink |
123 | Requires: gstreamer-mad | |
ee3a150f | 124 | Requires: gstreamer-musicbrainz |
baa5dbe4 | 125 | Requires: gstreamer-vorbis |
48801ec3 | 126 | Provides: %{name}-plugin = %{version}-%{release} |
8d75a549 | 127 | |
128 | %description gstreamer | |
d4535bda | 129 | Plugin gstreamer. |
8d75a549 | 130 | |
131 | %description gstreamer -l pl | |
132 | Wtyczka gstreamer. | |
133 | ||
7dae3fc2 | 134 | %package xine |
135 | Summary: Plugin xine | |
136 | Summary(pl): Wtyczka xine | |
137 | Group: X11/Applications/Multimedia | |
1aff4314 | 138 | Requires: %{name} = %{version}-%{release} |
14c08c31 | 139 | Requires: xine-plugin-audio |
48801ec3 | 140 | Provides: %{name}-plugin = %{version}-%{release} |
7dae3fc2 | 141 | |
142 | %description xine | |
143 | Plugin xine. | |
144 | ||
145 | %description xine -l pl | |
146 | Wtyczka xine. | |
147 | ||
3c0db7c2 | 148 | %package xmms |
149 | Summary: Xmms wrapper | |
150 | Summary(pl): Wrapper xmms | |
151 | Group: X11/Applications/Multimedia | |
3c0db7c2 | 152 | Requires: %{name} = %{version}-%{release} |
153 | ||
154 | %description xmms | |
155 | Xmms wrapper. | |
156 | ||
157 | %description xmms -l pl | |
158 | Wrapper xmms. | |
159 | ||
7cdc9e11 AM |
160 | %package zeroconf |
161 | Summary: Zeroconf data | |
162 | Summary(pl): Dane dla zeroconf | |
163 | Group: X11/Applications/Multimedia | |
68391d5a | 164 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
165 | Requires: kdenetwork-kdnssd |
166 | Provides: %{name}-plugin = %{version}-%{release} | |
167 | ||
168 | %description zeroconf | |
169 | Zeroconf data. | |
170 | ||
171 | %description zeroconf -l pl | |
68391d5a | 172 | Dane dla zeroconf. |
7cdc9e11 | 173 | |
9d393535 ER |
174 | %package scripts |
175 | Summary: amaroK scripts | |
cb7dcc83 | 176 | Summary(pl): Skrypty amaroKa |
9d393535 ER |
177 | Group: X11/Applications/Multimedia |
178 | Requires: %{name} = %{version}-%{release} | |
b4ea7645 | 179 | Requires: kdebase-kdialog |
74a15c28 | 180 | Requires: python-PyQt |
b5eaa586 | 181 | Requires: ruby-modules |
9d393535 ER |
182 | |
183 | %description scripts | |
184 | amaroK scripts allow you extend amaroK functionality. | |
185 | ||
186 | You can learn more about scripts in amaroK from here: | |
2fde3dac | 187 | <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>. |
9d393535 | 188 | |
cb7dcc83 JB |
189 | %description scripts -l pl |
190 |