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 - 2.7.6-1 - Update to 2.7.6 * Fri Jul 27 2018 mosquito - 2.7.5-1 - Update to 2.7.5 * Fri Feb 16 2018 mosquito - 2.7.3-1 - Update to 2.7.3 * Mon Nov 27 2017 mosquito - 2.6.5.1-1 - Update to 2.6.5.1 * Mon Oct 23 2017 mosquito - 2.6.3-1 - Update to 2.6.3 * Tue Oct 17 2017 mosquito - 2.6.1-1 - Update to 2.6.1 * Mon Aug 21 2017 mosquito - 2.6-1 - Update to 2.6 * Thu Jul 20 2017 mosquito - 2.4-1.gitbacac81 - Update to 2.4 * Fri Jul 14 2017 mosquito - 2.3-1.git6184619 - Update to 2.3 * Fri May 19 2017 mosquito - 1.8-1.gitc4040d0 - Update to 1.8 * Tue Mar 7 2017 mosquito - 1.3-1.git8e0a4b3 - Update to 1.3 * Sun Feb 26 2017 mosquito - 0.8-1.git9eda269 - Initial build