File scrcpy.spec of Package scrcpy
Name: scrcpy
Version: 1.25
Release: 1
Summary: Display and control your Android device
License: Apache-2.0
Group: Hardware/Mobile
URL: https://github.com/Genymobile/scrcpy
Source0: https://github.com/Genymobile/scrcpy/archive/refs/tags/%{name}-%{version}.tar.gz
Source1: https://github.com/Genymobile/scrcpy/releases/download/v%{version}/%{name}-server-v%{version}.jar
BuildRequires: meson
BuildRequires: ninja-build
BuildRequires: gcc
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavdevice)
BuildRequires: pkgconfig(libusb-1.0)
%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}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/%{name}-console.desktop
%{_datadir}/bash-completion/completions/%{name}
%{_datadir}/zsh/site-functions/_%{name}
%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
%{_mandir}/man1/%{name}.*
%changelog
* Thu Mar 17 2022 Muhammad Shaban <muhammad.shaban.dev@gmail.com> - 1.23
- Update to v1.23
* Sun Oct 24 2021 Wei-Lun Chao <bluebat@member.fsf.org> - 1.19
- Rebuilt for Fedora