Name: cantata Summary: Music Player Daemon (MPD) graphical client Version: 2.3.1 Release: 5%{?dist} License: GPLv2+ URL: https://github.com/cdrummond/cantata Source0: https://github.com/CDrummond/cantata/releases/download/v%{version}/cantata-%{version}.tar.bz2 ## upstreamable patches # make libsolidlite explicitly static Patch104: cantata-2.3.0-libsolid_static.patch BuildRequires: cdparanoia-devel BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: libcdio-paranoia-devel BuildRequires: pkgconfig(phonon4qt5) BuildRequires: pkgconfig(Qt5DBus) pkgconfig(Qt5Gui) pkgconfig(Qt5Network) pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(Qt5Svg) # translations BuildRequires: qt5-linguist BuildRequires: media-player-info BuildRequires: pkgconfig(libcddb) BuildRequires: pkgconfig(libmtp) BuildRequires: pkgconfig(libmusicbrainz5) BuildRequires: pkgconfig(phonon) BuildRequires: pkgconfig(taglib) BuildRequires: pkgconfig(taglib-extras) BuildRequires: systemd-devel Requires: fontawesome-fonts Requires: media-player-info %description Cantata is a graphical client for the music player daemon (MPD). Features: * Multiple MPD collections. * Highly customisable layout. * Songs grouped by album in play queue. * Context view to show artist, album, and song information of current track. * Simple tag editor. * File organizer - use tags to organize files and folders. * Ability to calculate ReplyGain tags. * Dynamic playlists. * Online services; Jamendo, Magnatune, SoundCloud, and Podcasts. * Radio stream support - with the ability to search for streams via TuneIn and ShoutCast. * USB-Mass-Storage and MTP device support. * Audio CD ripping and playback. * Playback of non-MPD songs, via simple in-built HTTP server. * MPRISv2 DBUS interface. * Support for KDE global shortcuts (KDE builds), GNOME media keys, and generic media keys (via Qxt support) * Ubuntu/ambiance theme integration. %prep %setup -q %patch104 -p1 -b .libsolid_static rm -fv translations/blank.ts %build mkdir %{_target_platform} pushd %{_target_platform} PATH="%{_qt5_bindir}:$PATH" ; export PATH ; CXXFLAGS="%{optflags} -I/usr/include/QtSolutions" # see bug 1077936 %{cmake} .. \ -DCMAKE_BUILD_TYPE=Release \ -DENABLE_KDE:BOOL=%{?kde:ON}%{!?kde:OFF} \ -DENABLE_QT5:BOOL=%{?qt5:ON}%{!?qt5:OFF} \ -DENABLE_FFMPEG:BOOL=OFF \ -DENABLE_LIBVLC:BOOL=OFF \ -DENABLE_MPG123:BOOL=OFF \ -DDENABLE_UDISKS2:BOOL=ON popd %make_build -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang %{name} --with-qt --all-name %check desktop-file-validate %{buildroot}%{_datadir}/applications/cantata.desktop %files -f %{name}.lang %doc AUTHORS ChangeLog README TODO %license LICENSE %{_bindir}/cantata # libexecdir type stuff %{_prefix}/lib/cantata/ %{_datadir}/applications/cantata.desktop %{_datadir}/icons/hicolor/*/*/* %dir %{_datadir}/cantata/ %{_datadir}/cantata/icons/ %{_datadir}/cantata/scripts/ %dir %{_datadir}/cantata/translations/ %{_sysconfdir}/dbus-1/system.d/mpd.cantata.mounter.conf %{_datadir}/dbus-1/system-services/mpd.cantata.mounter.service %changelog * Tue Jan 28 2020 Fedora Release Engineering - 2.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 2.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 2.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 2.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Rex Dieter - 2.3.1-1 - cantata-2.3.1 - include upstream commit that removes samba share mounting code * Fri Apr 27 2018 Rex Dieter - 2.3.0-1 - cantata-2.3.0 * Thu Mar 22 2018 Rex Dieter - 2.2.0-1 - cantata-2.2.0 * Wed Feb 07 2018 Fedora Release Engineering - 2.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Jan 07 2018 Igor Gnatenko - 2.0.1-5 - Remove obsolete scriptlets * Wed Aug 02 2017 Fedora Release Engineering - 2.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 2.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Jun 06 2016 Rex Dieter 2.0.1-1 - 2.0.1 * Wed Feb 03 2016 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jan 25 2016 Rex Dieter 2.0.0-1 - 2.0.0, Qt 5 build (#1147393) * Wed Jun 17 2015 Fedora Release Engineering - 1.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 1.4.1-3 - Rebuilt for GCC 5 C++11 ABI change * Thu Nov 27 2014 Haïkel Guémar - 1.4.1-2 - Rebuilt against newer libmusicbrainz5 * Wed Aug 27 2014 Rex Dieter - 1.4.1-1 - cantata-1.4.1 (#1082278) - missing dependency oxygen theme (#1134333) - re-enable kde build * Fri Aug 15 2014 Fedora Release Engineering - 1.3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jun 09 2014 Rex Dieter 1.3.4-2 - make libsolidlite convenience lib explicitly static * Sat Jun 07 2014 Rex Dieter - 1.3.4-1 - cantata-1.3.4 - disable kde integration (for now, FTBFS) - revert whitespace changes - restore cmake types for build options - use system libqxt - ready Qt5-enabled build (not used yet) * Sat Jun 07 2014 Fedora Release Engineering - 1.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Mar 18 2014 Ville Skyttä - 1.2.2-2 - Use system qtiocompressor instead of bundled one * Mon Jan 06 2014 Rex Dieter 1.2.2-1 - cantata-1.2.2 (#1048750) * Thu Dec 26 2013 Rex Dieter 1.2.1-1 - cantata-1.2.1 (#1034054) * Tue Dec 17 2013 Rex Dieter 1.2.0-1 - cantata-1.2.0 * Tue Dec 17 2013 Rex Dieter 1.1.3-1 - cantata-1.1.3 * Wed Aug 14 2013 Rex Dieter 1.1.0-1 - cantata-1.1.0 * Sat Aug 03 2013 Fedora Release Engineering - 0.9.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.9.2-2 - Perl 5.18 rebuild * Mon Jan 28 2013 Rex Dieter 0.9.2-1 - 0.9.2 * Sat Jan 05 2013 Rex Dieter 0.9.1-1 - cantata-0.9.1 * Wed Nov 28 2012 Rex Dieter 0.8.3.1-2 - patch s|^#!/usr/bin/env perl|#!/usr/bin/perl| * Tue Sep 25 2012 Rex Dieter 0.8.3.1-1 - cantata-0.8.3.1 - run desktop-file-validate - add icon scriptlets - drop Requires: mpd - %%doc LICENSE AUTHORS ChangeLog README TODO - omit and explicitly disable ffmpeg, mpg123 support * Thu Aug 02 2012 Rex Dieter 0.8.2-1 - first try