diff --git a/README.md b/README.md index 5834dbc..80da4f0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qtmib +qtmib is an easy-to-use SNMP MIB Browser based on QT4 library. It is build as a front-end for net-snmp tools, and it allows the user to query any SNMP-enabled device. It implements SNMPv1 and SNMPv2c, and it is released under GPL v2 license. + diff --git a/qtmib.spec b/qtmib.spec new file mode 100644 index 0000000..b0f06b4 --- /dev/null +++ b/qtmib.spec @@ -0,0 +1,64 @@ +Name: qtmib +Version: 1.0 +Release: 1mamba +Summary: An easy-to-use SNMP MIB Browser based on QT4 library +Group: Graphical Desktop/Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://qtmib.sourceforge.net/ +Source: http://downloads.sourceforge.net/project/qtmib/qtmib/qtmib-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libqt4-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +Provides: snmpbrowser +Obsoletes: snmpbrowser +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +qtmib is an easy-to-use SNMP MIB Browser based on QT4 library. It is build as a front-end for net-snmp tools, and it allows the user to query any SNMP-enabled device. It implements SNMPv1 and SNMPv2c, and it is released under GPL v2 license. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall PREFIX=%{buildroot}%{_prefix}/ + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%posttrans +update-desktop-database -q >/dev/null 2>&1 +: + +%files +%defattr(-,root,root) +%{_bindir}/qtmib +%{_bindir}/qtmib-discover +%{_bindir}/qtmib-report +%{_bindir}/qtmib-translate +%{_datadir}/applications/qtmib.desktop +%{_datadir}/doc/qtmib/COPYING +%{_datadir}/doc/qtmib/README +%{_datadir}/doc/qtmib/RELNOTES +%{_mandir}/man1/qtmib-discover.1* +%{_mandir}/man1/qtmib-report.1* +%{_mandir}/man1/qtmib-translate.1* +%{_mandir}/man1/qtmib.1* +%{_datadir}/pixmaps/qtmib.png +%doc COPYING + +%changelog +* Tue May 27 2014 Silvan Calarco 1.0-1mamba +- package created using the webbuild interface