]> git.pld-linux.org Git - packages/qtmib.git/commitdiff
initial PLD release
authorTomasz Pala <gotar@pld-linux.org>
Tue, 10 Nov 2015 12:25:42 +0000 (13:25 +0100)
committerTomasz Pala <gotar@pld-linux.org>
Tue, 10 Nov 2015 12:25:42 +0000 (13:25 +0100)
qtmib.spec [new file with mode: 0644]

diff --git a/qtmib.spec b/qtmib.spec
new file mode 100644 (file)
index 0000000..10fa137
--- /dev/null
@@ -0,0 +1,43 @@
+Summary:       Qt4 SNMP MIB Browser
+Name:          qtmib
+Version:       1.1.1
+Release:       1
+License:       GPL v2
+Group:         Networking/Utilities
+Source0:       http://downloads.sourceforge.net/qpdf/%{name}-%{version}.tar.bz2
+# Source0-md5: 1715ae9c88e1f0d355f9a93b3248455e
+URL:           http://qtmib.sourceforge.net/
+BuildRequires: QtGui-devel
+BuildRequires: qt4-qmake
+Requires:      net-snmp-utils
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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 SNMP-enabled devices. It
+implements SNMPv1 and SNMPv2c.
+
+%prep
+%setup -q
+%{__sed} -e 's/which qmake/which qmake-qt4/' -i configure
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README RELNOTES
+%attr(755,root,root) %{_bindir}/%{name}*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
+%{_mandir}/man1/%{name}*.1*
This page took 0.104403 seconds and 4 git commands to generate.