/[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 83548 - (show annotations) (download)
Tue Apr 12 05:45:45 2011 UTC (10 years, 5 months ago) by ahmad
File size: 8938 byte(s)
- don't obsolete libampache_account; as per discussion with dmorgan on IRC, no
  quirks for upgrading packages from 3rd party repos should be added

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

  ViewVC Help
Powered by ViewVC 1.1.28