Skip to content

Instantly share code, notes, and snippets.

@hairmare
Forked from sedrubal/cava.spec
Last active November 30, 2017 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hairmare/de082346c3e888907c28af5c9be42e90 to your computer and use it in GitHub Desktop.
Save hairmare/de082346c3e888907c28af5c9be42e90 to your computer and use it in GitHub Desktop.
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