]>
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 | |
01995765 | 5 | # * track http://websvn.kde.org/trunk/extragear/multimedia/amarok/TODO?rev=470324&r1=470292&r2=470324 |
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 |
04dd0908 | 14 | %bcond_without included_sqlite # don't use included sqlite (VERY BAD IDEA) |
7cdc9e11 AM |
15 | %bcond_with helix # enable HelixPlayer engine |
16 | %bcond_with nmm # enable NMM audio backend | |
17 | %bcond_with mysql # enable mysql support | |
9a2047e2 | 18 | %bcond_with pgsql # enables postgresql support |
7cdc9e11 | 19 | %bcond_with akode # enable aKode engine (too buggy/incomplete) |
291223ab | 20 | %bcond_with altlyrics # use alternative lyrics provider |
3dce540f | 21 | Summary: A KDE audio player |
22 | Summary(pl): Odtwarzacz audio dla KDE | |
23 | Name: amarok | |
0baf1277 | 24 | Version: 1.3.5 |
c3893774 | 25 | Release: 3 |
3dce540f | 26 | License: GPL |
27 | Group: X11/Applications/Multimedia | |
68391d5a | 28 | Source0: http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2 |
0baf1277 | 29 | # Source0-md5: faac790ea432a784fa7d1ac6a34ee410 |
7cdc9e11 | 30 | Patch0: kde-common-gcc4.patch |
bbd75f2a | 31 | Patch1: %{name}-lyricsurl.patch |
c3893774 | 32 | Patch2: %{name}-desktop.patch |
567ab89c | 33 | URL: http://amarok.kde.org/ |
baa5dbe4 SP |
34 | #BuildRequires: kdebindings-kjsembed-devel |
35 | #BuildRequires: unsermake >= 040511 | |
6fc2033f | 36 | BuildRequires: SDL-devel |
37 | BuildRequires: alsa-lib-devel | |
38 | BuildRequires: arts-qt-devel | |
d3131899 | 39 | BuildRequires: autoconf |
6fc2033f | 40 | BuildRequires: automake |
9a2047e2 | 41 | %{?with_gstreamer:BuildRequires: gstreamer-plugins-devel >= 0.8.6} |
60b883ee | 42 | BuildRequires: kdebase-devel |
7cdc9e11 | 43 | %{?with_akode:BuildRequires: kdemultimedia-akode} |
ac33bc29 | 44 | BuildRequires: kdemultimedia-devel >= 9:3.1.93 |
7cdc9e11 | 45 | BuildRequires: libltdl-devel |
6fc2033f | 46 | BuildRequires: libmusicbrainz-devel |
47 | BuildRequires: libvisual-devel >= 0.2.0 | |
baa5dbe4 | 48 | %{?with_mysql:BuildRequires: mysql-devel} |
9a2047e2 | 49 | %{?with_pgsql:BuildRequires: libpqxx-devel} |
6fc2033f | 50 | BuildRequires: pcre-devel |
532341d1 | 51 | BuildRequires: rpm-pythonprov |
baa5dbe4 | 52 | BuildRequires: rpmbuild(macros) >= 1.129 |
43342c86 | 53 | BuildRequires: sed >= 4.0 |
9a2047e2 | 54 | %{?with_helix:BuildRequires:helix-core} |
3b7ba7c2 | 55 | %{?!with_included_sqlite:BuildRequires: sqlite3-devel} |
7cdc9e11 | 56 | BuildRequires: taglib-devel >= 1.4 |
60b883ee SP |
57 | %{?with_xine:BuildRequires: xine-lib-devel >= 2:1.0-0.rc5.0} |
58 | %{?with_xmms:BuildRequires: xmms-devel} | |
48801ec3 | 59 | Requires: %{name}-plugin = %{version}-%{release} |
3dce540f | 60 | Requires: kdebase-core >= 9:3.1.93 |
60b883ee | 61 | Requires: kdemultimedia-audiocd >= 9:3.1.93 |
3dce540f | 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 | ||
48801ec3 | 70 | %package arts |
71 | Summary: Plugin arts | |
72 | Summary(pl): Wtyczka arts | |
73 | Group: X11/Applications/Multimedia | |
68391d5a | 74 | Requires: %{name} = %{version}-%{release} |
48801ec3 | 75 | Provides: %{name}-plugin = %{version}-%{release} |
76 | ||
77 | %description arts | |
78 | Plugin arts. | |
79 | ||
80 | %description arts -l pl | |
81 | Wtyczka arts. | |
82 | ||
7cdc9e11 AM |
83 | %package akode |
84 | Summary: Plugin akode | |
85 | Summary(pl): Wtyczka akode | |
86 | Group: X11/Applications/Multimedia | |
68391d5a | 87 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
88 | Provides: %{name}-plugin = %{version}-%{release} |
89 | ||
90 | %description akode | |
91 | Plugin akode. | |
92 | ||
93 | %description akode -l pl | |
94 | Wtyczka akode. | |
95 | ||
8d75a549 | 96 | %package gstreamer |
d4535bda | 97 | Summary: Plugin gstreamer |
8d75a549 | 98 | Summary(pl): Wtyczka gstreamer |
99 | Group: X11/Applications/Multimedia | |
ee3a150f ER |
100 | # deps, to get it working: |
101 | # mp3 decoder: gstreamer-mad | |
102 | # ogg decoder: gstreamer-vorbis | |
103 | # audio output driver: gstreamer-audiosink-alsa | |
104 | # from gstreamer-audio-effects to control volume, etc | |
105 | # needed libs: | |
87fa3a5c | 106 | # at least /usr/lib/gstreamer-0.8/libgstresample.so |
ee3a150f ER |
107 | # probably /usr/lib/gstreamer-0.8/libgstadder.so |
108 | # and probably /usr/lib/gstreamer-0.8/libgstvolume.so | |
109 | # gstreamer-musicbrainz for being able to edit id3 tags on files. | |
baa5dbe4 | 110 | Requires: %{name} = %{version}-%{release} |
22795390 | 111 | Requires: gstreamer-audio-effects |
ee3a150f ER |
112 | Requires: gstreamer-audiosink |
113 | Requires: gstreamer-mad | |
ee3a150f | 114 | Requires: gstreamer-musicbrainz |
baa5dbe4 | 115 | Requires: gstreamer-vorbis |
48801ec3 | 116 | Provides: %{name}-plugin = %{version}-%{release} |
8d75a549 | 117 | |
118 | %description gstreamer | |
d4535bda | 119 | Plugin gstreamer. |
8d75a549 | 120 | |
121 | %description gstreamer -l pl | |
122 | Wtyczka gstreamer. | |
123 | ||
7dae3fc2 | 124 | %package xine |
125 | Summary: Plugin xine | |
126 | Summary(pl): Wtyczka xine | |
127 | Group: X11/Applications/Multimedia | |
1aff4314 | 128 | Requires: %{name} = %{version}-%{release} |
14c08c31 | 129 | Requires: xine-plugin-audio |
48801ec3 | 130 | Provides: %{name}-plugin = %{version}-%{release} |
7dae3fc2 | 131 | |
132 | %description xine | |
133 | Plugin xine. | |
134 | ||
135 | %description xine -l pl | |
136 | Wtyczka xine. | |
137 | ||
7cdc9e11 AM |
138 | %package zeroconf |
139 | Summary: Zeroconf data | |
140 | Summary(pl): Dane dla zeroconf | |
141 | Group: X11/Applications/Multimedia | |
68391d5a | 142 | Requires: %{name} = %{version}-%{release} |
7cdc9e11 AM |
143 | Requires: kdenetwork-kdnssd |
144 | Provides: %{name}-plugin = %{version}-%{release} | |
145 | ||
146 | %description zeroconf | |
147 | Zeroconf data. | |
148 | ||
149 | %description zeroconf -l pl | |
68391d5a | 150 | Dane dla zeroconf. |
7cdc9e11 | 151 | |
9d393535 ER |
152 | %package scripts |
153 | Summary: amaroK scripts | |
cb7dcc83 | 154 | Summary(pl): Skrypty amaroKa |
9d393535 ER |
155 | Group: X11/Applications/Multimedia |
156 | Requires: %{name} = %{version}-%{release} | |
b4ea7645 | 157 | Requires: kdebase-kdialog |
74a15c28 | 158 | Requires: python-PyQt |
9d393535 ER |
159 | |
160 | %description scripts | |
161 | amaroK scripts allow you extend amaroK functionality. | |
162 | ||
163 | You can learn more about scripts in amaroK from here: | |
164 | <http://amarok.kde.org/wiki/index.php/Scripts>. | |
165 | ||
cb7dcc83 JB |
166 | %description scripts -l pl |
167 |