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-05-01 19:22:53 +02:00
|
|
|
BuildRequires: boost-devel
|
2018-03-31 22:54:16 +02:00
|
|
|
BuildRequires: cmake
|
2018-05-01 19:22:53 +02:00
|
|
|
BuildRequires: desktop-file-utils
|
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: liblastfm-qt5-devel
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: pkgconfig
|
2018-03-31 22:54:16 +02:00
|
|
|
BuildRequires: update-desktop-files
|
2018-05-01 19:22:53 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
|
|
BuildRequires: pkgconfig(Qt5OpenGL)
|
|
|
|
BuildRequires: pkgconfig(Qt5Sql)
|
|
|
|
BuildRequires: pkgconfig(Qt5Test)
|
|
|
|
BuildRequires: pkgconfig(Qt5WebKit)
|
|
|
|
BuildRequires: pkgconfig(Qt5WebKitWidgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
|
|
BuildRequires: pkgconfig(alsa)
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(glu)
|
|
|
|
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)
|
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
|
|
|
BuildRequires: pkgconfig(libcdio)
|
|
|
|
BuildRequires: pkgconfig(libchromaprint)
|
|
|
|
BuildRequires: pkgconfig(libgpod-1.0)
|
|
|
|
BuildRequires: pkgconfig(libmtp)
|
|
|
|
BuildRequires: pkgconfig(libnotify)
|
|
|
|
BuildRequires: pkgconfig(libpulse)
|
|
|
|
BuildRequires: pkgconfig(libudf)
|
|
|
|
BuildRequires: pkgconfig(libxine)
|
|
|
|
BuildRequires: pkgconfig(libvlc)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
BuildRequires: pkgconfig(protobuf)
|
|
|
|
BuildRequires: pkgconfig(sqlite3) >= 3.7
|
|
|
|
BuildRequires: pkgconfig(taglib) >= 1.8
|
|
|
|
Requires: libtag1 >= 1.8
|
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
|
|
|
|
* Edit tags on music files
|
|
|
|
* Album cover art from Lastfm, Musicbrainz, Discogs and Amazon
|
2018-02-27 18:06:05 +01:00
|
|
|
* Native desktop notifications
|
2018-04-01 18:32:31 +02:00
|
|
|
* Playlists in multiple formats
|
|
|
|
* Transfer music to iPod, iPhone, MTP or mass-storage USB player
|
2018-05-01 22:36:28 +02:00
|
|
|
* Fetch tags from MusicBrainz
|
2018-02-27 18:06:05 +01:00
|
|
|
* Support for multiple backends
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%clean
|
2018-03-31 22:54:16 +02:00
|
|
|
cd build
|
2018-02-27 18:06:05 +01:00
|
|
|
make clean
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc
|
|
|
|
%{_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-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@
|