File qslert.spec of Package qslert

#
# spec file for package qslert (Version 1.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           qslert
BuildRequires:  qt3-devel
Version:        1.0
Release:        61
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