[packages/qtmib] update BR, verbose files in system dirs

glen glen at pld-linux.org
Tue Nov 10 14:17:57 CET 2015


commit c3bf06ef6e0d3e1b91a72af6c1c2bdd70f0d4d39
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 10 15:17:52 2015 +0200

    update BR, verbose files in system dirs

 qtmib.spec | 23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)
---
diff --git a/qtmib.spec b/qtmib.spec
index d0a45e0..e76f80f 100644
--- a/qtmib.spec
+++ b/qtmib.spec
@@ -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*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qtmib.git/commitdiff/c3bf06ef6e0d3e1b91a72af6c1c2bdd70f0d4d39



More information about the pld-cvs-commit mailing list