commit b587ba984decb096783547e848d25a45d0fc791d
Author: Zamir SUN <sztsian(a)gmail.com>
Date: Sat Nov 17 17:31:59 2018 +0100
Initial with deepin-voice-recorder-1.3.8-1
Signed-off-by: Zamir SUN <sztsian(a)gmail.com>
.gitignore | 1 +
deepin-voice-recorder.appdata.xml | 15 +++++++
deepin-voice-recorder.spec | 84 +++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 101 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8b8e179 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/deepin-voice-recorder-1.3.8.tar.gz
diff --git a/deepin-voice-recorder.appdata.xml b/deepin-voice-recorder.appdata.xml
new file mode 100644
index 0000000..7625215
--- /dev/null
+++ b/deepin-voice-recorder.appdata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+ <id>deepin-voice-recorder.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPLv3</project_license>
+ <name>Deepin Voice Recorder</name>
+ <summary>Deepin Voice Recorder</summary>
+ <summary xml:lang="zh">深度录音</summary>
+ <description>
+ <p>
+ This is default voice recorder application for Deepin Desktop Environment.
+ </p>
+ </description>
+ <url
type="homepage">https://github.com/linuxdeepin/deepin-voice-...
+</component>
diff --git a/deepin-voice-recorder.spec b/deepin-voice-recorder.spec
new file mode 100644
index 0000000..2ed4302
--- /dev/null
+++ b/deepin-voice-recorder.spec
@@ -0,0 +1,84 @@
+Name: deepin-voice-recorder
+Version: 1.3.8
+Release: 1%{?dist}
+Summary: Deepin Voice Recorder
+License: GPLv3+
+URL:
https://github.com/linuxdeepin/deepin-voice-recorder
+Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+Source1: %{name}.appdata.xml
+
+BuildRequires: pkgconfig(Qt5Core)
+BuildRequires: pkgconfig(Qt5Gui)
+BuildRequires: pkgconfig(Qt5Multimedia)
+BuildRequires: pkgconfig(dtkwidget) >= 2.0.6
+BuildRequires: pkgconfig(libavformat)
+BuildRequires: pkgconfig(libavcodec)
+BuildRequires: pkgconfig(libavutil)
+BuildRequires: qt5-linguist
+BuildRequires: desktop-file-utils
+BuildRequires: libappstream-glib
+BuildRequires: gcc
+Requires: hicolor-icon-theme
+Requires: deepin-manual-directory
+
+%description
+%{summary}.
+
+%prep
+%setup -q
+sed -i 's|=lupdate|=lupdate-qt5|;s|=lrelease|=lrelease-qt5|' %{name}.pro
+find manual -executable -name "*.svg" -exec chmod 0644 "{}" \;
+
+%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}/%{_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}/applications/%{name}.desktop
+%{_datadir}/appdata/%{name}.appdata.xml
+%{_datadir}/icons/hicolor/*/apps/%{name}.svg
+
+%changelog
+* Sun Oct 28 2018 Zamir SUN <sztsian(a)gmail.com> - 1.3.8-1
+- Update to 1.3.8
+
+* Fri Jul 20 2018 mosquito <sensor.wen(a)gmail.com> - 1.3.7-1
+- Update to 1.3.7
+
+* Tue Mar 20 2018 mosquito <sensor.wen(a)gmail.com> - 1.3.6.1-1
+- Update to 1.3.6.1
+
+* Sun Jan 21 2018 Zamir SUN <sztsian(a)gmail.com> - 1.3.6-3
+- Add appdata file
+
+* Fri Jan 12 2018 Zamir SUN <sztsian(a)gmail.com> - 1.3.6-2
+- Prepare for rpmfusion
+
+* Wed Nov 15 2017 mosquito <sensor.wen(a)gmail.com> - 1.3.6-1
+- Update to 1.3.6
+
+* Mon Oct 23 2017 mosquito <sensor.wen(a)gmail.com> - 1.3.5-1
+- Update to 1.3.5
+
+* Mon Aug 21 2017 mosquito <sensor.wen(a)gmail.com> - 1.3.3-1
+- Update to 1.3.3
+
+* Thu Jul 20 2017 mosquito <sensor.wen(a)gmail.com> - 1.3.1-1.git6cf1cb9
+- Update to 1.3.1
+
+* Fri Jul 14 2017 mosquito <sensor.wen(a)gmail.com> - 1.3-1.git6c05bf1
+- Update to 1.3
+
+* Fri May 19 2017 mosquito <sensor.wen(a)gmail.com> - 1.2-1.git2a95a46
+- Initial build
diff --git a/sources b/sources
index e69de29..8cd93bd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+51243ededdbba084f0511844f950eb5c deepin-voice-recorder-1.3.8.tar.gz