[Bug 459924] Review Request: Homestead - 3D real-time network visualiser
bugzilla at redhat.com
bugzilla at redhat.com
Fri Oct 24 17:01:26 UTC 2008
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=459924
--- Comment #20 from R P Herrold <herrold at owlriver.com> 2008-10-24 13:01:25 EDT ---
This patch does the split to meet that goal. As I have mand a substantive
change, and add a Changelog entry I bump the Release here
[herrold at centos-5 homestead]$ rpm -qp --requires
/home/herrold/rpmbuild/RPMS/x86_64/homestead-sampler-0.86-2orc.x86_64.rpm
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libgcc_s.so.1()(64bit)
libm.so.6()(64bit)
libpcap.so.0.9.4()(64bit)
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
[herrold at centos-5 homestead]$
[herrold at centos-5 homestead]$ diff -u homestead.spec-ORIG homestead.spec
--- homestead.spec-ORIG 2008-10-24 11:49:24.000000000 -0400
+++ homestead.spec 2008-10-24 13:00:32.000000000 -0400
@@ -1,9 +1,9 @@
%define srcversion 086
-%define vendor '%vendor%nil'
+%define localvendor %vendor%nil
Name: homestead
Version: 0.86
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: 3D real-time network visualiser
Group: Applications/Internet
@@ -18,6 +18,10 @@
BuildRequires: libpcap-devel
BuildRequires: desktop-file-utils
+%package sampler
+Summary: sampling client for %{name}
+Group: Applications/Internet
+License: GPLv2+
%description
Homestead is a 3D real-time network visualizer, displaying
@@ -36,6 +40,12 @@
same subnet, receiving packet header information
from hsen via broadcast).
+%description sampler
+hsen (Homestead Sensor) is a (possibly remote) packet capture daemon which
+reads and sends packet header information to Homestead, locally or remotely.
+hsen also equates hostname to IP by reading DNS packets (UDP type A class IN
+standard query response).
+
%prep
%setup -q -n %{name}%{srcversion}
@@ -49,7 +59,10 @@
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
-desktop-file-install --dir=%{buildroot}%{_datadir}/applications \
+# seemingly 'desktop-file-install' is needed as its requirements
+# could somehow not be handled by 'install' at freedesktop.org for
+# managing .desktop files, whereas 'install' seems fine for pixmaps
+desktop-file-install --vendor=%localvendor
--dir=%{buildroot}%{_datadir}/applications \
%{SOURCE1}
install -p -D -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png
@@ -62,14 +75,25 @@
%defattr(-,root,root,-)
%doc README COPYING ChangeLog
%{_bindir}/%{name}
-%{_sbindir}/hsen
%{_mandir}/man1/%{name}.*
-%{_mandir}/man8/hsen.*
%{_datadir}/pixmaps/%{name}.png
-%{_datadir}/applications/%{name}.desktop
+#
+# two possible approaches here --specific or wildcarded
+%{_datadir}/applications/%{localvendor}-%{name}.desktop
+%{_datadir}/applications/*%{name}.desktop
+
+
+%files sampler
+%defattr(-,root,root,-)
+%{_sbindir}/hsen
+%{_mandir}/man8/hsen.*
%changelog
+* Fri Oct 24 2008 R P Herrold <info at owlriver.com> - 0.86-2
+- split out a -sampler sub-package to avoid dragging in the unneeded
+ GUI on remote TUI only sample heads
+
* Wed Oct 22 2008 Simon Wesp <cassmodiah at fedoraproject.org> - 0.86-1
- Update to 0.86
[herrold at centos-5 homestead]$
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the package-review
mailing list