]> git.pld-linux.org Git - packages/qtmib.git/commitdiff
update BR, verbose files in system dirs master
authorElan Ruusamäe <glen@delfi.ee>
Tue, 10 Nov 2015 13:17:52 +0000 (15:17 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 10 Nov 2015 13:17:52 +0000 (15:17 +0200)
qtmib.spec

index d0a45e0ef5a0e94e0f7fa3e0592fb3c67f4e7608..e76f80fc0de122c47fba43cf471275fbdc7ffaee 100644 (file)
@@ -8,14 +8,18 @@ Source0:      http://downloads.sourceforge.net/qtmib/%{name}-%{version}.tar.bz2
 # Source0-md5: 1715ae9c88e1f0d355f9a93b3248455e
 URL:           http://qtmib.sourceforge.net/
 BuildRequires: QtGui-devel
+BuildRequires: net-snmp-utils
+BuildRequires: qt4-build
 BuildRequires: qt4-qmake
+BuildRequires: sed >= 4.0
+BuildRequires: which
 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.
+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
@@ -27,17 +31,24 @@ implements SNMPv1 and SNMPv2c.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc README RELNOTES
-%attr(755,root,root) %{_bindir}/%{name}*
+%attr(755,root,root) %{_bindir}/qtmib
+%attr(755,root,root) %{_bindir}/qtmib-discover
+%attr(755,root,root) %{_bindir}/qtmib-report
+%attr(755,root,root) %{_bindir}/qtmib-translate
+%{_mandir}/man1/qtmib-discover.1*
+%{_mandir}/man1/qtmib-report.1*
+%{_mandir}/man1/qtmib-translate.1*
+%{_mandir}/man1/qtmib.1*
 %{_desktopdir}/%{name}.desktop
 %{_pixmapsdir}/%{name}.png
-%{_mandir}/man1/%{name}*.1*
This page took 0.099618 seconds and 4 git commands to generate.