commit ccddfd01de30f2c0f206f0a2d2170229cb750370
Author: Zamir SUN <sztsian(a)gmail.com>
Date: Thu Nov 22 19:10:08 2018 +0800
Initial with deepin-movie-3.2.14-1
Signed-off-by: Zamir SUN <sztsian(a)gmail.com>
.gitignore | 1 +
deepin-movie-appdata.xml | 28 +++++++++
deepin-movie.spec | 155 +++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 185 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5443754 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/deepin-movie-3.2.14.tar.gz
diff --git a/deepin-movie-appdata.xml b/deepin-movie-appdata.xml
new file mode 100644
index 0000000..a0f3116
--- /dev/null
+++ b/deepin-movie-appdata.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2017 mosquito -->
+<component type="desktop">
+ <id>deepin-movie.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <name>Deepin Movie</name>
+ <name xml:lang="zh_CN">深度影院</name>
+ <summary>Deepin Movie is a well-designed and full-featured video player with
simple borderless design.</summary>
+ <summary xml:lang="zh_CN">深度影院是一款设计精良、功能全面的视频播放器。</summary>
+ <description>
+ <p>
+ Deepin Movie is a well-designed and full-featured video player with simple
borderless design. It supports local and streaming media play with multiple video
formats.
+ </p>
+ <p xml:lang="zh_CN">
+ 深度影院是一款设计精良、功能全面的视频播放器。
+ </p>
+ </description>
+ <url
type="homepage">https://github.com/linuxdeepin/deepin-movie-...
+ <url
type="bugtracker">https://github.com/linuxdeepin/deepin-movi...
+ <releases>
+ <release version="3.2.11"
date="2018-10-25"></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-movie.spec b/deepin-movie.spec
new file mode 100644
index 0000000..cfa91ab
--- /dev/null
+++ b/deepin-movie.spec
@@ -0,0 +1,155 @@
+Name: deepin-movie
+Version: 3.2.14
+Release: 1%{?dist}
+Summary: Deepin movie based on mpv
+Summary(zh_CN): 深度影音
+License: GPLv3
+URL:
https://github.com/linuxdeepin/deepin-movie-reborn
+Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+Source1: %{name}-appdata.xml
+
+BuildRequires: cmake(Qt5Concurrent)
+BuildRequires: cmake(Qt5DBus)
+BuildRequires: cmake(Qt5LinguistTools)
+BuildRequires: cmake(Qt5Network)
+BuildRequires: cmake(Qt5Sql)
+BuildRequires: cmake(Qt5Widgets)
+BuildRequires: cmake(Qt5X11Extras)
+BuildRequires: pkgconfig(dtkcore)
+BuildRequires: pkgconfig(dtkwidget) >= 2.0.6
+BuildRequires: pkgconfig(dvdnav)
+BuildRequires: pkgconfig(libffmpegthumbnailer)
+BuildRequires: pkgconfig(libavformat)
+BuildRequires: pkgconfig(libavutil)
+BuildRequires: pkgconfig(libavcodec)
+BuildRequires: pkgconfig(libavresample)
+BuildRequires: pkgconfig(libpulse)
+BuildRequires: pkgconfig(libpulse-simple)
+BuildRequires: pkgconfig(mpv)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(xtst)
+BuildRequires: pkgconfig(xcb-aux)
+BuildRequires: pkgconfig(xcb-ewmh)
+BuildRequires: pkgconfig(xcb-proto)
+BuildRequires: pkgconfig(xcb-shape)
+BuildRequires: libappstream-glib
+BuildRequires: gcc
+BuildRequires: desktop-file-utils
+
+%description
+Deepin movie for deepin desktop environment.
+
+%description -l zh_CN
+深度影音播放器, 后端基于MPV, 支持解码大多数视频格式.
+
+%package devel
+Summary: Development package for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Header files and libraries for %{name}.
+
+%prep
+%setup -q -n %{name}-reborn-%{version}
+sed -i '/dtk2/s|lib|libexec|' src/CMakeLists.txt
+
+%build
+%cmake -DCMAKE_BUILD_TYPE=Release
+%make_build
+
+%install
+%make_install
+install -Dm644 %SOURCE1 %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
+appstream-util validate-relax --nonet
%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
+
+%find_lang %{name} --with-qt
+
+%files
+%doc README.md
+%license LICENSE
+%{_bindir}/%{name}
+%{_libdir}/libdmr.so.0.1
+%{_libdir}/libdmr.so.0.1.0
+%{_datadir}/appdata/%{name}.appdata.xml
+%{_datadir}/%{name}
+%{_datadir}/%{name}/translations
+%{_datadir}/%{name}/translations/%{name}*.qm
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
+
+%files devel
+%{_includedir}/libdmr
+%{_includedir}/libdmr/*.h
+%{_libdir}/pkgconfig/libdmr.pc
+%{_libdir}/libdmr.so
+
+%changelog
+* Thu Nov 15 2018 Zamir SUN <zsun(a)fedoraproject.org> - 3.2.14-1
+- Update to 3.2.14
+- Add BR gcc
+
+* Sat Oct 27 2018 Zamir SUN <zsun(a)fedoraproject.org> - 3.2.11-1
+- Update to 3.2.11
+
+* Fri Aug 10 2018 mosquito <sensor.wen(a)gmail.com> - 3.2.9-1
+- Update to 3.2.9
+
+* Fri Jul 27 2018 mosquito <sensor.wen(a)gmail.com> - 3.2.8-1
+- Update to 3.2.8
+
+* Tue Mar 20 2018 mosquito <sensor.wen(a)gmail.com> - 3.2.3-1
+- Update to 3.2.3
+
+* Fri Feb 16 2018 mosquito <sensor.wen(a)gmail.com> - 3.2.0.3-1
+- Update to 3.2.0.3
+
+* Wed Jan 10 2018 mosquito <sensor.wen(a)gmail.com> - 3.2.0.2-1
+- Update to 3.2.0.2
+
+* Thu Dec 28 2017 Zamir SUN <sztsian(a)gmail.com> - 3.2.0-1
+- Update to 3.2.0
+
+* Wed Dec 20 2017 mosquito <sensor.wen(a)gmail.com> - 3.1.1-1
+- Update to 3.1.1
+
+* Mon Nov 27 2017 mosquito <sensor.wen(a)gmail.com> - 3.0.1-1
+- Update to 3.0.1
+
+* Wed Nov 15 2017 mosquito <sensor.wen(a)gmail.com> - 2.9.96-1
+- Update to 2.9.96
+
+* Fri Oct 27 2017 mosquito <sensor.wen(a)gmail.com> - 2.9.94-1
+- Update to 2.9.94
+
+* Fri Oct 13 2017 mosquito <sensor.wen(a)gmail.com> - 2.9.16-1
+- Update to 2.9.16
+
+* Thu Sep 21 2017 mosquito <sensor.wen(a)gmail.com> - 2.9.12-1
+- Update to 2.9.12
+
+* Thu Aug 24 2017 mosquito <sensor.wen(a)gmail.com> - 2.9.10-1
+- Update to 2.9.10
+
+* Sun Aug 06 2017 Zamir SUN <sztsian(a)gmail.com> - 2.2.14-2
+- Remove group tag
+- Fix rpmlint shebang error
+
+* Fri Jul 14 2017 mosquito <sensor.wen(a)gmail.com> - 2.2.14-1.git69123ed
+- Update to 2.2.14
+
+* Fri May 19 2017 mosquito <sensor.wen(a)gmail.com> - 2.2.13-1.gita1ba8c3
+- Update to 2.2.13
+
+* Sat Jan 28 2017 mosquito <sensor.wen(a)gmail.com> - 2.2.11-2.git7896696
+- Fix cannot register existing type 'GdkDisplayManager'
+
+* Tue Jan 17 2017 mosquito <sensor.wen(a)gmail.com> - 2.2.11-1.git7896696
+- Update to 2.2.11
+
+* Thu Jul 16 2015 mosquito <sensor.wen(a)gmail.com> - 2.2.2-2.git53adfc6
+- python-peewee(>=2.3.0,<=2.4.4)
+- remove some depends
+
+* Sat Jul 4 2015 mosquito <sensor.wen(a)gmail.com> - 2.2.2-1.git53adfc6
+- Initial build
diff --git a/sources b/sources
index e69de29..f7f704a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c415bd85eb9d97c1ac964c73f2a861bb deepin-movie-3.2.14.tar.gz