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