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