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