]>
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 | |
5 | # * HelixPlayer engine (fix build - propably some BRs) | |
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 |
7cdc9e11 AM |
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) | |
291223ab | 18 | %bcond_with altlyrics # use alternative lyrics provider |
3dce540f | 19 | Summary: A KDE audio player |
20 | Summary(pl): Odtwarzacz audio dla KDE | |
21 | Name: amarok | |
bbd75f2a SP |
22 | Version: 1.3.1 |
23 | Release: 0.1 | |
3dce540f | 24 | License: GPL |
25 | Group: X11/Applications/Multimedia | |
68391d5a | 26 | Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2 |
bbd75f2a | 27 | # Source0-md5: 31f504e5fe985bbdb3c99f0e72d08fa1 |
7cdc9e11 | 28 | Patch0: kde-common-gcc4.patch |
bbd75f2a | 29 | Patch1: %{name}-lyricsurl.patch |
567ab89c | 30 | URL: http://amarok.kde.org/ |
6fc2033f | 31 | BuildRequires: SDL-devel |
32 | BuildRequires: alsa-lib-devel | |
33 | BuildRequires: arts-qt-devel | |
d3131899 | 34 | BuildRequires: autoconf |
6fc2033f | 35 | BuildRequires: automake |
60b883ee SP |
36 | %{?with_gstreamer:BuildRequires: gstreamer-plugins-devel >= 0.8.1} |
37 | BuildRequires: kdebase-devel | |
7cdc9e11 | 38 | %{?with_akode:BuildRequires: kdemultimedia-akode} |
ac33bc29 | 39 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 |
7cdc9e11 | 40 | BuildRequires: libltdl-devel |
6fc2033f | 41 | BuildRequires: libmusicbrainz-devel |
42 | BuildRequires: libvisual-devel >= 0.2.0 | |
43 | BuildRequires: pcre-devel | |
3022f84e | 44 | BuildRequires: rpmbuild(macros) >= 1.129 |
532341d1 | 45 | BuildRequires: rpm-pythonprov |
43342c86 | 46 | BuildRequires: sed >= 4.0 |
48801ec3 | 47 | BuildRequires: sqlite3-devel |
7cdc9e11 | 48 | BuildRequires: taglib-devel >= 1.4 |
60b883ee SP |
49 | #BuildRequires: unsermake >= 040511 |
50 | %{?with_xine:BuildRequires: xine-lib-devel >= 2:1.0-0.rc5.0} | |
51 | %{?with_xmms:BuildRequires: xmms-devel} | |
52 | %{?with_mysql:BuildRequires: mysql-devel} | |
53 | #BuildRequires: kdebindings-kjsembed-devel | |
48801ec3 | 54 | Requires: %{name}-plugin = %{version}-%{release} |
3dce540f | 55 | Requires: kdebase-core >= 9:3.1.93 |
60b883ee | 56 | Requires: kdemultimedia-audiocd >= 9:3.1.93 |
3dce540f | 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 | ||
48801ec3 | 65 | %package arts |
66 | Summary: Plugin arts | |
67 | Summary(pl): Wtyczka arts | |
68 | Group: X11/Applications/Multimedia | |
68391d5a | 69 | Requires: %{name} = %{version}-%{release} |
48801ec3 | 70 | Provides: %{name}-plugin = %{version}-%{release} |
71 | ||
72 | %description arts | |
73 | Plugin arts. | |
74 | ||
75 | %description arts -l pl | |
76 | Wtyczka arts. | |
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 | ||
8d75a549 | 91 | %package gstreamer |
d4535bda | 92 | Summary: Plugin gstreamer |
8d75a549 | 93 | Summary(pl): Wtyczka gstreamer |
94 | Group: X11/Applications/Multimedia | |
ee3a150f ER |
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: | |
87fa3a5c | 101 | # at least /usr/lib/gstreamer-0.8/libgstresample.so |
ee3a150f ER |
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. | |
22795390 | 105 | Requires: gstreamer-audio-effects |
ee3a150f ER |
106 | Requires: gstreamer-audiosink |
107 | Requires: gstreamer-mad | |
108 | Requires: gstreamer-vorbis | |
109 | Requires: gstreamer-musicbrainz | |
4d1b1b41 | 110 | Requires: %{name} = %{version}-%{release} |
48801ec3 | 111 | Provides: %{name}-plugin = %{version}-%{release} |
8d75a549 | 112 | |
113 | %description gstreamer | |
d4535bda | 114 | Plugin gstreamer. |
8d75a549 | 115 | |
116 | %description gstreamer -l pl | |
117 | Wtyczka gstreamer. | |
118 | ||
7dae3fc2 | 119 | %package xine |
120 | Summary: Plugin xine | |
121 | Summary(pl): Wtyczka xine | |
122 | Group: X11/Applications/Multimedia | |
1aff4314 | 123 | Requires: %{name} = %{version}-%{release} |
14c08c31 | 124 | Requires: xine-plugin-audio |
48801ec3 | 125 | Provides: %{name}-plugin = %{version}-%{release} |
7dae3fc2 | 126 | |
127 | %description xine | |
128 | Plugin xine. | |
129 | ||
130 | %description xine -l pl | |
131 | Wtyczka xine. | |
132 | ||
7cdc9e11 AM |
133 | %package zeroconf |
134 | Summary: Zeroconf data | |
135 | Summary(pl): Dane dla zeroconf | |
136 | Group: X11/Applications/Multimedia | |
68391d5a | 137 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
138 | Requires: kdenetwork-kdnssd |
139 | Provides: %{name}-plugin = %{version}-%{release} | |
140 | ||
141 | %description zeroconf | |
142 | Zeroconf data. | |
143 | ||
144 | %description zeroconf -l pl | |
68391d5a | 145 | Dane dla zeroconf. |
7cdc9e11 | 146 | |
9d393535 ER |
147 | %package scripts |
148 | Summary: amaroK scripts | |
cb7dcc83 | 149 | Summary(pl): Skrypty amaroKa |
9d393535 ER |
150 | Group: X11/Applications/Multimedia |
151 | Requires: %{name} = %{version}-%{release} | |
b4ea7645 | 152 | Requires: kdebase-kdialog |
74a15c28 | 153 | Requires: python-PyQt |
9d393535 ER |
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 | ||
cb7dcc83 JB |
161 | %description scripts -l pl |
162 |