/[packages]/cauldron/amarok/current/SPECS/amarok.spec
ViewVC logotype

Contents of /cauldron/amarok/current/SPECS/amarok.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 70707 - (show annotations) (download)
Sun Mar 13 13:02:42 2011 UTC (13 years ago) by mikala
File size: 8677 byte(s)
Add patch006 (mysqle should work again with mysql 5.5.9)
- Remove buildroot

1 %define libname_orig lib%{name}
2 %define libname %mklibname %{name} 0
3 %define develname %mklibname -d %{name}
4
5 Name: amarok
6 Summary: A powerful media player for KDE4
7 Version: 2.4.0
8 Release: %mkrel 2
9 Epoch: 3
10 License: GPL
11 Url: http://amarok.kde.org/
12 Group: Sound
13 Source0: http://fr2.rpmfind.net/linux/KDE/stable/%{name}/%{version}/src/%{name}-%{version}.tar.bz2
14 Patch0001: 0001-Fix-initial-preference-in-.desktop-from-2.1.90.patch
15 Patch0002: 0002-Remove-appendAndPlay-service-from-2.2.2.90.patch
16 Patch0003: 0003-Fix-CD-titleChanged-from-2.2.2.90.patch
17 Patch0004: 0004-Do-not-enable-Last.fm-by-default-from-2.2.0.patch
18 Patch0005: amarok-2.4.0-link-mysql.patch
19 Patch0006: amarok-2.4.0-support-mysql-5.5.9.patch
20 BuildRequires: taglib-devel >= 1.6-3
21 BuildRequires: cmake >= 2.4.5
22 BuildRequires: libnjb-devel
23 BuildRequires: libifp-devel
24 BuildRequires: libmtp-devel >= 0.3.0
25 BuildRequires: loudmouth-devel
26 BuildRequires: mysql-static-devel
27 BuildRequires: glib2-devel
28 BuildRequires: libvisual-devel
29 BuildRequires: kdelibs4-devel >= 2:4.2.0
30 BuildRequires: kdebase4-workspace-devel >= 4.2.0
31 BuildRequires: kdemultimedia4-devel >= 4.2.0
32 BuildRequires: libgpod-devel >= 0.7.0
33 BuildRequires: curl-devel
34 BuildRequires: libmp4v2-devel
35 BuildRequires: taglib-extras-devel >= 1.0.0-1
36 BuildRequires: qtscriptgenerator
37 BuildRequires: liblastfm-devel
38 BuildRequires: qca2-devel
39 BuildRequires: libofa-devel
40 BuildRequires: ffmpeg-devel
41 BuildRequires: libaio-devel
42 Requires: %name-scripts = %epoch:%version-%release
43 Requires: %name-utils = %epoch:%version-%release
44 Requires: mysql-common-core
45 Requires: qtscriptbindings
46 Requires: kde4-audiocd
47 Conflicts: %{develname} < 3:2.2.0-1
48
49 %description
50 Feature Overview
51
52 * Music Collection:
53 You have a huge music library and want to locate tracks quickly? Let amaroK's
54 powerful Collection take care of that! It's a database powered music store,
55 which keeps track of your complete music library, allowing you to find any
56 title in a matter of seconds.
57
58 * Intuitive User Interface:
59 You will be amazed to see how easy amaroK is to use! Simply drag-and-drop files
60 into the playlist. No hassle with complicated buttons or tangled menus.
61 Listening to music has never been easier!
62
63 * Streaming Radio:
64 Web streams take radio to the next level: Listen to thousands of great radio
65 stations on the internet, for free! amaroK provides excellent streaming
66 support, with advanced features, such as displaying titles of the currently
67 playing songs.
68
69 * Context Browser:
70 This tool provides useful information on the music you are currently listening
71 to, and can make listening suggestions, based on your personal music taste. An
72 innovate and unique feature.
73
74 * Visualizations:
75 amaroK is compatible with XMMS visualization plugins. Allows you to use the
76 great number of stunning visualizations available on the net. 3d visualizations
77 with OpenGL are a great way to enhance your music experience.
78
79 %files -f %name.lang
80 %defattr(-,root,root)
81 %{_kde_bindir}/amarok
82 %{_kde_bindir}/amarok_afttagger
83 %{_kde_bindir}/amarokmp3tunesharmonydaemon
84 %{_kde_bindir}/amarokpkg
85 %{_kde_datadir}/applications/kde4/amarok.desktop
86 %{_kde_datadir}/applications/kde4/amarok_containers.desktop
87 %{_kde_datadir}/config/amarok.knsrc
88 %{_kde_datadir}/config/amarok_homerc
89 %{_kde_datadir}/config.kcfg/amarokconfig.kcfg
90 %{_kde_appsdir}/desktoptheme/*
91 %{_kde_appsdir}/solid/actions/amarok-play-audiocd.desktop
92 %dir %{_kde_appsdir}/amarok
93 %{_kde_appsdir}/amarok/*
94 %{_kde_libdir}/kde4/*
95 %{_kde_libdir}/libampache_account_login.so
96 %{_kde_datadir}/config/amarokapplets.knsrc
97 %{_kde_datadir}/kde4/services/*
98 %{_kde_datadir}/kde4/servicetypes/*
99 %{_kde_iconsdir}/*/*/*/amarok.*
100 %{_kde_datadir}/dbus-1/interfaces/*
101 %exclude %{_kde_appsdir}/amarok/scripts/
102
103 #--------------------------------------------------------------------
104
105 %package utils
106 Summary: Utilities for amarok
107 Group: Graphical desktop/KDE
108
109 %description utils
110 Utilities for amarok
111
112 %files utils
113 %defattr(-,root,root)
114 %{_kde_bindir}/amarokcollectionscanner
115
116 #--------------------------------------------------------------------
117
118 %package scripts
119 Summary: Scripts for amarok
120 Group: Graphical desktop/KDE
121 Requires: %name = %epoch:%version-%release
122
123 %description scripts
124 This package includes python scripts for amarok.
125
126 %files scripts
127 %defattr(-,root,root)
128 %dir %{_kde_appsdir}/amarok/scripts/
129 %{_kde_appsdir}/amarok/scripts/*
130
131 #------------------------------------------------
132
133 %define libamaroklib_major 1
134 %define libamaroklib %mklibname amaroklib %libamaroklib_major
135
136 %package -n %libamaroklib
137 Summary: Amarok 2 core library
138 Group: System/Libraries
139
140 %description -n %libamaroklib
141 Amarok 2 core library.
142
143 %files -n %libamaroklib
144 %defattr(-,root,root)
145 %_kde_libdir/libamaroklib.so.%{libamaroklib_major}*
146
147 #------------------------------------------------
148
149 %define libamarokcore_major 1
150 %define libamarokcore %mklibname amarokcore %libamarokcore_major
151
152 %package -n %libamarokcore
153 Summary: Amarok 2 core library
154 Group: System/Libraries
155
156 %description -n %libamarokcore
157 Amarok 2 core library.
158
159 %files -n %libamarokcore
160 %defattr(-,root,root)
161 %_kde_libdir/libamarokcore.so.%{libamarokcore_major}*
162
163 #------------------------------------------------
164
165 %define libamarokpud_major 1
166 %define libamarokpud %mklibname amarokpud %libamarokpud_major
167
168 %package -n %libamarokpud
169 Summary: Amarok 2 core library
170 Group: System/Libraries
171
172 %description -n %libamarokpud
173 Amarok 2 core library.
174
175 %files -n %libamarokpud
176 %defattr(-,root,root)
177 %_kde_libdir/libamarokpud.so.%{libamarokpud_major}*
178
179 #------------------------------------------------
180
181 %define libamarokqtjson_major 1
182 %define libamarokqtjson %mklibname amarokqtjson %libamarokqtjson_major
183
184 %package -n %libamarokqtjson
185 Summary: Amarok 2 core library
186 Group: System/Libraries
187
188 %description -n %libamarokqtjson
189 Amarok 2 core library.
190
191 %files -n %libamarokqtjson
192 %defattr(-,root,root)
193 %_kde_libdir/libamarokqtjson.so.%{libamarokqtjson_major}*
194
195 #------------------------------------------------
196
197 %define libamarokocsclient_major 4
198 %define libamarokocsclient %mklibname amarokocsclient %libamarokocsclient_major
199
200 %package -n %libamarokocsclient
201 Summary: Amarok 2 core library
202 Group: System/Libraries
203
204 %description -n %libamarokocsclient
205 Amarok 2 core library.
206
207 %files -n %libamarokocsclient
208 %defattr(-,root,root)
209 %_kde_libdir/libamarokocsclient.so.%{libamarokocsclient_major}*
210
211 #------------------------------------------------
212
213 %define libamaroksqlcollection_major 1
214 %define libamaroksqlcollection %mklibname amarok-sqlcollection %libamaroksqlcollection_major
215
216 %package -n %libamaroksqlcollection
217 Summary: Amarok 2 core library
218 Group: System/Libraries
219
220 %description -n %libamaroksqlcollection
221 Amarok 2 core library.
222
223 %files -n %libamaroksqlcollection
224 %defattr(-,root,root)
225 %_kde_libdir/libamarok-sqlcollection.so.%{libamaroksqlcollection_major}*
226
227 #------------------------------------------------
228
229 %define libamaroktranscoding_major 1
230 %define libamaroktranscoding %mklibname amarok-transcoding %libamaroktranscoding_major
231
232 %package -n %libamaroktranscoding
233 Summary: Amarok 2 core library
234 Group: System/Libraries
235
236 %description -n %libamaroktranscoding
237 Amarok 2 core library.
238
239 %files -n %libamaroktranscoding
240 %defattr(-,root,root)
241 %_kde_libdir/libamarok-transcoding.so.%{libamaroktranscoding_major}*
242
243 #------------------------------------------------
244
245 %package -n %{develname}
246 Summary: Headers of %name for development
247 Group: Development/C
248 Requires: %libamaroklib = %epoch:%{version}-%{release}
249 Requires: %libamarokcore = %epoch:%{version}-%{release}
250 Requires: %libamarokqtjson = %epoch:%{version}-%{release}
251 Requires: %libamarokpud = %epoch:%{version}-%{release}
252 Requires: %libamarokocsclient = %epoch:%{version}-%{release}
253 Requires: %libamaroksqlcollection = %epoch:%{version}-%{release}
254 Requires: %libamaroktranscoding = %epoch:%{version}-%{release}
255 Provides: %{name}-devel = %epoch:%{version}-%{release}
256 Provides: %{libname_orig}-devel = %epoch:%{version}-%{release}
257
258 %description -n %{develname}
259 Headers of %{name} for development.
260
261 %files -n %{develname}
262 %defattr(-,root,root)
263 %{_kde_libdir}/libamaroklib.so
264 %{_kde_libdir}/libamarokcore.so
265 %{_kde_libdir}/libamarokpud.so
266 %{_kde_libdir}/libamarokqtjson.so
267 %{_kde_libdir}/libamarokocsclient.so
268 %{_kde_libdir}/libamarok-sqlcollection.so
269 %{_kde_libdir}/libamarok-transcoding.so
270
271 #--------------------------------------------------------------------
272
273 %prep
274 %setup -q -n %name-%version
275 %patch0001 -p0
276 %patch0002 -p0
277 %patch0004 -p0
278 %patch0005 -p0
279 %patch0006 -p0
280
281 %build
282 %cmake_kde4
283 %make
284
285 %install
286 rm -rf %buildroot
287 %{makeinstall_std} -C build
288 %find_lang %{name} amarokcollectionscanner_qt amarok_scriptengine_qscript amarokpkg --with-html
289
290 %clean
291 rm -rf %buildroot

  ViewVC Help
Powered by ViewVC 1.1.30