Logoj0ke.net Open Build Service > Projects > multimedia:SL12 > amarok > Changes
Sign Up | Log In

Changes of Revision 2

[-] Changed amarok.spec
x
 
1
@@ -1,7 +1,7 @@
2
 #
3
 # spec file for package amarok
4
 #
5
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
6
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
7
 #
8
 # All modifications and additions to the file contributed by third parties
9
 # remain the property of their copyright owners, unless otherwise agreed
10
@@ -15,36 +15,28 @@
11
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
12
 #
13
 
14
-# norootforbuild
15
 
16
 %bcond_with ffmpeg
17
 
18
 Name:           amarok
19
-Version:        2.4.3
20
-Release:        17.4
21
+Version:        2.6.0
22
+Release:        6.1
23
 Summary:        Media Player for KDE
24
+License:        GPL-2.0+
25
+Group:          Productivity/Multimedia/Sound/Players
26
 
27
-License:        GPLv2+
28
 Url:            http://amarok.kde.org/
29
-Group:          Productivity/Multimedia/Sound/Players
30
-Source0:        ftp://ftp.kde.org/pub/kde/stable/amarok/%{version}/src/%{name}-%{version}.tar.bz2
31
-# PATCH-FIX-OPENSUSE errmsg-mysql51-embedded.diff -- Don't require errmsg.sys from mysql package
32
-Patch0:         errmsg-mysql51-embedded.diff
33
-# PATCH-FEATURE-OPENSUSE ksuseinstall.diff llunak@novell.com -- Support for on-demand codecs install using ksuseinstall
34
-Patch1:         ksuseinstall.diff
35
+Source0:        ftp://ftp.kde.org/pub/kde/stable/%{name}/%{version}/src/%{name}-%{version}.tar.bz2
36
 # PATCH-FIX-OPENSUSE initial-preference.diff bnc#605522 llunak@novell.com -- Increase initial preference to be used for audio files instead of Kaffeine
37
-Patch2:         initial-preference.diff
38
+Patch1:         initial-preference.diff
39
 # PATCH-FIX-OPENSUSE flac_mimetype_bnc671581.diff bnc#671581 ctrippe@gmx.net -- Support for the changed mimetype for flac files
40
-Patch3:         flac_mimetype_bnc671581.diff
41
+Patch2:         flac_mimetype_bnc671581.diff
42
+Patch3:         revert_solid_workaround.diff
43
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
44
 
45
 # Required for the fdupes macro
46
 BuildRequires:  fdupes
47
-%if 0%{?suse_version} == 1130
48
-BuildRequires:  gtk2-devel
49
-%else
50
 BuildRequires:  gdk-pixbuf-devel
51
-%endif
52
 BuildRequires:  glib2-devel
53
 BuildRequires:  libcurl-devel
54
 %if %{with ffmpeg}
55
@@ -53,30 +45,29 @@
56
 %endif
57
 BuildRequires:  libgcrypt-devel
58
 BuildRequires:  libgpod-devel >= 0.7.0
59
-BuildRequires:  libkde4-devel
60
+BuildRequires:  libkde4-devel >= 4.6.0
61
 BuildRequires:  libksuseinstall-devel
62
 BuildRequires:  liblastfm-devel
63
 BuildRequires:  libmtp-devel
64
-BuildRequires:  libmygpo-qt-devel
65
+BuildRequires:  libmygpo-qt-devel >= 1.0.5
66
 BuildRequires:  libmysqlclient-devel
67
 BuildRequires:  libmysqld-devel
68
 BuildRequires:  libopenssl-devel
69
 BuildRequires:  libqca2-devel
70
 BuildRequires:  libqjson-devel
71
 BuildRequires:  loudmouth-devel
72
-BuildRequires:  mysql
73
 BuildRequires:  qt4-qtscript
74
-BuildRequires:  taglib-devel
75
+BuildRequires:  libtag-devel
76
 BuildRequires:  taglib-extras-devel
77
 BuildRequires:  tcpd-devel
78
 %if 0%{?suse_version}
79
 BuildRequires:  update-desktop-files
80
 %endif
81
 Requires:       libtag-extras1 >= 1.0
82
-Requires:       qt4-qtscript
83
 Requires:       taglib >= 1.6
84
 %kde4_runtime_requires
85
 Recommends:     moodbar
86
+Recommends:     qt4-qtscript
87
 Recommends:     %{name}-lang = %{version}
88
 Provides:       kde4-amarok = 2.0.90
89
 Obsoletes:      kde4-amarok <= 2.0.89
90
@@ -89,14 +80,9 @@
91
 %lang_package
92
 %prep
93
 %setup -q
94
-%patch0
95
-%if !0%{?kde_updatedapps}
96
-%patch1 -p1
97
-%endif
98
+%patch1
99
 %patch2
100
-%if 0%{?suse_version} > 1130
101
-%patch3
102
-%endif
103
+%patch3 -p1
104
 
105
 # Remove build time references so build-compare can do its work
106
 FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
107
@@ -114,13 +100,13 @@
108
 %kde4_makeinstall
109
 cd ..
110
 
111
-# bnc#509815 -- Don't require errmsg.sys from mysql package
112
-install -pm 0644 %{_datadir}/mysql/english/errmsg.sys %{buildroot}%{_kde4_appsdir}/amarok/errmsg.sys
113
-
114
 # Remove *.so files (not needed), fix "devel-file-in-non-devel-package" rpmlint warning
115
 # "libampache_account_login.so" should not be removed
116
 rm -f %{buildroot}%{_kde4_libdir}/libamarok{core,lib,ocsclient,pud,-sqlcollection,-transcoding}.so
117
 
118
+#bnc722284 amarok is not really a good player for audio-cds, remove the action for solid
119
+rm -f %{buildroot}%{_kde4_appsdir}/solid/actions/amarok-play-audiocd.desktop
120
+
121
 %if 0%{?suse_version}
122
 %suse_update_desktop_file amarok Qt KDE AudioVideo Audio Player
123
 %endif
124
@@ -144,9 +130,6 @@
125
 
126
 %postun -p /sbin/ldconfig
127
 
128
-%clean
129
-rm -rf %{buildroot}
130
-
131
 %files
132
 %defattr(-,root,root,-)
133
 %doc AUTHORS COPYING* ChangeLog README TODO
134
@@ -177,15 +160,11 @@
135
 %{_kde4_iconsdir}/hicolor/*/apps/amarok.*
136
 %{_kde4_appsdir}/amarok/
137
 %dir %{_kde4_appsdir}/desktoptheme
138
-%{_kde4_appsdir}/desktoptheme/Amarok-Mockup/
139
 %dir %{_kde4_appsdir}/desktoptheme/default
140
 %dir %{_kde4_appsdir}/desktoptheme/default/widgets
141
 %{_kde4_appsdir}/desktoptheme/default/widgets/amarok-*
142
 %{_kde4_appsdir}/kconf_update/amarok-2.4.1-tokens_syntax_update.pl
143
 %{_kde4_appsdir}/kconf_update/amarok.upd
144
-%dir %{_kde4_appsdir}/solid
145
-%dir %{_kde4_appsdir}/solid/actions
146
-%{_kde4_appsdir}/solid/actions/amarok-play-audiocd.desktop
147
 %{_kde4_sharedir}/config.kcfg/amarokconfig.kcfg
148
 %{_kde4_configdir}/amarok*
149
 %{_kde4_servicesdir}/ServiceMenus/amarok_append.desktop
150
@@ -200,678 +179,3 @@
151
 %exclude %{_kde4_htmldir}/en/amarok/
152
 
153
 %changelog
154
-* Mon Aug 29 2011 idonmez@suse.com
155
-- Don't disable ksuseintall & liblastfm support for KDE:UpdatedApps
156
-* Tue Aug  9 2011 reddwarf@opensuse.org
157
-- Optionally enable MusicDNS support (requires ffmpeg/libav)
158
-* Mon Aug  1 2011 asterios.dramis@gmail.com
159
-- Update to 2.4.3:
160
-  Bugfixes:
161
-  * Fix KWallet auth requests on every track change. (bko#278177)
162
-  * Display correct values for pretty times (playlist length) > 1 day.
163
-  * Update playlist length correctly after removing track. (bko#273407)
164
-  * Fix seek backward from dbus. (Thanks to Matthieu Bedouet) (bko#263287)
165
-  * Prevent dialog querying last.fm settings being displayed on startup if
166
-    none set.
167
-  * Fix detection of smartphones in USB storage mode. (bko#277685)
168
-  * Fix crashes on expanding a newly cloned dynamic playlist (bko#277750)
169
-  * Don't block the UI while calculating the filename previews. (bko#233196)
170
-  * Make M3U & PLS playlist files editable from Saved Playlists. (bko#245963)
171
-  From 2.4.2-Beta 1:
172
-  Features:
173
-  * Made Amarok compile with the Clang LLVM frontend.
174
-  * Enable drag and drop on collections to copy/move within Local Music and
175
-    directly from the playlist. (bko#223400)
176
-  * Added KNotify scripting interface. (bko#260750)
177
-  * Make podcast episodes download filename configurable. Patch by
178
-    Sandeep Raghuraman. (bko#155075)
179
-  * Automatic scrolling in lyrics applet (Thanks to Jan Gerrit Marker)
180
-  * Option to scrobble composer as artist to Last.fm (Thanks to Nicholas
181
-    Wilson)
182
-  * Option to hide the OSD if another window is taking the full screen
183
-  Changes:
184
-  * Again write back ratings only if option is selected.
185
-  * Moved the queue-editor action to the main menu under playlist to save
186
-    space. Queue editor now has a shortcut: Meta+U.
187
-  * Removed the redo action from the playlist toolbar to make it less wide.
188
-  * Made some playlist toolbar actions collapse into a menu button for use on
189
-    small screens.
190
-  * Removed the statusbar. Moved progress info & messages to the Media
191
-    Sources dock.
192
-  * Removed the preview button and checkbox from the organize collection
193
-    dialog.
194
-  * General user interface cleanup (addition of browser widget backgrounds,
195
-    etc.)
196
-  * Removed the add button in the context toolbar. Applet explorer is opened
197
-    on config.
198
-  * Easier to understand Dynamic playlists
199
-  * Made Amarok depend ffmpeg-0.6 or newer.
200
-  * Use KImageCache if possible (kdelibs 4.5.0 and later), which should
201
[+] Deleted errmsg-mysql51-embedded.diff ^
[+] Changed flac_mimetype_bnc671581.diff ^
[+] Changed initial-preference.diff ^
[+] Deleted ksuseinstall.diff ^
[+] Added revert_solid_workaround.diff ^
Changed amarok-2.6.0.tar.bz2 ^