summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/rpm/tsnif.spec42
1 files changed, 42 insertions, 0 deletions
diff --git a/package/rpm/tsnif.spec b/package/rpm/tsnif.spec
new file mode 100644
index 0000000..1357c59
--- /dev/null
+++ b/package/rpm/tsnif.spec
@@ -0,0 +1,42 @@
+Name: tsnif
+Version: 0.1
+Release: 1%{?dist}
+Summary: tsnif - terminal sniffer/logger/replayer
+Group: Environment/Shells
+License: GPLv3+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+URL: http://people.redhat.com/jolsa/tsnif
+Source: http://people.redhat.com/jolsa/tsnif/dl/%{name}-%{version}.tar.bz2
+BuildRequires: autoconf
+
+%description
+tsnif - terminal sniffer/logger/replayer
+
+%prep
+%setup -q
+
+%build
+autoconf
+%configure
+make V=1
+
+%install
+rm -rf %{buildroot}
+make install ROOTDIR=%{buildroot} V=1
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc README
+%{_bindir}/tsnif
+%{_bindir}/tsnif-replay
+
+%changelog
+* Tue Apr 06 2010 Jiri Olsa <jolsa@redhat.com> 0.1-1
+- initial package