File qslert.spec of Package qslert

#
# spec file for package qslert (Version 1.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           qslert
BuildRequires:  qt3-devel
Version:        1.0
Release:        1
License:        GPL v2 only
Group:          System/Monitoring
Url:            http://www.novell.com
Source:         %{name}-%{version}.tar.bz2
Patch0:         qmake.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Graphical Realtime monitor
# qslert contains in version 1.0 inline assembler
ExclusiveArch:  %ix86 x86_64

%description
Graphical Realtime monitor to measure Kernel latencies.



Authors:
--------
    Matthias Nagorni <mana@novell.com>

%prep
%setup -q
%patch0

%build
export CXXFLAGS="$RPM_OPT_FLAGS"
# This is overwriting intentionally the original Makefile
qmake qslert.pro -o Makefile
make %{?jobs:-j %jobs}

%install
install -d $RPM_BUILD_ROOT/%{_bindir}
install -m 755 qslert $RPM_BUILD_ROOT/%{_bindir}

%clean
rm -rf $RPM_BUILD_ROOT 

%files
%defattr(-,root,root)
%{_bindir}/qslert

%changelog
* Mon Feb 25 2008 dgollub@suse.de
- Initial checkin of qslert (Version 1.0)
openSUSE Build Service is sponsored by