From aa644d340749419bfad4a06167636aed897e6948 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:57:38 +0100 Subject: [PATCH] package created by silvan using the webbuild interface [release 3.2.1-1mamba;Sat Dec 15 2012] --- README.md | 2 ++ drc-3.2.1-fix-makefile.patch | 14 +++++++++ drc.spec | 61 ++++++++++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 drc-3.2.1-fix-makefile.patch create mode 100644 drc.spec diff --git a/README.md b/README.md index 7bdf7ad..03ba4b8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # drc +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. + diff --git a/drc-3.2.1-fix-makefile.patch b/drc-3.2.1-fix-makefile.patch new file mode 100644 index 0000000..32a4c39 --- /dev/null +++ b/drc-3.2.1-fix-makefile.patch @@ -0,0 +1,14 @@ +--- drc-3.2.1/source/makefile 2012-05-07 15:15:49.000000000 +0200 ++++ drc-3.2.1.orig/source/makefile 2012-12-15 11:51:30.760962060 +0100 +@@ -87,9 +87,9 @@ + install: $(CONFIG_TARGETS) $(TARGET_TARGETS) $(MIC_TARGETS) $(IMPULSE_TARGETS) $(DOC_TARGETS) $(BIN_TARGETS) + install $(BIN_TARGETS) $(INSTALL_PREFIX)/bin + install -d $(INSTALL_PREFIX)/share/drc/config/ +- install $(CONFIG_TARGETS) $(INSTALL_PREFIX)/share/drc/config/ ++ cp -a $(CONFIG_TARGETS) $(INSTALL_PREFIX)/share/drc/config/ + install -d $(INSTALL_PREFIX)/share/drc/target/ +- install $(TARGET_TARGETS) $(INSTALL_PREFIX)/share/drc/target/ ++ cp -a $(TARGET_TARGETS) $(INSTALL_PREFIX)/share/drc/target/ + install -d $(INSTALL_PREFIX)/share/drc/mic/ + install $(MIC_TARGETS) $(INSTALL_PREFIX)/share/drc/mic/ + install -d $(INSTALL_PREFIX)/share/drc/impulse/ diff --git a/drc.spec b/drc.spec new file mode 100644 index 0000000..e15a4df --- /dev/null +++ b/drc.spec @@ -0,0 +1,61 @@ +Name: drc +Version: 3.2.1 +Release: 1mamba +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 +URL: http://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 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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. + +%debug_package + +%prep +%setup -q +%patch0 -p1 + +%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 +%{_datadir}/doc/drc-3.2.1/readme.txt +%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/* + +%changelog +* Sat Dec 15 2012 Silvan Calarco 3.2.1-1mamba +- package created by silvan using the webbuild interface