File hacktv.spec of Package hacktv
#
# spec file for package hacktv
#
# Copyright (c) 2019, Martin Hauke <mardnh@gmx.de>
#
# 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 https://bugs.opensuse.org/
#
Name: hacktv
Version: 0.0.0+git.20231111
Release: 0
Summary: Analogue TV transmitter for the HackRF
License: GPL-3.0-only
Group: Productivity/Hamradio/Other
URL: https://github.com/fsphil/hacktv
Source: %{name}-%{version}.tar.xz
BuildRequires: pkgconfig
BuildRequires: pkgconfig(SoapySDR)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavdevice)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libhackrf)
BuildRequires: pkgconfig(libosmo-fl2k)
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libusb-1.0)
%description
Generates a PAL, NTSC, SECAM*, D/D2-MAC video signal from a video
file, stream or test pattern. Also supports older 819, 405, 240
and 30 line standards, as well as the NASA Apollo video standards,
both colour and mono.
Input is any file type or URL supported by ffmpeg.
Output can be to a file, HackRF, fl2k-supported VGA adaptors or
any SDR supported by SoapySDR.
%prep
%setup -q
%build
export EXTRA_CFLAGS='%{optflags}'
make -C src %{?_smp_mflags}
%install
install -D -m0755 src/hacktv %{buildroot}/%{_bindir}/hacktv
%files
%license COPYING
%doc README
%{_bindir}/hacktv
%changelog