[foghorn] Initial import (#676392)

rohara rohara at fedoraproject.org
Mon Apr 18 15:27:55 UTC 2011


commit 6f826d1b5e9ebb7b11a9b7c4bc53d1dca07517f5
Author: Ryan O'Hara <rohara at redhat.com>
Date:   Mon Apr 18 10:28:00 2011 -0500

    Initial import (#676392)

 .gitignore   |    1 +
 foghorn.spec |   82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 3 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..acc5c83 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/foghorn-0.1.2.tar.gz
diff --git a/foghorn.spec b/foghorn.spec
new file mode 100644
index 0000000..7842a38
--- /dev/null
+++ b/foghorn.spec
@@ -0,0 +1,82 @@
+%define glib2_version		2.22
+%define dbus_version		1.2
+%define dbus_glib_version	0.86
+%define net_snmp_version	5.5
+
+Name: foghorn
+Version: 0.1.2
+Release: 4%{?dist}
+Summary: D-Bus to SNMP service.
+Group: System Environment/Base
+License: GPLv2+
+URL: https://fedorahosted.org/foghorn
+Source0: http://people.redhat.com/~rohara/foghorn/%{name}-%{version}.tar.gz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: glib2-devel >= %{glib2_version}
+BuildRequires: dbus-devel >= %{dbus_version}
+BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
+BuildRequires: net-snmp-devel >= %{net_snmp_version}
+
+Requires: cluster-snmp
+Requires: initscripts
+Requires(post): chkconfig
+Requires(preun): chkconfig
+
+%description
+Daemon that listens for D-Bus signals and translates to SNMP traps.
+
+%prep
+%setup -q
+
+%build
+%configure --prefix=/usr
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/chkconfig --add foghorn
+
+%preun
+if [ "$1" == 0 ] then;
+   /sbin/chkconfig --del foghorn
+fi
+
+%files
+%defattr(-,root,root,-)
+%doc README AUTHORS NEWS COPYING
+%config(noreplace) %{_sysconfdir}/dbus-1/system.d/dbus-foghorn.conf
+%attr(0755, root, root) %{_initrddir}/foghorn
+%{_datadir}/snmp/mibs/REDHAT-FENCE-MIB
+%{_datadir}/snmp/mibs/REDHAT-FOGHORN-MIB
+%{_datadir}/snmp/mibs/REDHAT-RGMANAGER-MIB
+%{_mandir}/man8/foghorn*
+%{_sbindir}/foghorn
+
+%changelog
+* Thu Mar 3 2011 Ryan O'Hara <rohara at redhat.com> - 0.1.2-2
+- Update spec file.
+- Resolves: rhbz#676392
+
+* Fri Feb 4 2011 Ryan O'Hara <rohara at redhat.com> - 0.1.2-1
+- Add foghorn man page.
+- Rebase to upstream version 0.1.2.
+- Resolves: rhbz#660324
+
+* Fri Jan 15 2011 Ryan O'Hara <rohara at redhat.com> - 0.1.1-2
+- Add requires initscripts to spec file.
+- Resolves: rhbz#660324
+
+* Fri Jan 14 2011 Ryan O'Hara <rohara at redhat.com> - 0.1.1-1
+- Rebase to 0.1.1 from upstream to resolve build issues.
+- Resolves: rhbz#660324
+
+* Thu Jan 13 2011 Ryan O'Hara <rohara at redhat.com> - 0.1-1
+- Initial release.
diff --git a/sources b/sources
index e69de29..0d28998 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+85e8e1f3e08717c460bd830f831c08c4  foghorn-0.1.2.tar.gz


More information about the scm-commits mailing list