From e11265b0952c64c6f7471c3a82cae9bf1bb02c18 Mon Sep 17 00:00:00 2001 From: lisu Date: Fri, 27 Mar 2009 09:19:03 +0000 Subject: [PATCH] - added to PLD Changed files: bosh.spec -> 1.1 --- bosh.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 bosh.spec diff --git a/bosh.spec b/bosh.spec new file mode 100644 index 0000000..726dbaa --- /dev/null +++ b/bosh.spec @@ -0,0 +1,47 @@ +Summary: Browsable output shell +Name: bosh +Version: 0.6 +Release: 1 +License: GPL v2+ +Group: Applications +Source0: http://dl.sourceforge.net/bosh/%{name}-%{version}.tar.gz +# Source0-md5: 975ef183ed4d2314186b1f2705d57c65 +URL: http://bosh.sourceforge.net/ +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: ncurses-devel +BuildRequires: sed >= 4.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +bosh stands for browsable output shell. This is a bit of a misnomer +because it isn't really a shell. What is does is store the output of a +specified program in a buffer, and provides a simple curses interface +to browse this buffer. Actions can be configured which can make use of +the contents of the currently selected line. + +%prep +%setup -q +%{__sed} -i 's@ncurses.h@ncurses/ncurses.h@' configure.in *.c + +%build +%{__aclocal} +%{__autoconf} +%{__automake} +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog README TODO +%attr(755,root,root) %{_bindir}/bosh +%{_mandir}/man1/bosh.1* -- 2.43.0