- 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:
parent
7dbba95650
commit
6a5cf97317
@ -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
|
Thu Jul 5 01:14:27 UTC 2018 - jonas@jkvinge.net
|
||||||
|
|
||||||
|
@ -26,7 +26,6 @@ Source: http://files.jkvinge.net/packages/strawberry/%{name}-%{version}.
|
|||||||
|
|
||||||
BuildRequires: libboost_headers-devel
|
BuildRequires: libboost_headers-devel
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: libQt5Gui-private-headers-devel
|
BuildRequires: libQt5Gui-private-headers-devel
|
||||||
@ -34,7 +33,6 @@ BuildRequires: liblastfm-qt5-devel
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: update-desktop-files
|
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(gio-2.0)
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||||
@ -48,7 +46,6 @@ BuildRequires: pkgconfig(Qt5Gui)
|
|||||||
BuildRequires: pkgconfig(Qt5Network)
|
BuildRequires: pkgconfig(Qt5Network)
|
||||||
BuildRequires: pkgconfig(Qt5OpenGL)
|
BuildRequires: pkgconfig(Qt5OpenGL)
|
||||||
BuildRequires: pkgconfig(Qt5Sql)
|
BuildRequires: pkgconfig(Qt5Sql)
|
||||||
BuildRequires: pkgconfig(Qt5Test)
|
|
||||||
BuildRequires: pkgconfig(Qt5WebKit)
|
BuildRequires: pkgconfig(Qt5WebKit)
|
||||||
BuildRequires: pkgconfig(Qt5WebKitWidgets)
|
BuildRequires: pkgconfig(Qt5WebKitWidgets)
|
||||||
BuildRequires: pkgconfig(Qt5Widgets)
|
BuildRequires: pkgconfig(Qt5Widgets)
|
||||||
@ -69,6 +66,12 @@ BuildRequires: pkgconfig(sqlite3) >= 3.7
|
|||||||
BuildRequires: pkgconfig(taglib) >= 1.11
|
BuildRequires: pkgconfig(taglib) >= 1.11
|
||||||
BuildRequires: pkgconfig(libxine)
|
BuildRequires: pkgconfig(libxine)
|
||||||
BuildRequires: pkgconfig(libvlc)
|
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
|
%description
|
||||||
Strawberry is a audio player and music collection organizer.
|
Strawberry is a audio player and music collection organizer.
|
||||||
@ -96,7 +99,9 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
|
%if 0%{?suse_version} < 1500
|
||||||
%suse_update_desktop_file strawberry Qt AudioVideo Audio Player
|
%suse_update_desktop_file strawberry Qt AudioVideo Audio Player
|
||||||
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%if 0%{?suse_version} < 1500
|
%if 0%{?suse_version} < 1500
|
||||||
@ -111,7 +116,8 @@ make %{?_smp_mflags}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md Changelog COPYING
|
%doc README.md Changelog
|
||||||
|
%license COPYING
|
||||||
%{_bindir}/strawberry*
|
%{_bindir}/strawberry*
|
||||||
%{_datadir}/applications/strawberry.desktop
|
%{_datadir}/applications/strawberry.desktop
|
||||||
%{_datadir}/icons/hicolor/*/apps/strawberry.*
|
%{_datadir}/icons/hicolor/*/apps/strawberry.*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user