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