File netactview.spec of Package netactview

#
# spec file for package netactview
#
# Copyright (c) 2014 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# 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/
#

Name:           netactview
Version:        0.6.4
Release:        0
Summary:        Graphical network connections viewer
License:        GPL-2.0
Group:          Productivity/Networking/Other
Url:            http://netactview.sourceforge.net/
Source0:        http://softlayer-dal.dl.sourceforge.net/project/netactview/netactview/netactview-0.6.4/netactview-0.6.4.tar.bz2
BuildRequires:  fdupes
BuildRequires:  gettext
BuildRequires:  gconf2-devel
BuildRequires:  gnome-common
BuildRequires:  gnome-vfs2-devel
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  libglade2-devel
BuildRequires:  libgnome-devel
BuildRequires:  libgtop-devel
BuildRequires:  pkg-config
BuildRequires:  update-desktop-files
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
A graphical network connections viewer for Linux, similar in functionality
with Netstat. It includes features like process information, host name
retrieval, automatic refresh, sorting, filtering and csv file save.
It has a fully featured GTK 2 graphical interface. 

%lang_package
%prep
%setup -q

%build
%configure --enable-static=no
make %{?_smp_mflags}

%install
%makeinstall
%suse_update_desktop_file %{name}
%find_lang %{name} %{?no_lang_C}
%fdupes -s %{buildroot}

%post
%desktop_database_post

%postun
%desktop_database_postun

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_datadir}/pixmaps/%{name}.png

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by