- Remove unneeded dependency Qt5Test

- Require update-desktop-files only for version less than 1500
- Add COPYING file to %license

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/strawberry?expand=0&rev=12
This commit is contained in:
Jonas Kvinge 2018-07-06 17:34:53 +00:00 committed by Git OBS Bridge
parent 7dbba95650
commit 6a5cf97317
2 changed files with 17 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jul 6 17:32:28 UTC 2018 - jonas@jkvinge.net
- Remove unneeded dependency Qt5Test
- Require update-desktop-files only for version less than 1500
- Add COPYING file to %license
-------------------------------------------------------------------
Thu Jul 5 01:14:27 UTC 2018 - jonas@jkvinge.net

View File

@ -26,7 +26,6 @@ Source: http://files.jkvinge.net/packages/strawberry/%{name}-%{version}.
BuildRequires: libboost_headers-devel
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libQt5Gui-private-headers-devel
@ -34,7 +33,6 @@ BuildRequires: liblastfm-qt5-devel
BuildRequires: make
BuildRequires: git
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
@ -48,7 +46,6 @@ BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5OpenGL)
BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5WebKit)
BuildRequires: pkgconfig(Qt5WebKitWidgets)
BuildRequires: pkgconfig(Qt5Widgets)
@ -69,6 +66,12 @@ BuildRequires: pkgconfig(sqlite3) >= 3.7
BuildRequires: pkgconfig(taglib) >= 1.11
BuildRequires: pkgconfig(libxine)
BuildRequires: pkgconfig(libvlc)
%if 0%{?suse_version} < 1500
Requires(post): update-desktop-files
Requires(post): gtk3-tools
Requires(postun): update-desktop-files
Requires(postun): gtk3-tools
%endif
%description
Strawberry is a audio player and music collection organizer.
@ -96,7 +99,9 @@ make %{?_smp_mflags}
%install
%cmake_install
%if 0%{?suse_version} < 1500
%suse_update_desktop_file strawberry Qt AudioVideo Audio Player
%endif
%post
%if 0%{?suse_version} < 1500
@ -111,7 +116,8 @@ make %{?_smp_mflags}
%endif
%files
%doc README.md Changelog COPYING
%doc README.md Changelog
%license COPYING
%{_bindir}/strawberry*
%{_datadir}/applications/strawberry.desktop
%{_datadir}/icons/hicolor/*/apps/strawberry.*