Skip to content

Instantly share code, notes, and snippets.

@hairmare hairmare/cava.spec forked from sedrubal/cava.spec
Last active Nov 30, 2017

Embed
What would you like to do?
cava - RPM SPEC
Name: cava
Version: 0.6.0
Release: 1%{?dist}
Summary: Console-based Audio Visualizer for Alsa
Group: Applications/Multimedia
License: MIT
URL: https://karlstav.github.io/%{name}/
Source0: https://github.com/karlstav/%{name}/archive/%{version}.tar.gz
BuildRequires: alsa-lib-devel
BuildRequires: ncurses-devel
BuildRequires: fftw3-devel
%description
C.A.V.A. is a bar spectrum analyzer for audio using ALSA for input. Its frequency range is limited to 50-10,000Hz. I know that the human ear can hear from 20 up to 20,000 Hz (and probably "sense" even higher frequencies), but the frequencies between 50-10,000Hz seem to me to be the most distinguishable. (I believe telephones used to be limited to as low as 8kHz.)
%prep
%setup -q
%build
./autogen.sh
%configure
make %{?_smp_mflags} DESTDIR=%{buildroot} PREFIX=/usr/ VERSION=%{version}
%install
make install DESTDIR=%{buildroot} PREFIX=/usr/
%files
%doc README.md
%license LICENSE
%{_bindir}/cava
%{_libdir}/libiniparser.*
%{_datarootdir}/consolefonts/cava.psf
%changelog
* Tue Oct 27 2015 sedrubal <sebastian.endres@online.de> - 0.3.5
- First build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.