]>
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 | # - include /usr/bin/amarok_proxy.rb (proxy server for last.fm, but req. ruby) | |
7 | # - main package pulls /usr/bin/ruby | |
8 | # | |
9 | # Conditional builds: | |
10 | %bcond_with gstreamer # enable gstreamer (gst10 not stable) | |
11 | %bcond_without mas # disable MAS audio backend | |
12 | %bcond_without xine # disable xine engine | |
13 | %bcond_without xmms # disable xmms wrapping | |
14 | %bcond_without zeroconf # disable support for zeroconf | |
15 | %bcond_without included_sqlite # don't use included sqlite (VERY BAD IDEA), needs sqlite >= 3.3 otherwise | |
16 | %bcond_without helix # disable HelixPlayer engine | |
17 | %bcond_without mp3players # disable iPod and iRiver MP3 players support | |
18 | %bcond_with nmm # enable NMM audio backend | |
19 | %bcond_with mysql # enable MySQL support | |
20 | %bcond_with pgsql # enable PostgreSQL support | |
21 | # | |
22 | %ifarch i386 | |
23 | %undefine with_helix | |
24 | %endif | |
25 | ||
26 | Summary: A KDE audio player | |
27 | Summary(pl): Odtwarzacz audio dla KDE | |
28 | Name: amarok | |
29 | Version: 1.4.3 | |
30 | Release: 1 | |
31 | License: GPL | |
32 | Group: X11/Applications/Multimedia | |
33 | #Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2 | |
34 | Source0: http://mirrors.isc.org/pub/kde/stable/amarok/%{version}/src/%{name}-%{version}.tar.bz2 | |
35 | # Source0-md5: b0b4f8952ad23705c70815d50fd0af52 | |
36 | Patch0: %{name}-helixplayer-morearchs.patch | |
37 | Patch1: %{name}-libnjb.patch | |
38 | URL: http://amarok.kde.org/ | |
39 | BuildRequires: SDL-devel | |
40 | BuildRequires: alsa-lib-devel | |
41 | BuildRequires: autoconf | |
42 | BuildRequires: automake | |
43 | BuildRequires: dbus-glib-devel | |
44 | BuildRequires: gettext-devel | |
45 | %{?with_gstreamer:BuildRequires: gstreamer-devel >= 0.10.0} | |
46 | BuildRequires: kdebase-devel | |
47 | %{?with_akode:BuildRequires: kdemultimedia-akode} | |
48 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 | |
49 | %{?with_mp3players:BuildRequires: libgpod-devel >= 0.2.0} | |
50 | %{?with_mp3players:BuildRequires: libifp-devel} | |
51 | %{?with_mp3players:BuildRequires: libmtp-devel} | |
52 | %{?with_mp3players:BuildRequires: libnjb-devel} | |
53 | BuildRequires: libltdl-devel | |
54 | %{?with_pgsql:BuildRequires: libpqxx-devel} | |
55 | BuildRequires: libtunepimp-devel >= 0.4.0 | |
56 | BuildRequires: libvisual-devel >= 0.4.0 | |
57 | BuildRequires: mpeg4ip-devel | |
58 | %{?with_mysql:BuildRequires: mysql-devel} | |
59 | BuildRequires: pcre-devel | |
60 | BuildRequires: pkgconfig | |
61 | BuildRequires: rpm-pythonprov | |
62 | BuildRequires: rpmbuild(macros) >= 1.129 | |
63 | BuildRequires: ruby-devel >= 1.8 | |
64 | BuildRequires: sed >= 4.0 | |
65 | %{!?with_included_sqlite:BuildRequires: sqlite3-devel >= 3.3} | |
66 | BuildRequires: taglib-devel >= 1.4 | |
67 | %{?with_xine:BuildRequires: xine-lib-devel >= 1.1.1} | |
68 | %{?with_xmms:BuildRequires: xmms-devel} | |
69 | Requires(post): /sbin/ldconfig | |
70 | Requires: %{name}-plugin = %{version}-%{release} | |
71 | Requires: kdebase-core >= 9:3.1.93 | |
72 | Requires: kdemultimedia-audiocd >= 9:3.1.93 | |
73 | Obsoletes: amarok-arts | |
74 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
75 | ||
76 | %description | |
77 | A KDE audio player. | |
78 | ||
79 | %description -l pl | |
80 | Odtwarzacz audio dla KDE. | |
81 | ||
82 | %package akode | |
83 | Summary: Plugin akode | |
84 | Summary(pl): Wtyczka akode | |
85 | Group: X11/Applications/Multimedia | |
86 | Requires: %{name} = %{version}-%{release} | |
87 | Provides: %{name}-plugin = %{version}-%{release} | |
88 | ||
89 | %description akode | |
90 | Plugin akode. | |
91 | ||
92 | %description akode -l pl | |
93 | Wtyczka akode. | |
94 | ||
95 | %package helix | |
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} | |
100 | Requires: helix-core | |
101 | Provides: %{name}-plugin = %{version}-%{release} | |
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 | %package gstreamer | |
110 | Summary: Plugin gstreamer | |
111 | Summary(pl): Wtyczka gstreamer | |
112 | Group: X11/Applications/Multimedia | |
113 | # deps, to get it working: | |
114 | # mp3 decoder: gstreamer-mad | |
115 | # ogg decoder: gstreamer-vorbis | |
116 | # audio output driver: gstreamer-audiosink-alsa | |
117 | # from gstreamer-audio-effects to control volume, etc | |
118 | # needed libs: | |
119 | # at least /usr/lib/gstreamer-0.8/libgstresample.so | |
120 | # probably /usr/lib/gstreamer-0.8/libgstadder.so | |
121 | # and probably /usr/lib/gstreamer-0.8/libgstvolume.so | |
122 | # gstreamer-musicbrainz for being able to edit id3 tags on files. | |
123 | Requires: %{name} = %{version}-%{release} | |
124 | Requires: gstreamer-audio-effects | |
125 | Requires: gstreamer-audiosink | |
126 | Requires: gstreamer-mad | |
127 | Requires: gstreamer-musicbrainz | |
128 | Requires: gstreamer-vorbis | |
129 | Provides: %{name}-plugin = %{version}-%{release} | |
130 | ||
131 | %description gstreamer | |
132 | Plugin gstreamer. | |
133 | ||
134 | %description gstreamer -l pl | |
135 | Wtyczka gstreamer. | |
136 | ||
137 | %package xine | |
138 | Summary: Plugin xine | |
139 | Summary(pl): Wtyczka xine | |
140 | Group: X11/Applications/Multimedia | |
141 | Requires: %{name} = %{version}-%{release} | |
142 | Requires: xine-plugin-audio | |
143 | Provides: %{name}-plugin = %{version}-%{release} | |
144 | ||
145 | %description xine | |
146 | Plugin xine. | |
147 | ||
148 | %description xine -l pl | |
149 | Wtyczka xine. | |
150 | ||
151 | %package xmms | |
152 | Summary: Xmms wrapper | |
153 | Summary(pl): Wrapper xmms | |
154 | Group: X11/Applications/Multimedia | |
155 | Requires: %{name} = %{version}-%{release} | |
156 | ||
157 | %description xmms | |
158 | Xmms wrapper. | |
159 | ||
160 | %description xmms -l pl | |
161 | Wrapper xmms. | |
162 | ||
163 | %package zeroconf | |
164 | Summary: Zeroconf data | |
165 | Summary(pl): Dane dla zeroconf | |
166 | Group: X11/Applications/Multimedia | |
167 | Requires: %{name} = %{version}-%{release} | |
168 | Requires: kdenetwork-kdnssd | |
169 | Provides: %{name}-plugin = %{version}-%{release} | |
170 | ||
171 | %description zeroconf | |
172 | Zeroconf data. | |
173 | ||
174 | %description zeroconf -l pl | |
175 | Dane dla zeroconf. | |
176 | ||
177 | %package scripts | |
178 | Summary: amaroK scripts | |
179 | Summary(pl): Skrypty amaroKa | |
180 | Group: X11/Applications/Multimedia | |
181 | Requires: %{name} = %{version}-%{release} | |
182 | Requires: kdebase-kdialog | |
183 | Requires: python-PyQt | |
184 | Requires: ruby-modules | |
185 | ||
186 | %description scripts | |
187 | amaroK scripts allow you extend amaroK functionality. | |
188 | ||
189 | You can learn more about scripts in amaroK from here: | |
190 | <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>. | |
191 | ||
192 | %description scripts -l pl | |
193 |