SHA256
1
0
forked from pool/scrcpy
scrcpy/scrcpy.spec

60 lines
1.6 KiB
RPMSpec

#
# spec file for package scrcpy
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: scrcpy
Version: 1.6~git20190126
Release: 0
Summary: Display and control your Android device
License: Apache-2.0
Group: Hardware/Mobile
Url: https://github.com/Genymobile/scrcpy
Source0: %{name}-%{version}.tar.xz
Source1: https://github.com/Genymobile/scrcpy/releases/download/v1.6/scrcpy-server-v1.6.jar
BuildRequires: meson
BuildRequires: gcc
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
%description
This application provides display and control of Android devices connected on USB. It does not require any root access
%prep
%setup -q
%build
%meson \
-Dprebuilt_server='%{S:1}'
%meson_build
%install
%meson_install
%files
%doc README.md DEVELOP.md FAQ.md
%license LICENSE
%{_bindir}/%{name}
%{_datadir}/%{name}
%changelog