commit 48da5b1704bdbf9190b3df73a27969564fbbe178
Author: Zamir SUN <sztsian(a)gmail.com>
Date: Wed Dec 5 16:09:23 2018 +0800
Initial deepin-music with 3.1.11
Signed-off-by: Zamir SUN <sztsian(a)gmail.com>
.gitignore | 2 +
deepin-music.appdata.xml | 29 +++++++
deepin-music.spec | 214 +++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 246 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c6c889d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/deepin-music-3.1.9.tar.gz
+/deepin-music-3.1.11.tar.gz
diff --git a/deepin-music.appdata.xml b/deepin-music.appdata.xml
new file mode 100644
index 0000000..5357bee
--- /dev/null
+++ b/deepin-music.appdata.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2017 mosquito -->
+<component type="desktop">
+ <id>deepin-music.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <name>Deepin Music</name>
+ <name xml:lang="zh_CN">深度音乐</name>
+ <summary>Deepin Music Player is a local music player with beautiful design and
simple functions.</summary>
+ <summary xml:lang="zh_CN">深度音乐是一款设计美观,功能简洁的本地音乐播放器。</summary>
+ <description>
+ <p>
+ Deepin Music Player is a local music player with beautiful design and simple functions.
It supports viewing lyrics when playing, playing lossless music and customize playlist,
etc.
+ </p>
+ <p xml:lang="zh_CN">
+ 深度音乐是一款设计美观,功能简洁的本地音乐播放器。支持播放时查看歌词、播放无损音乐、自定义创建歌单等功能。
+ </p>
+ </description>
+ <url
type="homepage">https://github.com/linuxdeepin/deepin-music/...
+ <url
type="bugtracker">https://bugzilla.deepin.io/describecomponents.cgi?product=%E6%B7%B1%E5%BA%A6%E9%9F%B3%E4%B9%90</url>
+ <releases>
+ <release version="3.1.11"
date="2018-11-27"></release>
+ <release version="3.1.9"
date="2018-11-08"></release>
+ </releases>
+ <project_license>GPL-3.0</project_license>
+ <developer_name>Linux Deepin</developer_name>
+ <screenshots>
+ <screenshot
type="default">https://www.deepin.org/wp-content/uploads/201...
+ </screenshots>
+</component>
diff --git a/deepin-music.spec b/deepin-music.spec
new file mode 100644
index 0000000..e9c48b8
--- /dev/null
+++ b/deepin-music.spec
@@ -0,0 +1,214 @@
+Name: deepin-music
+Version: 3.1.11
+Release: 1%{?dist}
+Summary: Deepin Music Player
+Summary(zh_CN): 深度音乐播放器
+License: GPLv3
+Url:
https://github.com/linuxdeepin/deepin-music
+Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+Source1: %{name}.appdata.xml
+
+BuildRequires: desktop-file-utils
+BuildRequires: qt5-linguist
+BuildRequires: pkgconfig(dtkcore)
+BuildRequires: pkgconfig(dtkwidget) >= 2.0.6
+BuildRequires: pkgconfig(icu-uc)
+BuildRequires: pkgconfig(libavcodec)
+BuildRequires: pkgconfig(libavformat)
+BuildRequires: pkgconfig(libcue)
+BuildRequires: pkgconfig(mpris-qt5)
+BuildRequires: pkgconfig(taglib)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(Qt5Core)
+BuildRequires: pkgconfig(Qt5DBus)
+BuildRequires: pkgconfig(Qt5Svg)
+BuildRequires: pkgconfig(Qt5Sql)
+BuildRequires: pkgconfig(Qt5Xml)
+BuildRequires: pkgconfig(Qt5X11Extras)
+BuildRequires: pkgconfig(Qt5Multimedia)
+BuildRequires: gcc
+BuildRequires: libappstream-glib
+Requires: hicolor-icon-theme
+Requires: deepin-manual-directory
+Requires: dbus
+
+%description
+Deepin Music Player with brilliant and tweakful UI Deepin-UI based,
+gstreamer front-end, with features likes search music by pinyin,
+quanpin, colorful lyrics supports, and more powerful functions
+you will found.
+
+%description -l zh_CN
+深度音乐播放器界面基于 Deepin-UI , 后端使用 gstreamer ,
+其他特性如音乐搜索, 丰富多彩的歌词支持, 更多功能等待您发现.
+
+%package devel
+Summary: Development package for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Header files and libraries for %{name}.
+
+%prep
+%setup -q
+sed -i '/vendor/d' src/src.pro
+sed -i '/%1/s|lib|%{_lib}|' src/music-player/core/pluginmanager.cpp
+sed -i '/target.path/s|lib|%{_lib}|' src/libdmusic/libdmusic.pro \
+ src/plugin/netease-meta-search/netease-meta-search.pro
+sed -i 's|$$PWD/../vendor/mpris-qt/src|%{_qt5_includedir}/MprisQt/|g'
src/music-player/build.pri
+sed -i 's|$$PWD/../vendor/dbusextended-qt/src|%{_qt5_includedir}/DBusExtended|g'
src/music-player/build.pri
+rm src/vendor -rf
+
+%build
+%qmake_qt5 PREFIX=%{_prefix}
+%make_build
+
+%install
+%make_install INSTALL_ROOT=%{buildroot}
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+install -pDm644 %{S:1} %{buildroot}/%{_metainfodir}/%{name}.appdata.xml
+appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.appdata.xml
+
+%files
+%doc README.md
+%license LICENSE
+%{_bindir}/%{name}
+%{_libdir}/lib*.so.*
+%{_libdir}/%{name}/
+%{_libdir}/%{name}/plugins/
+%{_libdir}/%{name}/plugins/lib*.so.*
+%{_datadir}/%{name}/
+%{_datadir}/dman/%{name}/
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
+%{_metainfodir}/%{name}.appdata.xml
+
+%files devel
+%{_libdir}/lib*.so
+%{_libdir}/%{name}/plugins/lib*.so
+
+%changelog
+* Wed Dec 05 2018 Zamir SUN <sztsian(a)gmail.com> - 3.1.11-1
+- Update to 3.1.11
+
+* Thu Nov 22 2018 Zamir SUN <sztsian(a)gmail.com> - 3.1.9-1
+- Update to 3.1.9
+
+* Sat Aug 25 2018 mosquito <sensor.wen(a)gmail.com> - 3.1.8.4-1
+- Update to 3.1.8.4
+
+* Fri Jul 20 2018 mosquito <sensor.wen(a)gmail.com> - 3.1.8.3-1
+- Update to 3.1.8.3
+
+* Tue Mar 20 2018 mosquito <sensor.wen(a)gmail.com> - 3.1.8.1-1
+- Update to 3.1.8.1
+
+* Mon Nov 27 2017 mosquito <sensor.wen(a)gmail.com> - 3.1.7.2-1
+- Update to 3.1.7.2
+
+* Fri Oct 27 2017 mosquito <sensor.wen(a)gmail.com> - 3.1.6.2-1
+- Update to 3.1.6.2
+
+* Thu Sep 21 2017 mosquito <sensor.wen(a)gmail.com> - 3.1.6-1
+- Update to 3.1.6
+
+* Mon Aug 21 2017 mosquito <sensor.wen(a)gmail.com> - 3.1.5-1
+- Update to 3.1.5
+
+* Sun Aug 6 2017 Zamir SUN <sztsian(a)gmail.com> - 3.1.4-2
+- Remove group tag
+
+* Fri Jul 14 2017 mosquito <sensor.wen(a)gmail.com> - 3.1.4-1.git7c31a72
+- Update to 3.1.4
+
+* Fri May 19 2017 mosquito <sensor.wen(a)gmail.com> - 3.1.0-1.git901b8a3
+- Update to 3.1.0
+
+* Sat Jan 21 2017 mosquito <sensor.wen(a)gmail.com> - 3.0.1-1.git5110780
+- Update to 3.0.1
+
+* Tue Jan 17 2017 mosquito <sensor.wen(a)gmail.com> - 2.3.2-1.git76f52e9
+- Update to 2.3.2-1.git76f52e9
+
+* Wed Jul 01 2015 mosquito <sensor.wen(a)gmail.com> - 2.3.0-1.gitc43b01d
+- Update version to 2.3.0-1.gitc43b01d
+
+* Wed Dec 31 2014 mosquito <sensor.wen(a)gmail.com> - 2.0git20141231-1
+- Update version to 2.0git20141231
+
+* Mon Dec 15 2014 mosquito <sensor.wen(a)gmail.com> - 2.0git20141209-1
+- Update version to 2.0git20141209
+
+* Thu Nov 27 2014 mosquito <sensor.wen(a)gmail.com> - 2.0git20141127-1
+- Update version to 2.0git20141127
+
+* Tue Nov 18 2014 mosquito <sensor.wen(a)gmail.com> - 2.0git20141117-1
+- Update version to 2.0git20141117
+
+* Wed Nov 5 2014 mosquito <sensor.wen(a)gmail.com> - 2.0git20141104-1
+- Update to 2.0git20141104
+
+* Mon Sep 29 2014 mosquito <sensor.wen(a)gmail.com> - 2.0git20140922-2
+- Update translation
+
+* Fri Sep 19 2014 mosquito <sensor.wen(a)gmail.com> - 2.0git20140922-1
+- Update to 2.0git20140922
+
+* Fri Sep 19 2014 mosquito <sensor.wen(a)gmail.com> - 2.0git20140916-1
+- Rebuild for fedora and rhel
+
+* Sat Jul 5 2014 hillwood(a)linuxfans.org
+- Add python-gstreamer-0_10 as Requires.
+
+* Sun May 25 2014 hillwood(a)linuxfans.org
+- Update to 2.0git20140505.
+ Feature update.
+
+* Wed Aug 14 2013 hillwood(a)linuxfans.org
+- add deepin-gsettings as Requires
+
+* Wed Aug 14 2013 hillwood(a)linuxfans.org
+- update to 2.0git20130802
+ * upsteam did not provide changlog
+
+* Sun Apr 28 2013 hillwood(a)linuxfans.org
+- update to 1.0.1git20130330(2.0 Alpha)
+ * fix bugs
+
+* Tue Mar 19 2013 douglarek(a)outlook.com
+- Bug fix
+ * fix bnc#808258
+
+* Sun Feb 24 2013 kaji331(a)hotmail.com
+- fix require python-cddb to python-CDDB
+
+* Tue Feb 5 2013 hillwood(a)linuxfans.org
+- update to 1.0.1git20130125(2.0 Alpha)
+ * add plugins support
+ * add mini mode
+ * more media formats support
+
+* Mon Jan 7 2013 douglarek(a)outlook.com
+- Add runtime dependence: python-gtk
+
+* Wed Sep 26 2012 hillwood(a)linuxfans.org
+- update to 1.0.1git20120911
+- fix bnc#778659
+- more changlog please see
http://goo.gl/WCVGo
+
+* Mon Sep 3 2012 hillwood(a)linuxfans.org
+- license update: GPL-3.0+
+
+* Mon Sep 3 2012 hillwood(a)linuxfans.org
+- add python-chardet , python-imaging and python-xlib as require
+ packages.
+
+* Sun Sep 2 2012 hillwood(a)linuxfans.org
+- Initial package 1.0git20120716
+ Init.
+ Implement logging to tracking events that happen.
+ Implement a basic configuration.
+ Use listen-music-player play kernel, and thank him for his.
+ Determine the Audio file type is supported.
+ Add Universal encoding detector of the chardet.
diff --git a/sources b/sources
index e69de29..4dbb29e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3644269f7736968d7ffe4070aacc1e1e deepin-music-3.1.11.tar.gz