diff --git a/.gitignore b/.gitignore index 2221479..f3e7213 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /Yarock_1.2.0_Sources.tar.gz /Yarock_1.3.0_Sources.tar.gz /Yarock_1.3.1_Sources.tar.gz +/Yarock_1.4.0_Sources.tar.gz diff --git a/sources b/sources index 70f7e90..d19dfea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Yarock_1.3.1_Sources.tar.gz) = a59837609c5004005360a272b45794143c64373d13c2783f84299ab0b849223aac2be3d87703e1925d66ed4301bcc2e7254228d34f556bce0447d949539acf2e +SHA512 (Yarock_1.4.0_Sources.tar.gz) = 39ad470cd53fef738166ca635ca96da0868db406b62be92d276062acc568724a62886b7779eb47fc6a3e6d2825fe417753e9e6b87a978b9009e09d7ea5866f00 diff --git a/yarock-1.4.0-appdata.patch b/yarock-1.4.0-appdata.patch new file mode 100644 index 0000000..96fd182 --- /dev/null +++ b/yarock-1.4.0-appdata.patch @@ -0,0 +1,57 @@ +--- Yarock_1.4.0_Sources/data/org.yarock.appdata.xml.orig 2019-03-28 14:17:07.777156922 +0100 ++++ Yarock_1.4.0_Sources/data/org.yarock.appdata.xml 2019-03-28 14:17:30.327157067 +0100 +@@ -1,11 +1,10 @@ +- +- org.yarock.desktop +- Yarock +- CC0-1.0 +- GPL-3.0 +- Modern linux music player +- ​org.yarock.desktop +- ++ ++ ++ yarock.desktop ++ CC0-1.0 ++ GPL-3.0 ++ Modern linux music player ++ +

Yarock is a music player designed to provide a clean, simple and beautiful music collection based on album coverart.

+

You can easily browse and search your local music collection through various views such as artists, albums, tracks, genre, years, etc. You can also browse your play radio stream thinks to TuneIn, Shoutcast, Dirble radio services.

+

Features include.

+@@ -27,24 +26,14 @@ +
  • Clean and simple user interface
  • +
  • No GNOME or KDE dependancies
  • + +-
    +- https://qt-apps.org/content/show.php/yarock?content=129372 +- +- +- https://launchpadlibrarian.net/189537409/screenshot_album_view.png +- +- +- https://launchpadlibrarian.net/189537418/screenshot_artist_view_1.png +- +- +- https://launchpadlibrarian.net/189537419/screenshot_artist_view_2.png +- +- +- https://launchpadlibrarian.net/189537431/screenshot_track_view.png +- +- +- https://launchpadlibrarian.net/189537441/screenshot_tunin_view.png +- +- +- updatecontact@yarock.org +-
    ++ ++ http://qt-apps.org/content/show.php/yarock?content=129372 ++ ++ https://launchpadlibrarian.net/189537409/screenshot_album_view.png ++ https://launchpadlibrarian.net/189537418/screenshot_artist_view_1.png ++ https://launchpadlibrarian.net/189537419/screenshot_artist_view_2.png ++ https://launchpadlibrarian.net/189537431/screenshot_track_view.png ++ https://launchpadlibrarian.net/189537441/screenshot_tunin_view.png ++ ++ updatecontact@yarock.org ++ diff --git a/yarock.spec b/yarock.spec index 687c7f7..45496d1 100644 --- a/yarock.spec +++ b/yarock.spec @@ -1,12 +1,13 @@ Name: yarock -Version: 1.3.1 -Release: 8%{?dist} +Version: 1.4.0 +Release: 1%{?dist} Summary: Lightweight, beautiful music player # Main license is GPLv2+ in sources, # but GPLv3+ in README.md and BSD (3 clause) for widgets/flowlayout License: GPLv3+ and BSD URL: https://launchpad.net/%{name} Source0: %{url}/1.x/%{version}/+download/Yarock_%{version}_Sources.tar.gz +Patch0: %{name}-%{version}-appdata.patch BuildRequires: cmake BuildRequires: taglib-devel @@ -29,6 +30,7 @@ simple and beautiful music collection based on album cover-art. %prep %setup -q -n Yarock_%{version}_Sources +%patch0 -p1 # Fix the incorrect PHONON include directory for QT5 sed -i 's/PHONON_INCLUDE_DIR/PHONON4QT5_INCLUDE_DIR/g' src/core/player/phonon/CMakeLists.txt # remove empty dir src3party @@ -44,14 +46,16 @@ popd %make_build -C %{_target_platform} %install +install -D -m0644 data/org.%{name}.desktop %{buildroot}%{_datadir}/applications/org.%{name}.desktop +install -D -m0644 data/org.%{name}.appdata.xml %{buildroot}%{_datadir}/appdata/org.%{name}.appdata.xml make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang %{name} --all-name --with-qt desktop-file-install \ --remove-key=Version \ - %{buildroot}%{_datadir}/applications/%{name}.desktop + %{buildroot}%{_datadir}/applications/org.%{name}.desktop %check -appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml +appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/org.%{name}.appdata.xml %files -f %{name}.lang %license COPYING @@ -59,13 +63,17 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.ap %{_bindir}/%{name} %{_libdir}/%{name}/ %{_datadir}/icons/hicolor/*/*/* -%{_datadir}/applications/%{name}.desktop -%{_datadir}/appdata/%{name}.appdata.xml +%{_datadir}/pixmaps/application-x-%{name}.png +%{_datadir}/applications/org.%{name}.desktop +%{_datadir}/appdata/org.%{name}.appdata.xml %dir %{_datadir}/%{name}/ %dir %{_datadir}/%{name}/translations/ - %changelog +* Thu Mar 28 2019 Martin Gansser - 1.4.0-1 +- Update to 1.4.0 +- Add %%{name}-%%{version}-appdata.patch + * Sun Mar 03 2019 Rex Dieter - 1.3.1-8 - rebuild (qt5)