update to 2.9.0.20181224git [release 2.9.0.20181224git-1mamba;Mon Dec 24 2018]
This commit is contained in:
parent
7c77c176e4
commit
cda48b8be0
200
amarok.spec
200
amarok.spec
@ -1,6 +1,6 @@
|
||||
Name: amarok
|
||||
Version: 2.9.0
|
||||
Release: 2mamba
|
||||
Version: 2.9.0.20181224git
|
||||
Release: 1mamba
|
||||
Epoch: 1
|
||||
Summary: A powerful music player for KDE
|
||||
Group: Graphical Desktop/Applications/Multimedia
|
||||
@ -8,40 +8,62 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://amarok.kde.org
|
||||
Source: http://download.kde.org/stable/amarok/%{version}/src/amarok-%{version}.tar.xz
|
||||
Source: https://github.com/KDE/amarok.git/master/amarok-%{version}.tar.bz2
|
||||
#Source: http://download.kde.org/stable/amarok/%{version}/src/amarok-%{version}.tar.xz
|
||||
Patch0: amarok-2.8.0-x86_64-include-QSharedPointer.patch
|
||||
Patch1: amarok-2.8.0-libtag-1.10.patch
|
||||
Patch2: amarok-2.8.0-ffmpeg-3.0.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: kdelibs-devel
|
||||
BuildRequires: libGL-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libQt5WebEngine-devel
|
||||
BuildRequires: libattica5-devel
|
||||
BuildRequires: libavcodec-ffmpeg-devel
|
||||
BuildRequires: libavformat-ffmpeg-devel
|
||||
BuildRequires: libavutil-ffmpeg-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: libfftw-devel
|
||||
BuildRequires: libgdk-pixbuf-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgpod-devel
|
||||
BuildRequires: liblastfm-devel
|
||||
BuildRequires: libloudmouth-devel
|
||||
BuildRequires: libimobiledevice-devel
|
||||
BuildRequires: libkarchive-devel
|
||||
BuildRequires: libkcmutils-devel
|
||||
BuildRequires: libkcodecs-devel
|
||||
BuildRequires: libkcompletion-devel
|
||||
BuildRequires: libkconfig-devel
|
||||
BuildRequires: libkconfigwidgets-devel
|
||||
BuildRequires: libkcoreaddons-devel
|
||||
BuildRequires: libkcrash-devel
|
||||
BuildRequires: libkdbusaddons-devel
|
||||
BuildRequires: libkdeclarative-devel
|
||||
BuildRequires: libkdnssd-devel
|
||||
BuildRequires: libkglobalaccel-devel
|
||||
BuildRequires: libkguiaddons-devel
|
||||
BuildRequires: libki18n-devel
|
||||
BuildRequires: libkiconthemes-devel
|
||||
BuildRequires: libkio-devel
|
||||
BuildRequires: libkitemviews-devel
|
||||
BuildRequires: libknewstuff-devel
|
||||
BuildRequires: libknotifications-devel
|
||||
BuildRequires: libkpackage-devel
|
||||
BuildRequires: libkservice-devel
|
||||
BuildRequires: libktexteditor-devel
|
||||
BuildRequires: libktextwidgets-devel
|
||||
BuildRequires: libkwallet-devel
|
||||
BuildRequires: libkwidgetsaddons-devel
|
||||
BuildRequires: libkwindowsystem-devel
|
||||
BuildRequires: libkxmlgui-devel
|
||||
BuildRequires: libmtp-devel
|
||||
BuildRequires: libmygpo-qt-devel
|
||||
BuildRequires: libmysqlclient-devel
|
||||
BuildRequires: libnepomuk-core-devel
|
||||
BuildRequires: libofa-devel
|
||||
BuildRequires: libphonon-devel
|
||||
BuildRequires: libplist-devel
|
||||
BuildRequires: libqjson-devel
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: libsoprano-devel
|
||||
BuildRequires: libphonon-qt5-devel
|
||||
BuildRequires: libqt5-devel
|
||||
BuildRequires: libsolid-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libtag-devel
|
||||
BuildRequires: libtag-extras-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: libthreadweaver-devel
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: coreutils
|
||||
@ -57,9 +79,6 @@ BuildRequires: liblastfm-devel >= 1.0.3
|
||||
BuildRequires: libmygpo-qt-devel >= 1.1.0
|
||||
BuildRequires: clamz
|
||||
BuildRequires: qtscriptgenerator
|
||||
Requires: kdelibs4 >= %{_kde4_version}
|
||||
Requires: kdebase-runtime >= %{_kde4_version}
|
||||
Requires: libqt4 >= %{_qt4_version}
|
||||
Requires: libvisual-plugins
|
||||
Requires: moodbar
|
||||
Requires: ruby
|
||||
@ -96,15 +115,17 @@ Amarok is a powerful music player for Linux and Unix, MacOS X and Windows with a
|
||||
|
||||
%prep
|
||||
%setup -q -n amarok-%{version}
|
||||
#-D -T
|
||||
#:<< _EOF
|
||||
%patch0 -p1
|
||||
#%patch1 -p1
|
||||
#%patch2 -p1
|
||||
|
||||
sed -i "s|mygpo-qt5/|mygpo-qt/|" src/services/gpodder/*.h src/services/gpodder/*.cpp
|
||||
|
||||
%build
|
||||
# Tests disabled since kde 4.10, see https://bugs.archlinux.org/task/33457
|
||||
%cmake_kde4 -d build \
|
||||
-DKDE4_BUILD_TESTS=OFF \
|
||||
-Wno-dev
|
||||
#:<< _EOF
|
||||
%cmake_kde5 -d build
|
||||
|
||||
%make
|
||||
|
||||
@ -114,16 +135,10 @@ Amarok is a powerful music player for Linux and Unix, MacOS X and Windows with a
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
|
||||
rm -f %{buildroot}%{_kde4_libdir}/libamarok{_taglib,lib,plasma,pud}.so
|
||||
|
||||
%find_lang amarok
|
||||
%find_lang amarokpkg
|
||||
%find_lang amarokcollectionscanner_qt
|
||||
cat amarokpkg.lang amarokcollectionscanner_qt.lang \
|
||||
>> amarok.lang
|
||||
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
|
||||
|
||||
# remove unpackaged files
|
||||
rm -f %{buildroot}%{_kde4_libdir}/libamarok{-sqlcollection,ocsclient}.so
|
||||
#rm -f %{buildroot}%{_kde4_libdir}/libamarok{-sqlcollection,ocsclient}.so
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -137,73 +152,90 @@ exit 0
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ] ; then
|
||||
update-desktop-database -q &>/dev/null
|
||||
touch --no-create %{_kde4_iconsdir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &>/dev/null
|
||||
touch --no-create %{_kde5_iconsdir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kde5_iconsdir}/hicolor &>/dev/null
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%posttrans
|
||||
update-desktop-database -q &>/dev/null
|
||||
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_kde5_iconsdir}/hicolor &>/dev/null
|
||||
exit 0
|
||||
|
||||
%files -f amarok.lang
|
||||
%files -f %{name}5_qt.lang
|
||||
%defattr(-,root,root)
|
||||
%{_kde4_bindir}/*
|
||||
%{_kde4_libdir}/kde4/amarok_*.so
|
||||
%{_kde4_libdir}/kde4/kcm_amarok_service_*.so
|
||||
%{_kde4_libdir}/libamarokcore.so
|
||||
%{_kde4_libdir}/libamarokcore.so.*
|
||||
%{_kde4_libdir}/libamaroklib.so.*
|
||||
%{_kde4_libdir}/libamarokocsclient.so.*
|
||||
%{_kde4_libdir}/libamarok-sqlcollection.so.*
|
||||
%{_kde4_libdir}/libamarok-transcoding.so
|
||||
%{_kde4_libdir}/libamarok-transcoding.so.*
|
||||
%{_kde4_libdir}/libamarokpud.so.*
|
||||
%{_kde4_libdir}/libamarokshared.so
|
||||
%{_kde4_libdir}/libamarokshared.so.*
|
||||
%{_kde4_libdir}/libamarok_service_lastfm_shared.so
|
||||
%{_kde4_libdir}/libampache_account_login.so
|
||||
%{_kde4_datadir}/amarok
|
||||
%{_kde4_datadir}/desktoptheme/default/widgets/amarok-*.svg
|
||||
%{_kde4_datadir}/solid/actions/amarok-play-audiocd.desktop
|
||||
%{_kde4_datadir}/kconf_update/amarok-2.4.1-tokens_syntax_update.pl
|
||||
%{_kde4_datadir}/kconf_update/amarok.upd
|
||||
%{_kde4_sharedir}/metainfo/org.kde.amarok.appdata.xml
|
||||
%{_kde5_bindir}/*
|
||||
#%{_kde5_libdir}/kde4/amarok_*.so
|
||||
#%{_kde5_libdir}/kde4/kcm_amarok_service_*.so
|
||||
%{_kde5_libdir}/libamarokcore.so
|
||||
%{_kde5_libdir}/libamarokcore.so.*
|
||||
%{_kde5_libdir}/libamaroklib.so*
|
||||
#%{_kde5_libdir}/libamarokocsclient.so.*
|
||||
%{_kde5_libdir}/libamarok-sqlcollection.so*
|
||||
%{_kde5_libdir}/libamarok-transcoding.so
|
||||
%{_kde5_libdir}/libamarok-transcoding.so.*
|
||||
%{_kde5_libdir}/libamarokpud.so
|
||||
%{_kde5_libdir}/libamarokshared.so
|
||||
%{_kde5_libdir}/libamarokshared.so.*
|
||||
#%{_kde5_libdir}/libamarok_service_lastfm_shared.so
|
||||
%{_kde5_libdir}/libampache_account_login.so
|
||||
%{_libdir}/libgpodder_service_config.so
|
||||
%{_libdir}/qt5/plugins/amarok_*.so
|
||||
%{_libdir}/qt5/plugins/kcm_amarok_service_*.so
|
||||
%dir %{_libdir}/qt5/qml/org/kde/amarok
|
||||
%{_libdir}/qt5/qml/org/kde/amarok/*
|
||||
%{_datadir}/knotifications5/amarok.notifyrc
|
||||
%dir %{_datadir}/kpackage/amarok
|
||||
%{_datadir}/kpackage/amarok/*
|
||||
%dir %{_datadir}/kpackage/genericqml/org.kde.amarok.context
|
||||
%{_datadir}/kpackage/genericqml/org.kde.amarok.context/*
|
||||
%{_datadir}/metainfo/org.kde.amarok.context.appdata.xml
|
||||
%{_kde5_datadir}/amarok
|
||||
#%{_kde5_datadir}/desktoptheme/default/widgets/amarok-*.svg
|
||||
%{_kde5_datadir}/solid/actions/amarok-play-audiocd.desktop
|
||||
%{_kde5_datadir}/kconf_update/amarok-2.4.1-tokens_syntax_update.pl
|
||||
%{_kde5_datadir}/kconf_update/amarok.upd
|
||||
%{_kde5_sharedir}/metainfo/org.kde.amarok.appdata.xml
|
||||
%{_datadir}/applications/org.kde.amarok.desktop
|
||||
%{_datadir}/applications/org.kde.amarok_containers.desktop
|
||||
%{_kde4_xdgappsdir}/amzdownloader.desktop
|
||||
%{_kde4_xdgmimedir}/amzdownloader.xml
|
||||
%{_kde4_kcfgdir}/amarokconfig.kcfg
|
||||
%{_kde4_configdir}/amarok_homerc
|
||||
%{_kde4_configdir}/amarokapplets.knsrc
|
||||
%{_kde4_configdir}/amarok.knsrc
|
||||
%{_kde4_dbusinterfacesdir}/org.kde.amarok.Collection.xml
|
||||
%{_kde4_dbusinterfacesdir}/org.freedesktop.MediaPlayer.player.xml
|
||||
%{_kde4_dbusinterfacesdir}/org.freedesktop.MediaPlayer.root.xml
|
||||
%{_kde4_dbusinterfacesdir}/org.freedesktop.MediaPlayer.tracklist.xml
|
||||
%{_kde4_icondir}/hicolor/*/apps/amarok.png
|
||||
%{_kde4_servicesdir}/ServiceMenus/*.desktop
|
||||
%{_kde4_servicesdir}/*.desktop
|
||||
%{_kde4_servicesdir}/*.protocol
|
||||
%{_kde4_servicetypesdir}/*.desktop
|
||||
#%{_kde5_xdgappsdir}/amzdownloader.desktop
|
||||
#%{_kde5_xdgmimedir}/amzdownloader.xml
|
||||
%{_kde5_kcfgdir}/amarokconfig.kcfg
|
||||
%{_kde5_configdir}/amarok_homerc
|
||||
#%{_kde5_configdir}/amarokapplets.knsrc
|
||||
%{_kde5_configdir}/amarok.knsrc
|
||||
%{_kde5_dbusinterfacesdir}/org.kde.amarok.Collection.xml
|
||||
%{_kde5_dbusinterfacesdir}/org.freedesktop.MediaPlayer.player.xml
|
||||
%{_kde5_dbusinterfacesdir}/org.freedesktop.MediaPlayer.root.xml
|
||||
%{_kde5_dbusinterfacesdir}/org.freedesktop.MediaPlayer.tracklist.xml
|
||||
%{_kde5_icondir}/hicolor/*/apps/amarok.png
|
||||
%{_kde5_servicesdir}/ServiceMenus/*.desktop
|
||||
%{_kde5_servicesdir}/*.desktop
|
||||
%{_kde5_servicesdir}/*.protocol
|
||||
%{_kde5_servicetypesdir}/*.desktop
|
||||
%{_datadir}/dbus-1/interfaces/org.kde.amarok.App.xml
|
||||
%{_datadir}/dbus-1/interfaces/org.kde.amarok.Mpris?Extensions.Player.xml
|
||||
%lang(de) %{_kde4_htmldir}/de/*
|
||||
%lang(en) %{_kde4_htmldir}/en/*
|
||||
%lang(es) %{_kde4_htmldir}/es/*
|
||||
#%lang(et) %{_kde4_htmldir}/et/*
|
||||
%lang(fr) %{_kde4_htmldir}/fr/*
|
||||
#%lang(it) %{_kde4_htmldir}/it/*
|
||||
%lang(nl) %{_kde4_htmldir}/nl/*
|
||||
%lang(pt) %{_kde4_htmldir}/pt/*
|
||||
%lang(pt_BR) %{_kde4_htmldir}/pt_BR/*
|
||||
%lang(ru) %{_kde4_htmldir}/ru/*
|
||||
%lang(sv) %{_kde4_htmldir}/sv/*
|
||||
%lang(uk) %{_kde4_htmldir}/uk/*
|
||||
#%lang(de) %{_kde5_htmldir}/de/*
|
||||
#%lang(en) %{_kde5_htmldir}/en/*
|
||||
#%lang(es) %{_kde5_htmldir}/es/*
|
||||
##%lang(et) %{_kde5_htmldir}/et/*
|
||||
#%lang(fr) %{_kde5_htmldir}/fr/*
|
||||
##%lang(it) %{_kde5_htmldir}/it/*
|
||||
#%lang(nl) %{_kde5_htmldir}/nl/*
|
||||
#%lang(pt) %{_kde5_htmldir}/pt/*
|
||||
#%lang(pt_BR) %{_kde5_htmldir}/pt_BR/*
|
||||
#%lang(ru) %{_kde5_htmldir}/ru/*
|
||||
#%lang(sv) %{_kde5_htmldir}/sv/*
|
||||
#%lang(uk) %{_kde5_htmldir}/uk/*
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%changelog
|
||||
* Mon Dec 24 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.0.20181224git-1mamba
|
||||
- update to 2.9.0.20181224git
|
||||
|
||||
* Mon Dec 24 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.0-3mamba
|
||||
- rebuilt
|
||||
|
||||
* Tue Aug 07 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.0-2mamba
|
||||
- rebuilt with libmygpo-qt 1.1.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user