diff --git a/.cvsignore b/.cvsignore index e69de29..24c310c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +bonnie++-1.03a.tgz diff --git a/bonnie++-1.03a-mandir.patch b/bonnie++-1.03a-mandir.patch new file mode 100644 index 0000000..027d5b0 --- /dev/null +++ b/bonnie++-1.03a-mandir.patch @@ -0,0 +1,23 @@ +--- Makefile~ 2003-01-09 00:34:20.000000000 +0200 ++++ Makefile 2003-05-19 01:09:34.000000000 +0300 +@@ -6,6 +6,7 @@ + + prefix=/usr/local + eprefix=${prefix} ++mandir=${prefix}/man + #MORE_WARNINGS=-Weffc++ -Wcast-align + WFLAGS=-Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope $(MORE_WARNINGS) + CFLAGS=-O2 -DNDEBUG $(WFLAGS) $(MORECFLAGS) +@@ -38,9 +39,9 @@ + ${INSTALL} $(SCRIPTS) $(eprefix)/bin + + install: install-bin +- mkdir -p ${prefix}/man/man1 ${prefix}/man/man8 +- ${INSTALL} -m 644 $(MAN1) ${prefix}/man/man1 +- ${INSTALL} -m 644 $(MAN8) ${prefix}/man/man8 ++ mkdir -p ${mandir}/man1 ${mandir}/man8 ++ ${INSTALL} -m 644 $(MAN1) ${mandir}/man1 ++ ${INSTALL} -m 644 $(MAN8) ${mandir}/man8 + + %.o: %.cpp %.h bonnie.h port.h + $(CXX) -c $< diff --git a/bonnie++.spec b/bonnie++.spec new file mode 100644 index 0000000..9360400 --- /dev/null +++ b/bonnie++.spec @@ -0,0 +1,67 @@ +Name: bonnie++ +Version: 1.03 +Release: 0.fdr.2.a.rh80 +Epoch: 0 +Summary: Bonnie++ filesystem and disk benchmark & burn-in suite + +Group: Applications/System +License: GPL +URL: http://www.coker.com.au/bonnie++/ +Source0: http://www.coker.com.au/bonnie++/bonnie++-1.03a.tgz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n) + +Patch0: bonnie++-1.03a-mandir.patch + +%description +bonnie++ filesystem and disk benchmark suite aggressively reads & writes +in various ways on your filesystem then outputs useful benchmark performance +data. bonnie++ is also useful as a hardware, disk, and filesystem stability +test, exposing some types of hardware or kernel failures that would otherwise +be difficult to detect. + +Do not leave bonnie++ installed on a production system. Use only while you +test servers. + +# ----------------------------------------------------------------------------- + +%prep +%setup -q -n bonnie++-1.03a +%patch -p0 + +# ----------------------------------------------------------------------------- + +%build +make %{?_smp_mflags} MORECFLAGS="$RPM_OPT_FLAGS" + +# ----------------------------------------------------------------------------- + +%install +rm -rf $RPM_BUILD_ROOT +%makeinstall + +# ----------------------------------------------------------------------------- + +%clean +rm -rf $RPM_BUILD_ROOT + +# ----------------------------------------------------------------------------- + +%files +%defattr(-,root,root,-) +%doc readme.html copyright.txt credits.txt debian/changelog +%{_mandir}/man1/bon_csv2html.1.gz +%{_mandir}/man1/bon_csv2txt.1.gz +%{_mandir}/man8/bonnie++.8.gz +%{_mandir}/man8/zcav.8.gz +%{_sbindir}/bonnie++ +%{_sbindir}/zcav +%{_bindir}/bon_csv2html +%{_bindir}/bon_csv2txt + +# ----------------------------------------------------------------------------- + +%changelog +* Sun May 18 2003 Warren Togami - 0:1.03-0.fdr.2.a +- #267 Ville's docs, optflags and mandir patch +* Fri May 06 2003 Warren Togami - 0:1.03-0.fdr.1.a +- Initial RPM release diff --git a/sources b/sources index e69de29..6665f6c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +00b1eee7f98b68fa762c4efb3b34caa1 bonnie++-1.03a.tgz