Initial package.
This commit is contained in:
parent
28b1fea1b9
commit
5ab5570785
53
deepin-screen-recorder.spec
Normal file
53
deepin-screen-recorder.spec
Normal file
@ -0,0 +1,53 @@
|
||||
Name: deepin-screen-recorder
|
||||
Version: 5.8.0.52
|
||||
Release: 1
|
||||
Summary: Deepin Screen Recorder
|
||||
License: GPLv3+
|
||||
URL: https://github.com/linuxdeepin/deepin-screen-recorder
|
||||
Source0: %{name}_%{version}.orig.tar.xz
|
||||
|
||||
BuildRequires: gcc-c++ qt5-devel dtkwidget-devel dtkcore-devel procps-ng-devel
|
||||
BuildRequires: pkgconfig(dframeworkdbus) pkgconfig(x11) pkgconfig(xext) pkgconfig(xtst) pkgconfig(xcb) pkgconfig(xcb-util) pkgconfig(xcursor)
|
||||
BuildRequires: desktop-file-utils libappstream-glib
|
||||
|
||||
Requires: byzanz ffmpeg
|
||||
Requires: hicolor-icon-theme dbus deepin-turbo
|
||||
|
||||
Provides: deepin-screenshot
|
||||
Obsoletes: deepin-screenshot
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
export PATH=%{_qt5_bindir}:$PATH
|
||||
mkdir build && pushd build
|
||||
%qmake_qt5 ../ VERSION=%{version} DEFINES+="VERSION=%{version}"
|
||||
%make_build
|
||||
popd
|
||||
|
||||
%install
|
||||
%make_install -C build INSTALL_ROOT="%buildroot"
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}/
|
||||
%{_datadir}/dman/%{name}/
|
||||
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}.svg
|
||||
%{_datadir}/dbus-1/services/com.deepin.ScreenRecorder.service
|
||||
|
||||
%{_sysconfdir}/modprobe.d/deepin-screen-recorder.conf
|
||||
%{_sysconfdir}/modules-load.d/deepin-screen-recorder.conf
|
||||
%{_datarootdir}/dbus-1/services/com.deepin.Screenshot.service
|
||||
|
||||
%changelog
|
||||
* Sat May 08 2021 weidong <weidong@uniontech.com> - 5.8.0.52-1
|
||||
- Initial package.
|
||||
BIN
deepin-screen-recorder_5.8.0.52.orig.tar.xz
Normal file
BIN
deepin-screen-recorder_5.8.0.52.orig.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user