File conchart.spec of Package conchart

#
# spec file for package conchart
#
# Copyright (c) 2011 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:           conchart
Version:        0.2
Release:        0
Summary:        Network Visualization
Source:         conchart-%{version}.tar.bz2
Patch1:         conchart-fix_makefile.patch
Url:            http://conchart.sf.net
Group:          Productivity/Networking/Other
License:        GNU General Public License version 3 (GPL v3)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  tclap
%if 0%{?suse_version} >= 1030
BuildRequires:  libpcap-devel
%else
BuildRequires:  libpcap
%endif
BuildRequires:  gcc-c++ glibc-devel libstdc++-devel make

%description
Conchart is a tool to visualise the timing of network connections. It reads a
pcap file to generate an SVG file. It will show the send and received data as
coloured areas which will allow an aid in network troubleshooting.



Authors:
--------
    Wouter Godefroy <wouter@belgoline.com>

%prep
%setup -q -n conchart
%patch1

%build
%__make %{?jobs:-j%{jobs}} \
	 CC="%__cxx" \
	 OPTFLAGS="%{optflags}"

%install
%__install -D -m0755 conchart "%{buildroot}%{_bindir}/conchart"

%clean
%__rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%doc COPYING README
%{_bindir}/conchart

%changelog
openSUSE Build Service is sponsored by