1 | Name: amarok |
---|
2 | Summary: Amarok Media Player |
---|
3 | Summary(ja): Amarok メディアプレイヤー |
---|
4 | Version: 2.8.0 |
---|
5 | Release: 3%{?_dist_release} |
---|
6 | |
---|
7 | # KDE e.V. may determine that future GPL versions are accepted |
---|
8 | License: GPLv2 or GPLv3 |
---|
9 | Group: Applications/Multimedia |
---|
10 | URL: http://amarok.kde.org |
---|
11 | |
---|
12 | Source0: http://download.kde.org/stable/amarok/%{version}/src/amarok-%{version}.tar.bz2 |
---|
13 | # http://quickgit.kde.org/?p=amarok.git&a=blob&&f=src%2Famarok.appdata.xml&o=plain |
---|
14 | Source1: amarok.appdata.xml |
---|
15 | |
---|
16 | # Invoke a browser on the online UserBase documentation instead of KHelpCenter |
---|
17 | # for the help contents if the amarok-doc subpackage is not installed. |
---|
18 | Patch0: amarok-2.8.0-onlinedoc.patch |
---|
19 | |
---|
20 | ## upstreamable patches |
---|
21 | |
---|
22 | ## upstream patches |
---|
23 | |
---|
24 | |
---|
25 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
26 | BuildRequires: curl-devel |
---|
27 | BuildRequires: desktop-file-utils |
---|
28 | BuildRequires: gettext |
---|
29 | BuildRequires: kdelibs4-devel >= 4.9.0 |
---|
30 | BuildRequires: libappstream-glib-devel |
---|
31 | BuildRequires: mariadb-devel mariadb-embedded |
---|
32 | BuildRequires: gdk-pixbuf2-devel |
---|
33 | BuildRequires: glib2-devel |
---|
34 | BuildRequires: libxml2-devel |
---|
35 | BuildRequires: phonon-devel |
---|
36 | BuildRequires: qca2-devel |
---|
37 | BuildRequires: qjson-devel |
---|
38 | BuildRequires: qt4-devel |
---|
39 | BuildRequires: taglib-devel >= 1.7 |
---|
40 | BuildRequires: taglib-extras-devel >= 1.0.1 |
---|
41 | #BuildRequires: libifp-devel |
---|
42 | #BuildRequires: liblastfm-devel |
---|
43 | #BuildRequires: libmp4v2-devel |
---|
44 | BuildRequires: libgcrypt-devel |
---|
45 | BuildRequires: libgpod-devel >= 0.7.0 |
---|
46 | BuildRequires: libmtp-devel >= 1.0.0 |
---|
47 | BuildRequires: loudmouth-devel |
---|
48 | BuildRequires: qtscriptbindings |
---|
49 | BuildRequires: soprano-devel |
---|
50 | BuildRequires: zlib-devel |
---|
51 | BuildRequires: libaio-devel |
---|
52 | |
---|
53 | Requires: qtscriptbindings |
---|
54 | Requires: %{name}-libs = %{version}-%{release} |
---|
55 | Requires: %{name}-utils = %{version}-%{release} |
---|
56 | |
---|
57 | # for trash protocol support, phonon kcm, etc... |
---|
58 | # FIXME: should probably be handled lower in the stack |
---|
59 | Requires: kdebase-runtime |
---|
60 | Requires: kio_mtp |
---|
61 | Requires: kio-upnp-ms |
---|
62 | Requires: media-player-info |
---|
63 | Requires: mariadb-server |
---|
64 | Requires: libaio |
---|
65 | |
---|
66 | Requires(post,postun): gtk2 |
---|
67 | Requires(post,postun): desktop-file-utils |
---|
68 | Requires(post,postun): shared-mime-info |
---|
69 | |
---|
70 | # when we grew a -libs subpkg, multilib love |
---|
71 | Obsoletes: amarok-konqueror < 1.5 |
---|
72 | Obsoletes: amarok-helix-engine < 1.5 |
---|
73 | Obsoletes: amarok-void-engine < 1.5 |
---|
74 | Obsoletes: amarok-xine-engine < 1.5 |
---|
75 | Obsoletes: amarok-visualisation < 1.5 |
---|
76 | |
---|
77 | Vendor: Project Vine |
---|
78 | Distribution: Vine Linux |
---|
79 | |
---|
80 | %description |
---|
81 | Amarok is a multimedia player with: |
---|
82 | - fresh playlist concept, very fast to use, with drag and drop |
---|
83 | - plays all formats supported by the various engines |
---|
84 | - audio effects, like reverb and compressor |
---|
85 | - compatible with the .m3u and .pls formats for playlists |
---|
86 | - nice GUI, integrates into the KDE look, but with a unique touch |
---|
87 | |
---|
88 | %description -l ja |
---|
89 | Amarokは、直感的インターフェースを備えた、Linux および Unix 用の音楽プレーヤーです。 |
---|
90 | Amarokはより好きな音楽を簡単に再生します。 |
---|
91 | |
---|
92 | %package libs |
---|
93 | Summary: Runtime libraries for %{name} |
---|
94 | Summary(ja): %{name} のランタイムライブラリ |
---|
95 | Group: System Environment/Libraries |
---|
96 | %{?_qt4_version:Requires: qt4 >= %{_qt4_version}} |
---|
97 | |
---|
98 | %description libs |
---|
99 | %{summary}. |
---|
100 | |
---|
101 | %package utils |
---|
102 | Summary: Amarok standalone utilities |
---|
103 | Summary(ja): Amarok のスタンドアロンユーティリティ |
---|
104 | Group: Applications/Multimedia |
---|
105 | Obsoletes: amarok-collectionscanner < 2.0.90-2 |
---|
106 | Obsoletes: amarok-utilities < 2.0.96 |
---|
107 | |
---|
108 | %description utils |
---|
109 | %{summary}, including amarokcollectionscanner. |
---|
110 | |
---|
111 | %package doc |
---|
112 | Summary: Application handbook, documentation |
---|
113 | Summary(ja): Amarok のドキュメント |
---|
114 | Group: Applications/Documentation |
---|
115 | # for upgrade path |
---|
116 | Obsoletes: amarok < 2.6.0-1 |
---|
117 | Requires: %{name} = %{version}-%{release} |
---|
118 | BuildArch: noarch |
---|
119 | |
---|
120 | %description doc |
---|
121 | %{summary}. |
---|
122 | |
---|
123 | |
---|
124 | %prep |
---|
125 | %setup -q |
---|
126 | %patch0 -p1 |
---|
127 | |
---|
128 | |
---|
129 | %build |
---|
130 | mkdir -p %{_target_platform} |
---|
131 | pushd %{_target_platform} |
---|
132 | %cmake \ |
---|
133 | -DCMAKE_BUILD_TYPE=release \ |
---|
134 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
135 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
136 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
137 | -DKDE4_BUILD_TESTS=off \ |
---|
138 | .. |
---|
139 | popd |
---|
140 | # -DWITH_MYSQL_EMBEDDED=no \ |
---|
141 | |
---|
142 | make %{?_smp_mflags} -C %{_target_platform} |
---|
143 | |
---|
144 | %install |
---|
145 | rm -rf $RPM_BUILD_ROOT |
---|
146 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
147 | |
---|
148 | # install appdata |
---|
149 | install -m644 -p -D %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml |
---|
150 | |
---|
151 | %find_lang amarok |
---|
152 | %find_lang amarokcollectionscanner_qt |
---|
153 | %find_lang amarokpkg |
---|
154 | #find_lang amarok_scriptengine_qscript |
---|
155 | cat amarokpkg.lang >> amarok.lang |
---|
156 | #cat amarok_scriptengine_qscript.lang >> amarok.lang |
---|
157 | |
---|
158 | # unpackaged files |
---|
159 | rm -f $RPM_BUILD_ROOT%{_libdir}/libamarok{-sqlcollection,-transcoding,_taglib,core,lib,plasma,pud,ocsclient,shared}.so |
---|
160 | |
---|
161 | %check |
---|
162 | desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/amarok.desktop |
---|
163 | desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/amarok_containers.desktop |
---|
164 | |
---|
165 | %clean |
---|
166 | rm -rf $RPM_BUILD_ROOT |
---|
167 | |
---|
168 | %post |
---|
169 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
170 | touch --no-create %{_datadir}/mime/packages &> /dev/null || : |
---|
171 | |
---|
172 | %posttrans |
---|
173 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
174 | update-desktop-database -q &> /dev/null ||: |
---|
175 | update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
176 | |
---|
177 | %postun |
---|
178 | if [ $1 -eq 0 ] ; then |
---|
179 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
180 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
181 | update-desktop-database -q &> /dev/null ||: |
---|
182 | touch --no-create %{_datadir}/mime/packages &> /dev/null || : |
---|
183 | update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
184 | fi |
---|
185 | |
---|
186 | %post libs -p /sbin/ldconfig |
---|
187 | |
---|
188 | %postun libs -p /sbin/ldconfig |
---|
189 | |
---|
190 | |
---|
191 | %files -f %{name}.lang |
---|
192 | %defattr(-,root,root) |
---|
193 | %doc AUTHORS COPYING ChangeLog README |
---|
194 | %{_bindir}/amarok |
---|
195 | %{_bindir}/amarokpkg |
---|
196 | %{_bindir}/amarok_afttagger |
---|
197 | %{_bindir}/amarokmp3tunesharmonydaemon |
---|
198 | %{_bindir}/amzdownloader |
---|
199 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
200 | %{_datadir}/applications/kde4/amarok.desktop |
---|
201 | %{_datadir}/applications/kde4/amarok_containers.desktop |
---|
202 | %{_datadir}/applications/kde4/amzdownloader.desktop |
---|
203 | %{_datadir}/config/amarok.knsrc |
---|
204 | %{_datadir}/config/amarok_homerc |
---|
205 | %{_datadir}/config/amarokapplets.knsrc |
---|
206 | %{_datadir}/config.kcfg/amarokconfig.kcfg |
---|
207 | %{_datadir}/dbus-1/interfaces/*.xml |
---|
208 | %{_datadir}/icons/hicolor/*/*/* |
---|
209 | %{_datadir}/kde4/apps/amarok/ |
---|
210 | %{_datadir}/kde4/apps/desktoptheme/default/widgets/* |
---|
211 | %{_datadir}/kde4/apps/kconf_update/amarok* |
---|
212 | %{_datadir}/kde4/apps/solid/actions/amarok-play-audiocd.desktop |
---|
213 | %{_datadir}/kde4/services/*.desktop |
---|
214 | %{_datadir}/kde4/services/*.protocol |
---|
215 | %{_datadir}/kde4/services/ServiceMenus/amarok_append.desktop |
---|
216 | %{_datadir}/kde4/servicetypes/*.desktop |
---|
217 | %{_datadir}/mime/packages/amzdownloader.xml |
---|
218 | %{_libdir}/kde4/*.so |
---|
219 | |
---|
220 | %files libs |
---|
221 | %defattr(-,root,root,-) |
---|
222 | %{_libdir}/libamarokcore.so.1* |
---|
223 | %{_libdir}/libamaroklib.so.1* |
---|
224 | %{_libdir}/libamarokocsclient.so.4* |
---|
225 | %{_libdir}/libamarokpud.so.1* |
---|
226 | %{_libdir}/libamarokshared.so.1* |
---|
227 | %{_libdir}/libamarok-sqlcollection.so.1* |
---|
228 | %{_libdir}/libamarok-transcoding.so.* |
---|
229 | %{_libdir}/libampache_account_login.so |
---|
230 | |
---|
231 | %files utils -f amarokcollectionscanner_qt.lang |
---|
232 | %defattr(-,root,root,-) |
---|
233 | %{_bindir}/amarokcollectionscanner |
---|
234 | |
---|
235 | %files doc |
---|
236 | %defattr(-,root,root,-) |
---|
237 | %doc %{_docdir}/HTML/*/amarok/* |
---|
238 | |
---|
239 | |
---|
240 | %changelog |
---|
241 | * Sat Jan 27 2018 Toshiaki Ara <ara_t@384.jp> 2.8.0-3 |
---|
242 | - rebuild under current VineSeed |
---|
243 | |
---|
244 | * Sat Sep 03 2016 Toshiaki Ara <ara_t@384.jp> 2.8.0-2 |
---|
245 | - rebuild with gcc-5.4.0 |
---|
246 | - add BuildRequires: libaio-devel |
---|
247 | - add Requires: libaio |
---|
248 | |
---|
249 | * Wed Feb 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.8.0-1 |
---|
250 | - new upstream release |
---|
251 | - split documents into doc subpackage |
---|
252 | - built with libgrypt 1.6.0, libmtp 1.1.8 and mariadb-embedded 10.0.16 |
---|
253 | |
---|
254 | * Mon Sep 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-1 |
---|
255 | - new upstream release |
---|
256 | - add BuildRequires: qjson-devel |
---|
257 | - remove BuildRequires: MySQL-embedded-devel |
---|
258 | |
---|
259 | * Sun Jun 5 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-1 |
---|
260 | - new upstream release |
---|
261 | |
---|
262 | * Sun Oct 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3.2-1 |
---|
263 | - new upstream release for KDE 4 |
---|
264 | - updated BR |
---|
265 | |
---|
266 | * Mon Nov 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.4.10-5 |
---|
267 | - drop helixplayer stuff to resolve unmet dependency |
---|
268 | - drop --with-mp4v2 configure option |
---|
269 | |
---|
270 | * Wed Jun 17 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.10-4vl5 |
---|
271 | - add BuildRequires: libvisual-devel |
---|
272 | |
---|
273 | * Tue Jun 16 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.10-3vl5 |
---|
274 | - add Patch4 (from Ubuntu/Debian) to fix build against libmtp >= 0.3.0 |
---|
275 | |
---|
276 | * Sat Mar 21 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.4.10-2vl5 |
---|
277 | - Package Name Changes: self-build-libmad, self-build-faad2 |
---|
278 | - add patch100 for fix CVE2009-0135, CVE-2009-0136 |
---|
279 | - add PreReq & BuildPreReq: libart_lgpl, libart_lgpl-devel |
---|
280 | |
---|
281 | * Wed Dec 31 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.4.10-1vl5 |
---|
282 | - initial build for Vine Seed. |
---|
283 | - add Patch3 |
---|
284 | - spec in utf-8, and applied vine versioning policy |
---|
285 | |
---|