Files
drc/drc.spec

66 lines
2.2 KiB
RPMSpec

Name: drc
Version: 3.2.3
Release: 2mamba
Summary: A program used to generate correction filters for acoustic compensation of HiFi and audio systems
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan@openmamba.org>
URL: https://drc-fir.sourceforge.net/
Source: http://downloads.sourceforge.net/project/drc-fir/drc-fir/%{version}/drc-%{version}.tar.gz
Patch0: drc-3.2.1-fix-makefile.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
%description
DRC is a program used to generate correction filters for acoustic compensation of HiFi and audio systems in general, including listening room compensation. DRC generates just the FIR correction filters, which can be used with a real time or offline convolver to provide real time or offline correction. DRC doesn't provide convolution features, and provides only some simplified, although really accurate, measuring tools.
%prep
%setup -q
%build
cd source
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd source
install -d -m0755 %{buildroot}%{_bindir}
install -d -m0755 %{buildroot}%{_datadir}/config/{"44.1 kHz","48.0 kHz","88.2 kHz","96.0 kHz"}
%makeoldinstall INSTALL_PREFIX=%{buildroot}%{_prefix} DOC_TARGETS=readme.txt
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/drc
%{_bindir}/glsweep
%{_bindir}/lsconv
%dir %{_datadir}/drc
#%dir %{_datadir}/drc/impulse
#%{_datadir}/drc/impulse/rs.pcm
%dir %{_datadir}/drc/mic
%{_datadir}/drc/mic/*.txt
%dir %{_datadir}/drc/config/
%{_datadir}/drc/config/*
%dir %{_datadir}/drc/target/
%{_datadir}/drc/target/*
%dir %{_docdir}/drc-%{version}
%{_docdir}/drc-%{version}/readme.txt
%changelog
* Sat Feb 28 2026 Automatic Build System <autodist@openmamba.org> 3.2.3-2mamba
- automatic rebuild by autodist
* Fri Feb 12 2021 Automatic Build System <autodist@mambasoft.it> 3.2.3-1mamba
- automatic version update by autodist
* Sat Dec 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba
- package created by silvan using the webbuild interface