2024-01-05 23:38:41 +01:00
|
|
|
Name: harminv
|
2024-01-05 23:38:41 +01:00
|
|
|
Version: 1.4.1
|
2024-01-05 23:38:41 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A free program (and accompanying library) to solve the problem of harmonic inversion
|
|
|
|
Group: Applications/Scientific
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 23:38:41 +01:00
|
|
|
URL: https://github.com/NanoComp/harminv
|
|
|
|
Source: https://github.com/NanoComp/harminv.git/v%{version}/harminv-%{version}.tar.bz2
|
2024-01-05 23:38:41 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: gcc-fortran
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libblas-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libquadmath-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Harminv is a free program (and accompanying library) to solve the problem of harmonic inversion — given a discrete-time, finite-length signal that consists of a sum of finitely-many sinusoids (possibly exponentially decaying) in a given bandwidth, it determines the frequencies, decay constants, amplitudes, and phases of those sinusoids.
|
|
|
|
It can, in principle, provide much better accuracy than straightforwardly extracting FFT peaks, essentially because it assumes a specific form for the signal. (Fourier transforms, in contrast, attempt to represent any data as a sum of sinusoidal components, and are thus limited by the uncertainty principle.) It is also often more robust than directly least-squares fitting the data (which can have problematic convergence), since it re-expresses the problem in terms of simply finding the eigenvalues of a small matrix.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 23:38:41 +01:00
|
|
|
Requires: pkg-config
|
2024-01-05 23:38:41 +01:00
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 23:38:41 +01:00
|
|
|
./mkdist.sh
|
2024-01-05 23:38:41 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--enable-shared
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/harminv
|
2024-01-05 23:38:41 +01:00
|
|
|
%{_mandir}/man1/harminv.1*
|
2024-01-05 23:38:41 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libharminv.so.*
|
2024-01-05 23:38:41 +01:00
|
|
|
%doc COPYING
|
2024-01-05 23:38:41 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/harminv.h
|
|
|
|
%{_libdir}/libharminv.a
|
|
|
|
%{_libdir}/libharminv.la
|
|
|
|
%{_libdir}/libharminv.so
|
|
|
|
%{_libdir}/pkgconfig/harminv.pc
|
2024-01-05 23:38:41 +01:00
|
|
|
%doc ChangeLog NEWS.md README.md
|
2024-01-05 23:38:41 +01:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:38:41 +01:00
|
|
|
* Tue May 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- update to 1.4.1
|
|
|
|
|
2024-01-05 23:38:41 +01:00
|
|
|
* Sun Nov 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|