From f2e34fa30f37efa4e81fe1d2f55619a584214f43 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sat, 1 Mar 2014 14:39:12 +0100 Subject: [PATCH 1/1] - initial --- dsd.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 dsd.spec diff --git a/dsd.spec b/dsd.spec new file mode 100644 index 0000000..feb0cde --- /dev/null +++ b/dsd.spec @@ -0,0 +1,46 @@ +Summary: Digital Speech Decoder +Name: dsd +Version: 1.6.0 +Release: 1 +License: BSD +Group: Applications/Engineering +Source0: https://github.com/szechyjs/dsd/archive/v%{version}.tar.gz +# Source0-md5: e1c8faf8b0156215ffefee6a614e07a3 +URL: https://github.com/szechyjs/dsd +BuildRequires: mbelib-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +DSD is able to decode several digital voice formats from discriminator +tap audio and synthesize the decoded speech. + +Supported formats: +- P25 Phase 1 +- ProVoice +- X2-TDMA +- DMR/MOTOTRBO +- NXDN +- D-STAR + +%prep +%setup -q + +%build +%{__make} \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags} %{rpmcppflags} %{rpmldflags}" + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT%{_bindir} + +install dsd $RPM_BUILD_ROOT%{_bindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CHANGELOG README +%attr(755,root,root) %{_bindir}/dsd -- 2.43.0