From 20e4464e73c286141149f4556c755a8b829fae09d96ce833c81da2e2565aad77 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 9 May 2018 09:24:20 +0000 Subject: [PATCH] Accepting request 605177 from home:jonaski:audio I want to maintain strawberry in Factory and would like to use devel:multimedia:apps as the devel/feeder project. OBS-URL: https://build.opensuse.org/request/show/605177 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + strawberry-0.1.2.tar.xz | 3 + strawberry.changes | 4 ++ strawberry.spec | 122 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 153 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 strawberry-0.1.2.tar.xz create mode 100644 strawberry.changes create mode 100644 strawberry.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/strawberry-0.1.2.tar.xz b/strawberry-0.1.2.tar.xz new file mode 100644 index 0000000..8740028 --- /dev/null +++ b/strawberry-0.1.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33a4aa47470863e666d302455503708a8a9836e48467227620202206b39d89ed +size 8416500 diff --git a/strawberry.changes b/strawberry.changes new file mode 100644 index 0000000..20363e2 --- /dev/null +++ b/strawberry.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon May 7 19:20:30 UTC 2018 - jonas@jkvinge.net + +- Initial package. diff --git a/strawberry.spec b/strawberry.spec new file mode 100644 index 0000000..a81e712 --- /dev/null +++ b/strawberry.spec @@ -0,0 +1,122 @@ +# +# spec file for package strawberry +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: strawberry +Version: 0.1.2 +Release: 0 +Summary: A audio player and music collection organizer +License: GPL-3.0+ +Group: Productivity/Multimedia/Sound/Players +URL: http://www.strawbs.org/ +Source: http://files.jkvinge.net/packages/strawberry/%{name}-%{version}.tar.xz + +#BuildRequires: boost-devel +BuildRequires: libboost_headers-devel +BuildRequires: cmake +BuildRequires: desktop-file-utils +BuildRequires: gcc-c++ +BuildRequires: hicolor-icon-theme +BuildRequires: libQt5Gui-private-headers-devel +BuildRequires: liblastfm-qt5-devel +BuildRequires: make +BuildRequires: pkgconfig +BuildRequires: update-desktop-files +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(libxml-2.0) +BuildRequires: pkgconfig(protobuf) +BuildRequires: pkgconfig(sqlite3) >= 3.7 +BuildRequires: pkgconfig(taglib) >= 1.8 +Requires: libtag1 >= 1.8 + +%description +Strawberry is a audio player and music collection organizer. +It is a fork of Clementine. The name is inspired by the band Strawbs. + +Features: + - Play and organize music + - Edit tags on music files + - Album cover art from Lastfm, Musicbrainz, Discogs and Amazon + - Native desktop notifications + - Playlists in multiple formats + - Transfer music to iPod, iPhone, MTP or mass-storage USB player + - Fetch tags from MusicBrainz + - Support for multiple backends + +%prep +%setup -q + +%build +export CFLAGS="%{optflags} -fno-strict-aliasing" +export CXXFLAGS="$CFLAGS" +%cmake -DBUILD_WERROR=OFF +make %{?_smp_mflags} + +%install +%cmake_install + +%suse_update_desktop_file strawberry Qt AudioVideo Audio Player + +%post +%if 0%{?suse_version} < 1500 +%desktop_database_post +%icon_theme_cache_post +%endif + +%postun +%if 0%{?suse_version} < 1500 +%desktop_database_postun +%icon_theme_cache_postun +%endif + +%files +%doc README.md Changelog COPYING +%{_bindir}/strawberry* +%{_datadir}/applications/strawberry.desktop +%{_datadir}/icons/hicolor/*/apps/strawberry.* +%{_mandir}/man1/%{name}.1%{?ext_man} +%{_mandir}/man1/%{name}-tagreader.1%{?ext_man} + +%changelog