From 89c6e40fe78f768a041cb8a386ac9ca0057c9219 Mon Sep 17 00:00:00 2001 From: Stefano Cotta Ramusino Date: Fri, 5 Jan 2024 22:02:25 +0100 Subject: [PATCH] update to 1.53 [release 1.53-1mamba;Thu Jan 02 2014] --- README.md | 2 ++ edfbrowser.desktop | 8 ++++++ edfbrowser.spec | 63 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 edfbrowser.desktop create mode 100644 edfbrowser.spec diff --git a/README.md b/README.md index 0e108f6..05ad09c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # edfbrowser +A free, opensource, multiplatform, universal viewer and toolbox intended for, but not limited to, timeseries storage files like EEG, EMG, ECG, BioImpedance, etc. + diff --git a/edfbrowser.desktop b/edfbrowser.desktop new file mode 100644 index 0000000..90e0f6e --- /dev/null +++ b/edfbrowser.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=EDF Browser +Comment=An universal viewer for medical timeseries storage files. +Exec=edfbrowser +Icon=edfbrowser +Terminal=false +Type=Application +Categories=Utility; diff --git a/edfbrowser.spec b/edfbrowser.spec new file mode 100644 index 0000000..ade888d --- /dev/null +++ b/edfbrowser.spec @@ -0,0 +1,63 @@ +%define pkg_ver %(echo %{version} | tr -d '.') + +Name: edfbrowser +Version: 1.53 +Release: 1mamba +Summary: An universal viewer for medical timeseries storage files +Group: Graphical Desktop/Applications/Scientific +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://www.teuniz.net/edfbrowser +Source: http://www.teuniz.net/edfbrowser/edfbrowser_%{pkg_ver}_source.tar.gz +Source1: edfbrowser.desktop +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libqt4-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A free, opensource, multiplatform, universal viewer and toolbox intended for, but not limited to, timeseries storage files like EEG, EMG, ECG, BioImpedance, etc. + +%prep +%setup -q -n %{name}_%{pkg_ver}_source +sed -i 's,\(edfbrowser\)\(/manual\),\1-%{version}\2,' mainwindow.cpp + +%build +%{_qt4_qmake} +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -D -m 0755 edfbrowser %{buildroot}%{_bindir}/edfbrowser + +install -D -m 0644 images/edf.png \ + %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/edfbrowser.png + +install -D -m 0644 %{S:1} \ + %{buildroot}%{_datadir}/applications/edfbrowser.desktop + + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/* +%{_datadir}/icons/hicolor/48x48/apps/edfbrowser.png +%{_datadir}/applications/edfbrowser.desktop +%doc LICENSE disclaimer.txt version.txt doc/* + +%changelog +* Thu Jan 02 2014 Stefano Cotta Ramusino 1.53-1mamba +- update to 1.53 + +* Mon Sep 16 2013 Stefano Cotta Ramusino 1.52-2mamba +- fix manual path in source code + +* Thu Sep 12 2013 openmamba WebBuild System 1.52-1mamba +- package created by stefano using the webbuild interface