]>
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) |
ab563251 | 15 | %bcond_without helix # enable 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 |
3dce540f | 21 | Summary: A KDE audio player |
22 | Summary(pl): Odtwarzacz audio dla KDE | |
23 | Name: amarok | |
0baf1277 | 24 | Version: 1.3.5 |
cffbab11 | 25 | Release: 4 |
3dce540f | 26 | License: GPL |
27 | Group: X11/Applications/Multimedia | |
68391d5a | 28 | Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2 |
0baf1277 | 29 | # Source0-md5: faac790ea432a784fa7d1ac6a34ee410 |
7cdc9e11 | 30 | Patch0: kde-common-gcc4.patch |
bbd75f2a | 31 | Patch1: %{name}-lyricsurl.patch |
c3893774 | 32 | Patch2: %{name}-desktop.patch |
567ab89c | 33 | URL: http://amarok.kde.org/ |
baa5dbe4 SP |
34 | #BuildRequires: kdebindings-kjsembed-devel |
35 | #BuildRequires: unsermake >= 040511 | |
6fc2033f | 36 | BuildRequires: SDL-devel |
37 | BuildRequires: alsa-lib-devel | |
38 | BuildRequires: arts-qt-devel | |
d3131899 | 39 | BuildRequires: autoconf |
6fc2033f | 40 | BuildRequires: automake |
9a2047e2 | 41 | %{?with_gstreamer:BuildRequires: gstreamer-plugins-devel >= 0.8.6} |
60b883ee | 42 | BuildRequires: kdebase-devel |
7cdc9e11 | 43 | %{?with_akode:BuildRequires: kdemultimedia-akode} |
ac33bc29 | 44 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 |
7cdc9e11 | 45 | BuildRequires: libltdl-devel |
6fc2033f | 46 | BuildRequires: libmusicbrainz-devel |
47 | BuildRequires: libvisual-devel >= 0.2.0 | |
baa5dbe4 | 48 | %{?with_mysql:BuildRequires: mysql-devel} |
9a2047e2 | 49 | %{?with_pgsql:BuildRequires: libpqxx-devel} |
6fc2033f | 50 | BuildRequires: pcre-devel |
532341d1 | 51 | BuildRequires: rpm-pythonprov |
baa5dbe4 | 52 | BuildRequires: rpmbuild(macros) >= 1.129 |
43342c86 | 53 | BuildRequires: sed >= 4.0 |
ab563251 | 54 | %{?with_helix:BuildRequires: helix-core} |
3b7ba7c2 | 55 | %{?!with_included_sqlite:BuildRequires: sqlite3-devel} |
7cdc9e11 | 56 | BuildRequires: taglib-devel >= 1.4 |
60b883ee SP |
57 | %{?with_xine:BuildRequires: xine-lib-devel >= 2:1.0-0.rc5.0} |
58 | %{?with_xmms:BuildRequires: xmms-devel} | |
48801ec3 | 59 | Requires: %{name}-plugin = %{version}-%{release} |
3dce540f | 60 | Requires: kdebase-core >= 9:3.1.93 |
60b883ee | 61 | Requires: kdemultimedia-audiocd >= 9:3.1.93 |
3dce540f | 62 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
63 | ||
64 | %description | |
65 | A KDE audio player. | |
66 | ||
67 | %description -l pl | |
68 | Odtwarzacz audio dla KDE. | |
69 | ||
48801ec3 | 70 | %package arts |
71 | Summary: Plugin arts | |
72 | Summary(pl): Wtyczka arts | |
73 | Group: X11/Applications/Multimedia | |
68391d5a | 74 | Requires: %{name} = %{version}-%{release} |
48801ec3 | 75 | Provides: %{name}-plugin = %{version}-%{release} |
76 | ||
77 | %description arts | |
78 | Plugin arts. | |
79 | ||
80 | %description arts -l pl | |
81 | Wtyczka arts. | |
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 | ||
110 | ||
8d75a549 | 111 | %package gstreamer |
d4535bda | 112 | Summary: Plugin gstreamer |
8d75a549 | 113 | Summary(pl): Wtyczka gstreamer |
114 | Group: X11/Applications/Multimedia | |
ee3a150f ER |
115 | # deps, to get it working: |
116 | # mp3 decoder: gstreamer-mad | |
117 | # ogg decoder: gstreamer-vorbis | |
118 | # audio output driver: gstreamer-audiosink-alsa | |
119 | # from gstreamer-audio-effects to control volume, etc | |
120 | # needed libs: | |
87fa3a5c | 121 | # at least /usr/lib/gstreamer-0.8/libgstresample.so |
ee3a150f ER |
122 | # probably /usr/lib/gstreamer-0.8/libgstadder.so |
123 | # and probably /usr/lib/gstreamer-0.8/libgstvolume.so | |
124 | # gstreamer-musicbrainz for being able to edit id3 tags on files. | |
baa5dbe4 | 125 | Requires: %{name} = %{version}-%{release} |
22795390 | 126 | Requires: gstreamer-audio-effects |
ee3a150f ER |
127 | Requires: gstreamer-audiosink |
128 | Requires: gstreamer-mad | |
ee3a150f | 129 | Requires: gstreamer-musicbrainz |
baa5dbe4 | 130 | Requires: gstreamer-vorbis |
48801ec3 | 131 | Provides: %{name}-plugin = %{version}-%{release} |
8d75a549 | 132 | |
133 | %description gstreamer | |
d4535bda | 134 | Plugin gstreamer. |
8d75a549 | 135 | |
136 | %description gstreamer -l pl | |
137 | Wtyczka gstreamer. | |
138 | ||
7dae3fc2 | 139 | %package xine |
140 | Summary: Plugin xine | |
141 | Summary(pl): Wtyczka xine | |
142 | Group: X11/Applications/Multimedia | |
1aff4314 | 143 | Requires: %{name} = %{version}-%{release} |
14c08c31 | 144 | Requires: xine-plugin-audio |
48801ec3 | 145 | Provides: %{name}-plugin = %{version}-%{release} |
7dae3fc2 | 146 | |
147 | %description xine | |
148 | Plugin xine. | |
149 | ||
150 | %description xine -l pl | |
151 | Wtyczka xine. | |
152 | ||
7cdc9e11 AM |
153 | %package zeroconf |
154 | Summary: Zeroconf data | |
155 | Summary(pl): Dane dla zeroconf | |
156 | Group: X11/Applications/Multimedia | |
68391d5a | 157 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
158 | Requires: kdenetwork-kdnssd |
159 | Provides: %{name}-plugin = %{version}-%{release} | |
160 | ||
161 | %description zeroconf | |
162 | Zeroconf data. | |
163 | ||
164 | %description zeroconf -l pl | |
68391d5a | 165 | Dane dla zeroconf. |
7cdc9e11 | 166 | |
9d393535 ER |
167 | %package scripts |
168 | Summary: amaroK scripts | |
cb7dcc83 | 169 | Summary(pl): Skrypty amaroKa |
9d393535 ER |
170 | Group: X11/Applications/Multimedia |
171 | Requires: %{name} = %{version}-%{release} | |
b4ea7645 | 172 | Requires: kdebase-kdialog |
74a15c28 | 173 | Requires: python-PyQt |
9d393535 ER |
174 | |
175 | %description scripts | |
176 | amaroK scripts allow you extend amaroK functionality. | |
177 | ||
178 | You can learn more about scripts in amaroK from here: | |
179 | <http://amarok.kde.org/wiki/index.php/Scripts>. | |
180 | ||
cb7dcc83 JB |
181 | %description scripts -l pl |
182 |