%define pkg_ver %(echo %{version} | tr -d '.') Name: edfbrowser Version: 1.60 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 * Tue Oct 10 2017 Stefano Cotta Ramusino 1.60-1mamba - update to 1.60 * Tue Jul 25 2017 Stefano Cotta Ramusino 1.59-1mamba - update to 1.59 * Mon Jul 11 2016 Stefano Cotta Ramusino 1.58-1mamba - update to 1.58 * Fri Jan 29 2016 Stefano Cotta Ramusino 1.57-1mamba - update to 1.57 * Fri Jun 26 2015 Stefano Cotta Ramusino 1.56-1mamba - update to 1.56 * Wed Feb 11 2015 Stefano Cotta Ramusino 1.55-1mamba - update to 1.55 * Sun Oct 12 2014 Stefano Cotta Ramusino 1.54-1mamba - update to 1.54 * 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