2018-02-27 18:06:05 +01:00
|
|
|
Name: strawberry
|
|
|
|
Version: @STRAWBERRY_VERSION_RPM_V@
|
|
|
|
Release: @STRAWBERRY_VERSION_RPM_R@.@RPM_DISTRO@
|
|
|
|
Summary: A audio player and music collection organiser
|
|
|
|
Group: Applications/Multimedia
|
2018-04-01 18:32:31 +02:00
|
|
|
License: GPL-3.0+
|
2018-02-27 18:06:05 +01:00
|
|
|
URL: http://www.strawbs.org/
|
2018-04-01 18:32:31 +02:00
|
|
|
Source0: %{name}-@STRAWBERRY_VERSION_PACKAGE@.tar.xz
|
2018-02-27 18:06:05 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2018-07-12 00:07:29 +02:00
|
|
|
%if 0%{?suse_version} > 1325
|
2018-07-03 18:55:25 +02:00
|
|
|
BuildRequires: libboost_headers-devel
|
2018-07-12 00:07:29 +02:00
|
|
|
%else
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
%endif
|
2018-03-31 22:54:16 +02:00
|
|
|
BuildRequires: cmake
|
2018-05-01 19:22:53 +02:00
|
|
|
BuildRequires: desktop-file-utils
|
2018-11-02 20:30:12 +01:00
|
|
|
BuildRequires: appstream-glib
|
2018-03-31 22:54:16 +02:00
|
|
|
BuildRequires: gcc-c++
|
2018-05-01 19:22:53 +02:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2018-03-31 22:54:16 +02:00
|
|
|
BuildRequires: libQt5Gui-private-headers-devel
|
2018-05-01 19:22:53 +02:00
|
|
|
BuildRequires: make
|
2018-07-03 18:55:25 +02:00
|
|
|
BuildRequires: git
|
2018-05-01 19:22:53 +02:00
|
|
|
BuildRequires: pkgconfig
|
2018-03-31 22:54:16 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2018-07-03 18:55:25 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
|
|
BuildRequires: pkgconfig(alsa)
|
|
|
|
BuildRequires: pkgconfig(protobuf)
|
2018-07-06 21:56:13 +02:00
|
|
|
BuildRequires: pkgconfig(sqlite3) >= 3.7
|
|
|
|
BuildRequires: pkgconfig(taglib) >= 1.11
|
2018-05-01 19:22:53 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
2018-07-06 21:56:13 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
|
|
BuildRequires: pkgconfig(Qt5Sql)
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
2018-05-01 19:22:53 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
2018-07-06 21:56:13 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
2018-05-01 19:22:53 +02:00
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-app-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-audio-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-base-1.0)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-tag-1.0)
|
2018-07-06 21:56:13 +02:00
|
|
|
BuildRequires: pkgconfig(libpulse)
|
2018-05-01 19:22:53 +02:00
|
|
|
BuildRequires: pkgconfig(libcdio)
|
|
|
|
BuildRequires: pkgconfig(libchromaprint)
|
|
|
|
BuildRequires: pkgconfig(libgpod-1.0)
|
|
|
|
BuildRequires: pkgconfig(libmtp)
|
|
|
|
BuildRequires: pkgconfig(libnotify)
|
|
|
|
BuildRequires: pkgconfig(libudf)
|
2018-07-03 18:55:25 +02:00
|
|
|
BuildRequires: pkgconfig(libxine)
|
|
|
|
BuildRequires: pkgconfig(libvlc)
|
2018-02-27 18:06:05 +01:00
|
|
|
|
2018-11-04 00:48:39 +01:00
|
|
|
Requires: libQt5Sql5-sqlite
|
|
|
|
|
2018-02-27 18:06:05 +01:00
|
|
|
%description
|
2018-05-01 22:36:28 +02:00
|
|
|
Strawberry is a audio player and music collection organizer.
|
2018-02-27 18:06:05 +01:00
|
|
|
It is a fork of Clementine. The name is inspired by the band Strawbs.
|
|
|
|
|
2018-04-01 18:32:31 +02:00
|
|
|
Features:
|
|
|
|
* Play and organize music
|
2018-09-15 00:22:10 +02:00
|
|
|
* Supports WAV, FLAC, WavPack, DSF, DSDIFF, Ogg Vorbis, Speex, MPC, TrueAudio, AIFF, MP4, MP3 and ASF
|
|
|
|
* Audio CD playback
|
2018-02-27 18:06:05 +01:00
|
|
|
* Native desktop notifications
|
2018-04-01 18:32:31 +02:00
|
|
|
* Playlists in multiple formats
|
2018-09-15 00:22:10 +02:00
|
|
|
* Advanced output and device options with support for bit perfect playback on Linux
|
2018-07-03 18:55:25 +02:00
|
|
|
* Edit tags on music files
|
2018-05-01 22:36:28 +02:00
|
|
|
* Fetch tags from MusicBrainz
|
2018-09-15 00:22:10 +02:00
|
|
|
* Album cover art from Last.fm, Musicbrainz and Discogs
|
|
|
|
* Song lyrics from AudD and API Seeds
|
2018-02-27 18:06:05 +01:00
|
|
|
* Support for multiple backends
|
2018-09-15 00:22:10 +02:00
|
|
|
* Audio analyzer
|
|
|
|
* Equalizer
|
|
|
|
* Transfer music to iPod, iPhone, MTP or mass-storage USB player
|
2018-11-02 20:30:12 +01:00
|
|
|
* Integrated Tidal and Deezer support
|
2018-02-27 18:06:05 +01:00
|
|
|
|
|
|
|
%prep
|
2018-04-01 18:32:31 +02:00
|
|
|
%setup -q -n %{name}-@STRAWBERRY_VERSION_PACKAGE@
|
2018-02-27 18:06:05 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%{cmake} .. -DUSE_INSTALL_PREFIX=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2018-03-31 22:54:16 +02:00
|
|
|
cd build
|
2018-02-27 18:06:05 +01:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2018-11-02 20:30:12 +01:00
|
|
|
%if 0%{?suse_version} < 1500
|
|
|
|
mv %{buildroot}%{_datadir}/metainfo %{buildroot}%{_datadir}/appdata
|
|
|
|
%endif
|
2018-02-27 18:06:05 +01:00
|
|
|
|
|
|
|
%clean
|
2018-03-31 22:54:16 +02:00
|
|
|
cd build
|
2018-02-27 18:06:05 +01:00
|
|
|
make clean
|
|
|
|
|
2018-11-02 20:30:12 +01:00
|
|
|
%check
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/strawberry.desktop
|
|
|
|
%if 0%{?suse_version} >= 1500
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/strawberry.appdata.xml
|
|
|
|
%else
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/strawberry.appdata.xml
|
|
|
|
%endif
|
|
|
|
|
2018-02-27 18:06:05 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2018-10-22 23:23:25 +02:00
|
|
|
%doc README.md Changelog
|
|
|
|
%license COPYING
|
2018-02-27 18:06:05 +01:00
|
|
|
%{_bindir}/strawberry
|
|
|
|
%{_bindir}/strawberry-tagreader
|
|
|
|
%{_datadir}/applications/strawberry.desktop
|
2018-03-31 22:54:16 +02:00
|
|
|
%{_datadir}/icons/hicolor/48x48/apps/strawberry.png
|
2018-02-27 18:06:05 +01:00
|
|
|
%{_datadir}/icons/hicolor/64x64/apps/strawberry.png
|
|
|
|
%{_datadir}/icons/hicolor/128x128/apps/strawberry.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/strawberry.svg
|
2018-11-02 20:30:12 +01:00
|
|
|
%if 0%{?suse_version} >= 1500
|
|
|
|
%{_datadir}/metainfo/strawberry.appdata.xml
|
|
|
|
%else
|
|
|
|
%{_datadir}/appdata/strawberry.appdata.xml
|
|
|
|
%endif
|
2018-04-01 18:32:31 +02:00
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
2018-04-01 19:43:55 +02:00
|
|
|
%{_mandir}/man1/%{name}-tagreader.1%{?ext_man}
|
2018-02-27 18:06:05 +01:00
|
|
|
|
|
|
|
%changelog
|
2018-04-01 21:56:33 +02:00
|
|
|
* @RPM_DATE@ Jonas Kvinge <jonas@strawbs.net> - @STRAWBERRY_VERSION_RPM_V@
|
|
|
|
- Version @STRAWBERRY_VERSION_PACKAGE@
|
2018-07-12 00:07:29 +02:00
|
|
|
|