File jack_capture.spec of Package jack_capture

# spec file for package jack_capture
# Copyright (c) 2005 JackLab, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

# norootforbuild
%if 0%{?fedora_version}
%global debug_package %{nil}
%endif

Name:           jack_capture
Summary:        A small program to jack 
Version:        0.9.73+git.40.a539d44
Release:        0
Source0:        %{name}-%{version}.tar.gz
URL:            https://github.com/kmatheussen/jack_capture
License:        GPL-2.0-only
Group:          Productivity/Multimedia/Utilities
BuildRequires:  gcc-c++
BuildRequires:  libsndfile-devel

%if %{defined fedora}
BuildRequires: jack-audio-connection-kit-devel
BuildRequires: pkgconfig
%else
BuildRequires: libjack-devel
BuildRequires: pkg-config
%endif


%description
jack_capture is a small program to capture whatever
sound is going out to your speakers into a file.

Author: Kjetil S. Matheussen

%prep
%setup -q -n %{name}-%{version}

%build
%make_build

%install

install -dm 755 %{buildroot}%{_bindir}
install -s -m 755 %{name} %{buildroot}%{_bindir}
install -m 755 %{name}_gui %{buildroot}%{_bindir}

%files
%defattr(-,root,root)
%doc README
%{_bindir}/*

%changelog
openSUSE Build Service is sponsored by