]>
Commit | Line | Data |
---|---|---|
1 | # TODO: | |
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 | # | |
7 | # Conditional builds: | |
8 | %bcond_without arts # disable arts engine | |
9 | %bcond_without gstreamer # disable gstreamer | |
10 | %bcond_without mas # disable MAS audio backend | |
11 | %bcond_without xine # disable xine engine | |
12 | %bcond_without xmms # disable xmms wrapping | |
13 | %bcond_without zeroconf # disable support for zeroconf | |
14 | %bcond_without included_sqlite # don't use included sqlite (VERY BAD IDEA) | |
15 | %bcond_without helix # enable HelixPlayer engine | |
16 | %bcond_with nmm # enable NMM audio backend | |
17 | %bcond_with mysql # enable mysql support | |
18 | %bcond_with pgsql # enables postgresql support | |
19 | %bcond_with akode # enable aKode engine (too buggy/incomplete) | |
20 | %bcond_with altlyrics # use alternative lyrics provider | |
21 | Summary: A KDE audio player | |
22 | Summary(pl): Odtwarzacz audio dla KDE | |
23 | Name: amarok | |
24 | Version: 1.3.5 | |
25 | Release: 4 | |
26 | License: GPL | |
27 | Group: X11/Applications/Multimedia | |
28 | Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2 | |
29 | # Source0-md5: faac790ea432a784fa7d1ac6a34ee410 | |
30 | Patch0: kde-common-gcc4.patch | |
31 | Patch1: %{name}-lyricsurl.patch | |
32 | Patch2: %{name}-desktop.patch | |
33 | URL: http://amarok.kde.org/ | |
34 | #BuildRequires: kdebindings-kjsembed-devel | |
35 | #BuildRequires: unsermake >= 040511 | |
36 | BuildRequires: SDL-devel | |
37 | BuildRequires: alsa-lib-devel | |
38 | BuildRequires: arts-qt-devel | |
39 | BuildRequires: autoconf | |
40 | BuildRequires: automake | |
41 | %{?with_gstreamer:BuildRequires: gstreamer-plugins-devel >= 0.8.6} | |
42 | BuildRequires: kdebase-devel | |
43 | %{?with_akode:BuildRequires: kdemultimedia-akode} | |
44 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 | |
45 | BuildRequires: libltdl-devel | |
46 | BuildRequires: libmusicbrainz-devel | |
47 | BuildRequires: libvisual-devel >= 0.2.0 | |
48 | %{?with_mysql:BuildRequires: mysql-devel} | |
49 | %{?with_pgsql:BuildRequires: libpqxx-devel} | |
50 | BuildRequires: pcre-devel | |
51 | BuildRequires: rpm-pythonprov | |
52 | BuildRequires: rpmbuild(macros) >= 1.129 | |
53 | BuildRequires: sed >= 4.0 | |
54 | %{?with_helix:BuildRequires: helix-core} | |
55 | %{?!with_included_sqlite:BuildRequires: sqlite3-devel} | |
56 | BuildRequires: taglib-devel >= 1.4 | |
57 | %{?with_xine:BuildRequires: xine-lib-devel >= 2:1.0-0.rc5.0} | |
58 | %{?with_xmms:BuildRequires: xmms-devel} | |
59 | Requires: %{name}-plugin = %{version}-%{release} | |
60 | Requires: kdebase-core >= 9:3.1.93 | |
61 | Requires: kdemultimedia-audiocd >= 9:3.1.93 | |
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 | ||
70 | %package arts | |
71 | Summary: Plugin arts | |
72 | Summary(pl): Wtyczka arts | |
73 | Group: X11/Applications/Multimedia | |
74 | Requires: %{name} = %{version}-%{release} | |
75 | Provides: %{name}-plugin = %{version}-%{release} | |
76 | ||
77 | %description arts | |
78 | Plugin arts. | |
79 | ||
80 | %description arts -l pl | |
81 | Wtyczka arts. | |
82 | ||
83 | %package akode | |
84 | Summary: Plugin akode | |
85 | Summary(pl): Wtyczka akode | |
86 | Group: X11/Applications/Multimedia | |
87 | Requires: %{name} = %{version}-%{release} | |
88 | Provides: %{name}-plugin = %{version}-%{release} | |
89 | ||
90 | %description akode | |
91 | Plugin akode. | |
92 | ||
93 | %description akode -l pl | |
94 | Wtyczka akode. | |
95 | ||
96 | %package helix | |
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} | |
101 | Requires: helix-core | |
102 | Provides: %{name}-plugin = %{version}-%{release} | |
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 | ||
111 | %package gstreamer | |
112 | Summary: Plugin gstreamer | |
113 | Summary(pl): Wtyczka gstreamer | |
114 | Group: X11/Applications/Multimedia | |
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: | |
121 | # at least /usr/lib/gstreamer-0.8/libgstresample.so | |
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. | |
125 | Requires: %{name} = %{version}-%{release} | |
126 | Requires: gstreamer-audio-effects | |
127 | Requires: gstreamer-audiosink | |
128 | Requires: gstreamer-mad | |
129 | Requires: gstreamer-musicbrainz | |
130 | Requires: gstreamer-vorbis | |
131 | Provides: %{name}-plugin = %{version}-%{release} | |
132 | ||
133 | %description gstreamer | |
134 | Plugin gstreamer. | |
135 | ||
136 | %description gstreamer -l pl | |
137 | Wtyczka gstreamer. | |
138 | ||
139 | %package xine | |
140 | Summary: Plugin xine | |
141 | Summary(pl): Wtyczka xine | |
142 | Group: X11/Applications/Multimedia | |
143 | Requires: %{name} = %{version}-%{release} | |
144 | Requires: xine-plugin-audio | |
145 | Provides: %{name}-plugin = %{version}-%{release} | |
146 | ||
147 | %description xine | |
148 | Plugin xine. | |
149 | ||
150 | %description xine -l pl | |
151 | Wtyczka xine. | |
152 | ||
153 | %package zeroconf | |
154 | Summary: Zeroconf data | |
155 | Summary(pl): Dane dla zeroconf | |
156 | Group: X11/Applications/Multimedia | |
157 | Requires: %{name} = %{version}-%{release} | |
158 | Requires: kdenetwork-kdnssd | |
159 | Provides: %{name}-plugin = %{version}-%{release} | |
160 | ||
161 | %description zeroconf | |
162 | Zeroconf data. | |
163 | ||
164 | %description zeroconf -l pl | |
165 | Dane dla zeroconf. | |
166 | ||
167 | %package scripts | |
168 | Summary: amaroK scripts | |
169 | Summary(pl): Skrypty amaroKa | |
170 | Group: X11/Applications/Multimedia | |
171 | Requires: %{name} = %{version}-%{release} | |
172 | Requires: kdebase-kdialog | |
173 | Requires: python-PyQt | |
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 | ||
181 | %description scripts -l pl | |
182 |