]>
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: |
48801ec3 | 8 | %bcond_without arts # disable arts engine |
8d75a549 | 9 | %bcond_without gstreamer # disable gstreamer |
7cdc9e11 | 10 | %bcond_without mas # disable MAS audio backend |
7dae3fc2 | 11 | %bcond_without xine # disable xine engine |
48801ec3 | 12 | %bcond_without xmms # disable xmms wrapping |
9d393535 | 13 | %bcond_without zeroconf # disable support for zeroconf |
04dd0908 | 14 | %bcond_without included_sqlite # don't use included sqlite (VERY BAD IDEA) |
349afe6d | 15 | %bcond_without helix # disable HelixPlayer engine |
7cdc9e11 AM |
16 | %bcond_with nmm # enable NMM audio backend |
17 | %bcond_with mysql # enable mysql support | |
9a2047e2 | 18 | %bcond_with pgsql # enables postgresql support |
7cdc9e11 | 19 | %bcond_with akode # enable aKode engine (too buggy/incomplete) |
291223ab | 20 | %bcond_with altlyrics # use alternative lyrics provider |
4722306d | 21 | # |
3012d1fc JB |
22 | %ifarch i386 |
23 | %undefine with_helix | |
24 | %endif | |
3dce540f | 25 | Summary: A KDE audio player |
26 | Summary(pl): Odtwarzacz audio dla KDE | |
27 | Name: amarok | |
3e102246 | 28 | Version: 1.3.8 |
97b3b618 | 29 | Release: 1 |
3dce540f | 30 | License: GPL |
31 | Group: X11/Applications/Multimedia | |
ff747208 | 32 | Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2 |
3e102246 | 33 | # Source0-md5: fd1ee0509568e5f9f7d0aeb9af094786 |
7cdc9e11 | 34 | Patch0: kde-common-gcc4.patch |
bbd75f2a | 35 | Patch1: %{name}-lyricsurl.patch |
4722306d | 36 | Patch2: %{name}-libtunepimp-0.4.0.patch |
ed83aa1d | 37 | Patch3: %{name}-helixplayer-morearchs.patch |
567ab89c | 38 | URL: http://amarok.kde.org/ |
6fc2033f | 39 | BuildRequires: SDL-devel |
40 | BuildRequires: alsa-lib-devel | |
41 | BuildRequires: arts-qt-devel | |
d3131899 | 42 | BuildRequires: autoconf |
6fc2033f | 43 | BuildRequires: automake |
349afe6d | 44 | BuildRequires: gettext-devel |
9a2047e2 | 45 | %{?with_gstreamer:BuildRequires: gstreamer-plugins-devel >= 0.8.6} |
60b883ee | 46 | BuildRequires: kdebase-devel |
7cdc9e11 | 47 | %{?with_akode:BuildRequires: kdemultimedia-akode} |
ac33bc29 | 48 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 |
7cdc9e11 | 49 | BuildRequires: libltdl-devel |
4722306d | 50 | BuildRequires: libtunepimp-devel >= 0.4.0 |
6fc2033f | 51 | BuildRequires: libvisual-devel >= 0.2.0 |
9a2047e2 | 52 | %{?with_pgsql:BuildRequires: libpqxx-devel} |
349afe6d | 53 | %{?with_mysql:BuildRequires: mysql-devel} |
6fc2033f | 54 | BuildRequires: pcre-devel |
532341d1 | 55 | BuildRequires: rpm-pythonprov |
baa5dbe4 | 56 | BuildRequires: rpmbuild(macros) >= 1.129 |
43342c86 | 57 | BuildRequires: sed >= 4.0 |
ed83aa1d | 58 | %{!?with_included_sqlite:BuildRequires: sqlite3-devel} |
7cdc9e11 | 59 | BuildRequires: taglib-devel >= 1.4 |
60b883ee SP |
60 | %{?with_xine:BuildRequires: xine-lib-devel >= 2:1.0-0.rc5.0} |
61 | %{?with_xmms:BuildRequires: xmms-devel} | |
48801ec3 | 62 | Requires: %{name}-plugin = %{version}-%{release} |
3dce540f | 63 | Requires: kdebase-core >= 9:3.1.93 |
60b883ee | 64 | Requires: kdemultimedia-audiocd >= 9:3.1.93 |
3dce540f | 65 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
66 | ||
67 | %description | |
68 | A KDE audio player. | |
69 | ||
70 | %description -l pl | |
71 | Odtwarzacz audio dla KDE. | |
72 | ||
48801ec3 | 73 | %package arts |
74 | Summary: Plugin arts | |
75 | Summary(pl): Wtyczka arts | |
76 | Group: X11/Applications/Multimedia | |
68391d5a | 77 | Requires: %{name} = %{version}-%{release} |
48801ec3 | 78 | Provides: %{name}-plugin = %{version}-%{release} |
79 | ||
80 | %description arts | |
81 | Plugin arts. | |
82 | ||
83 | %description arts -l pl | |
84 | Wtyczka arts. | |
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 | ||
113 | ||
8d75a549 | 114 | %package gstreamer |
d4535bda | 115 | Summary: Plugin gstreamer |
8d75a549 | 116 | Summary(pl): Wtyczka gstreamer |
117 | Group: X11/Applications/Multimedia | |
ee3a150f ER |
118 | # deps, to get it working: |
119 | # mp3 decoder: gstreamer-mad | |
120 | # ogg decoder: gstreamer-vorbis | |
121 | # audio output driver: gstreamer-audiosink-alsa | |
122 | # from gstreamer-audio-effects to control volume, etc | |
123 | # needed libs: | |
87fa3a5c | 124 | # at least /usr/lib/gstreamer-0.8/libgstresample.so |
ee3a150f ER |
125 | # probably /usr/lib/gstreamer-0.8/libgstadder.so |
126 | # and probably /usr/lib/gstreamer-0.8/libgstvolume.so | |
127 | # gstreamer-musicbrainz for being able to edit id3 tags on files. | |
baa5dbe4 | 128 | Requires: %{name} = %{version}-%{release} |
22795390 | 129 | Requires: gstreamer-audio-effects |
ee3a150f ER |
130 | Requires: gstreamer-audiosink |
131 | Requires: gstreamer-mad | |
ee3a150f | 132 | Requires: gstreamer-musicbrainz |
baa5dbe4 | 133 | Requires: gstreamer-vorbis |
48801ec3 | 134 | Provides: %{name}-plugin = %{version}-%{release} |
8d75a549 | 135 | |
136 | %description gstreamer | |
d4535bda | 137 | Plugin gstreamer. |
8d75a549 | 138 | |
139 | %description gstreamer -l pl | |
140 | Wtyczka gstreamer. | |
141 | ||
7dae3fc2 | 142 | %package xine |
143 | Summary: Plugin xine | |
144 | Summary(pl): Wtyczka xine | |
145 | Group: X11/Applications/Multimedia | |
1aff4314 | 146 | Requires: %{name} = %{version}-%{release} |
14c08c31 | 147 | Requires: xine-plugin-audio |
48801ec3 | 148 | Provides: %{name}-plugin = %{version}-%{release} |
7dae3fc2 | 149 | |
150 | %description xine | |
151 | Plugin xine. | |
152 | ||
153 | %description xine -l pl | |
154 | Wtyczka xine. | |
155 | ||
7cdc9e11 AM |
156 | %package zeroconf |
157 | Summary: Zeroconf data | |
158 | Summary(pl): Dane dla zeroconf | |
159 | Group: X11/Applications/Multimedia | |
68391d5a | 160 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
161 | Requires: kdenetwork-kdnssd |
162 | Provides: %{name}-plugin = %{version}-%{release} | |
163 | ||
164 | %description zeroconf | |
165 | Zeroconf data. | |
166 | ||
167 | %description zeroconf -l pl | |
68391d5a | 168 | Dane dla zeroconf. |
7cdc9e11 | 169 | |
9d393535 ER |
170 | %package scripts |
171 | Summary: amaroK scripts | |
cb7dcc83 | 172 | Summary(pl): Skrypty amaroKa |
9d393535 ER |
173 | Group: X11/Applications/Multimedia |
174 | Requires: %{name} = %{version}-%{release} | |
b4ea7645 | 175 | Requires: kdebase-kdialog |
74a15c28 | 176 | Requires: python-PyQt |
9d393535 ER |
177 | |
178 | %description scripts | |
179 | amaroK scripts allow you extend amaroK functionality. | |
180 | ||
181 | You can learn more about scripts in amaroK from here: | |
2fde3dac | 182 | <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>. |
9d393535 | 183 | |
cb7dcc83 JB |
184 | %description scripts -l pl |
185 |