edfbrowser/edfbrowser.spec

67 lines
2.1 KiB
RPMSpec
Raw Normal View History

%define pkg_ver %(echo %{version} | tr -d '.')
Name: edfbrowser
Version: 1.54
Release: 1mamba
Summary: An universal viewer for medical timeseries storage files
Group: Graphical Desktop/Applications/Scientific
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
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
* Sun Oct 12 2014 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.54-1mamba
- update to 1.54
* Thu Jan 02 2014 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.53-1mamba
- update to 1.53
* Mon Sep 16 2013 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.52-2mamba
- fix manual path in source code
* Thu Sep 12 2013 openmamba WebBuild System <webbuild@openmamba.org> 1.52-1mamba
- package created by stefano using the webbuild interface