File mbrowse.spec of Package mbrowse
#
# spec file for package mbrowse
#
# Copyright (c) 2019 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: mbrowse
Version: 0.4.3
Release: 0
Summary: A GUI SNMP MIB browser
License: GPL-2.0-or-later
Group: Productivity/Networking/Other
URL: https://sourceforge.net/projects/mbrowse/
Source: https://sourceforge.net/projects/mbrowse/files/%{version}/%{name}-%{version}.tar.gz
Source1: mbrowse.1
BuildRequires: gtk2-devel
BuildRequires: net-snmp-devel
%description
Mbrowse is a graphical SNMP MIB browser based on GTK+ and Net-SNMP.
%prep
%setup -q
%build
%configure --with-snmp-lib=%{_libdir}/
make %{?_smp_mflags}
%install
%make_install
install -D -m0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/mbrowse.1
%files
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_bindir}/mbrowse
%{_mandir}/man1/mbrowse.1%{?ext_man}
%changelog