commit ca286fdc575a343dcf59b622818279abd27cd7ba
Author: Zamir SUN <sztsian(a)gmail.com>
Date: Thu Nov 22 21:31:12 2018 +0800
Initial with deepin-screen-recorder-2.7.6
Signed-off-by: Zamir SUN <sztsian(a)gmail.com>
.gitignore | 1 +
deepin-screen-recorder.appdata.xml | 15 ++++++
deepin-screen-recorder.spec | 99 ++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 116 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b2a02f6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/deepin-screen-recorder-2.7.6.tar.gz
diff --git a/deepin-screen-recorder.appdata.xml b/deepin-screen-recorder.appdata.xml
new file mode 100644
index 0000000..4768a1c
--- /dev/null
+++ b/deepin-screen-recorder.appdata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+ <id>deepin-screen-recorder.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPLv3</project_license>
+ <name>Deepin Screen Recorder</name>
+ <summary>Deepin Screen Recorder</summary>
+ <summary xml:lang="zh">深度录屏</summary>
+ <description>
+ <p>
+ This is default screen recorder application for Deepin Desktop Environment.
+ </p>
+ </description>
+ <url
type="homepage">https://github.com/linuxdeepin/deepin-screen...
+</component>
diff --git a/deepin-screen-recorder.spec b/deepin-screen-recorder.spec
new file mode 100644
index 0000000..cac4152
--- /dev/null
+++ b/deepin-screen-recorder.spec
@@ -0,0 +1,99 @@
+Name: deepin-screen-recorder
+Version: 2.7.6
+Release: 1%{?dist}
+Summary: Deepin Screen Recorder
+License: GPLv3+
+URL:
https://github.com/linuxdeepin/deepin-screen-recorder
+Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+Source1: deepin-screen-recorder.appdata.xml
+
+BuildRequires: qt5-linguist
+BuildRequires: pkgconfig(dtkwidget) >= 2.0
+BuildRequires: pkgconfig(dtkwm)
+BuildRequires: pkgconfig(libprocps)
+BuildRequires: pkgconfig(Qt5Core)
+BuildRequires: pkgconfig(Qt5DBus)
+BuildRequires: pkgconfig(Qt5Gui)
+BuildRequires: pkgconfig(Qt5Network)
+BuildRequires: pkgconfig(Qt5Widgets)
+BuildRequires: pkgconfig(Qt5X11Extras)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xtst)
+BuildRequires: pkgconfig(xcb)
+BuildRequires: pkgconfig(xcb-util)
+BuildRequires: desktop-file-utils
+BuildRequires: libappstream-glib
+BuildRequires: gcc
+Requires: byzanz
+Requires: ffmpeg
+Requires: hicolor-icon-theme
+Requires: dbus
+Requires: deepin-manual-directory
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+sed -i 's|=lupdate|=lupdate-qt5|;s|=lrelease|=lrelease-qt5|' %{name}.pro
+
+%build
+%qmake_qt5 PREFIX=%{_prefix}
+%make_build
+
+%install
+%make_install INSTALL_ROOT=%{buildroot}
+
+%check
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
+install -pDm644 %{S:1} %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
+appstream-util validate-relax --nonet
%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
+
+%files
+%doc README.md
+%license LICENSE
+%{_bindir}/%{name}
+%{_datadir}/%{name}/
+%{_datadir}/dman/%{name}/
+%{_datadir}/appdata/%{name}.appdata.xml
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/%{name}.svg
+%{_datadir}/dbus-1/services/com.deepin.ScreenRecorder.service
+
+%changelog
+* Thu Nov 15 2018 Zamir SUN <sztsian(a)gmail.com> - 2.7.6-1
+- Update to 2.7.6
+
+* Fri Jul 27 2018 mosquito <sensor.wen(a)gmail.com> - 2.7.5-1
+- Update to 2.7.5
+
+* Fri Feb 16 2018 mosquito <sensor.wen(a)gmail.com> - 2.7.3-1
+- Update to 2.7.3
+
+* Mon Nov 27 2017 mosquito <sensor.wen(a)gmail.com> - 2.6.5.1-1
+- Update to 2.6.5.1
+
+* Mon Oct 23 2017 mosquito <sensor.wen(a)gmail.com> - 2.6.3-1
+- Update to 2.6.3
+
+* Tue Oct 17 2017 mosquito <sensor.wen(a)gmail.com> - 2.6.1-1
+- Update to 2.6.1
+
+* Mon Aug 21 2017 mosquito <sensor.wen(a)gmail.com> - 2.6-1
+- Update to 2.6
+
+* Thu Jul 20 2017 mosquito <sensor.wen(a)gmail.com> - 2.4-1.gitbacac81
+- Update to 2.4
+
+* Fri Jul 14 2017 mosquito <sensor.wen(a)gmail.com> - 2.3-1.git6184619
+- Update to 2.3
+
+* Fri May 19 2017 mosquito <sensor.wen(a)gmail.com> - 1.8-1.gitc4040d0
+- Update to 1.8
+
+* Tue Mar 7 2017 mosquito <sensor.wen(a)gmail.com> - 1.3-1.git8e0a4b3
+- Update to 1.3
+
+* Sun Feb 26 2017 mosquito <sensor.wen(a)gmail.com> - 0.8-1.git9eda269
+- Initial build
diff --git a/sources b/sources
index e69de29..24bdccb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c94ca5d9801cb02ec5ccb923d4bc700f deepin-screen-recorder-2.7.6.tar.gz