/[packages]/updates/1/amarok/current/SPECS/amarok.spec
ViewVC logotype

Annotation of /updates/1/amarok/current/SPECS/amarok.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 137426 - (hide annotations) (download)
Thu Sep 1 02:40:54 2011 UTC (12 years, 10 months ago) by mikala
File size: 8469 byte(s)
Add patch0005 from upstream to fix several upstream bugs regarding cd play ( kde #222405, kde #261175, kde #207806, kde #207806 )
- add patch005 from Luc Menut to fix kde #276032 ( CD was not listed in Collection viewer)
- Remove useless patch for plugin loading

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

  ViewVC Help
Powered by ViewVC 1.1.30