]>
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 | # * HelixPlayer engine (fix build - propably some BRs) | |
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_with helix # enable HelixPlayer engine | |
15 | %bcond_with nmm # enable NMM audio backend | |
16 | %bcond_with mysql # enable mysql support | |
17 | %bcond_with akode # enable aKode engine (too buggy/incomplete) | |
18 | %bcond_with altlyrics # use alternative lyrics provider | |
19 | Summary: A KDE audio player | |
20 | Summary(pl): Odtwarzacz audio dla KDE | |
21 | Name: amarok | |
22 | Version: 1.3.3 | |
23 | Release: 1 | |
24 | License: GPL | |
25 | Group: X11/Applications/Multimedia | |
26 | Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2 | |
27 | # Source0-md5: 13f02c3cce06d9c1d0511171d736efa3 | |
28 | Patch0: kde-common-gcc4.patch | |
29 | Patch1: %{name}-lyricsurl.patch | |
30 | URL: http://amarok.kde.org/ | |
31 | #BuildRequires: kdebindings-kjsembed-devel | |
32 | #BuildRequires: unsermake >= 040511 | |
33 | BuildRequires: SDL-devel | |
34 | BuildRequires: alsa-lib-devel | |
35 | BuildRequires: arts-qt-devel | |
36 | BuildRequires: autoconf | |
37 | BuildRequires: automake | |
38 | %{?with_gstreamer:BuildRequires: gstreamer-plugins-devel >= 0.8.1} | |
39 | BuildRequires: kdebase-devel | |
40 | %{?with_akode:BuildRequires: kdemultimedia-akode} | |
41 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 | |
42 | BuildRequires: libltdl-devel | |
43 | BuildRequires: libmusicbrainz-devel | |
44 | BuildRequires: libvisual-devel >= 0.2.0 | |
45 | %{?with_mysql:BuildRequires: mysql-devel} | |
46 | BuildRequires: pcre-devel | |
47 | BuildRequires: rpm-pythonprov | |
48 | BuildRequires: rpmbuild(macros) >= 1.129 | |
49 | BuildRequires: sed >= 4.0 | |
50 | BuildRequires: sqlite3-devel | |
51 | BuildRequires: taglib-devel >= 1.4 | |
52 | %{?with_xine:BuildRequires: xine-lib-devel >= 2:1.0-0.rc5.0} | |
53 | %{?with_xmms:BuildRequires: xmms-devel} | |
54 | Requires: %{name}-plugin = %{version}-%{release} | |
55 | Requires: kdebase-core >= 9:3.1.93 | |
56 | Requires: kdemultimedia-audiocd >= 9:3.1.93 | |
57 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
58 | ||
59 | %description | |
60 | A KDE audio player. | |
61 | ||
62 | %description -l pl | |
63 | Odtwarzacz audio dla KDE. | |
64 | ||
65 | %package arts | |
66 | Summary: Plugin arts | |
67 | Summary(pl): Wtyczka arts | |
68 | Group: X11/Applications/Multimedia | |
69 | Requires: %{name} = %{version}-%{release} | |
70 | Provides: %{name}-plugin = %{version}-%{release} | |
71 | ||
72 | %description arts | |
73 | Plugin arts. | |
74 | ||
75 | %description arts -l pl | |
76 | Wtyczka arts. | |
77 | ||
78 | %package akode | |
79 | Summary: Plugin akode | |
80 | Summary(pl): Wtyczka akode | |
81 | Group: X11/Applications/Multimedia | |
82 | Requires: %{name} = %{version}-%{release} | |
83 | Provides: %{name}-plugin = %{version}-%{release} | |
84 | ||
85 | %description akode | |
86 | Plugin akode. | |
87 | ||
88 | %description akode -l pl | |
89 | Wtyczka akode. | |
90 | ||
91 | %package gstreamer | |
92 | Summary: Plugin gstreamer | |
93 | Summary(pl): Wtyczka gstreamer | |
94 | Group: X11/Applications/Multimedia | |
95 | # deps, to get it working: | |
96 | # mp3 decoder: gstreamer-mad | |
97 | # ogg decoder: gstreamer-vorbis | |
98 | # audio output driver: gstreamer-audiosink-alsa | |
99 | # from gstreamer-audio-effects to control volume, etc | |
100 | # needed libs: | |
101 | # at least /usr/lib/gstreamer-0.8/libgstresample.so | |
102 | # probably /usr/lib/gstreamer-0.8/libgstadder.so | |
103 | # and probably /usr/lib/gstreamer-0.8/libgstvolume.so | |
104 | # gstreamer-musicbrainz for being able to edit id3 tags on files. | |
105 | Requires: %{name} = %{version}-%{release} | |
106 | Requires: gstreamer-audio-effects | |
107 | Requires: gstreamer-audiosink | |
108 | Requires: gstreamer-mad | |
109 | Requires: gstreamer-musicbrainz | |
110 | Requires: gstreamer-vorbis | |
111 | Provides: %{name}-plugin = %{version}-%{release} | |
112 | ||
113 | %description gstreamer | |
114 | Plugin gstreamer. | |
115 | ||
116 | %description gstreamer -l pl | |
117 | Wtyczka gstreamer. | |
118 | ||
119 | %package xine | |
120 | Summary: Plugin xine | |
121 | Summary(pl): Wtyczka xine | |
122 | Group: X11/Applications/Multimedia | |
123 | Requires: %{name} = %{version}-%{release} | |
124 | Requires: xine-plugin-audio | |
125 | Provides: %{name}-plugin = %{version}-%{release} | |
126 | ||
127 | %description xine | |
128 | Plugin xine. | |
129 | ||
130 | %description xine -l pl | |
131 | Wtyczka xine. | |
132 | ||
133 | %package zeroconf | |
134 | Summary: Zeroconf data | |
135 | Summary(pl): Dane dla zeroconf | |
136 | Group: X11/Applications/Multimedia | |
137 | Requires: %{name} = %{version}-%{release} | |
138 | Requires: kdenetwork-kdnssd | |
139 | Provides: %{name}-plugin = %{version}-%{release} | |
140 | ||
141 | %description zeroconf | |
142 | Zeroconf data. | |
143 | ||
144 | %description zeroconf -l pl | |
145 | Dane dla zeroconf. | |
146 | ||
147 | %package scripts | |
148 | Summary: amaroK scripts | |
149 | Summary(pl): Skrypty amaroKa | |
150 | Group: X11/Applications/Multimedia | |
151 | Requires: %{name} = %{version}-%{release} | |
152 | Requires: kdebase-kdialog | |
153 | Requires: python-PyQt | |
154 | ||
155 | %description scripts | |
156 | amaroK scripts allow you extend amaroK functionality. | |
157 | ||
158 | You can learn more about scripts in amaroK from here: | |
159 | <http://amarok.kde.org/wiki/index.php/Scripts>. | |
160 | ||
161 | %description scripts -l pl | |
162 |