%define fsl_version_tag 1.4.8.fsl Name: go_filebench Version: 0.8 Release: 1%{?dist} Summary: A model based file system workload generator Group: Applications/File License: CDDL URL: http://www.fsl.cs.sunysb.edu/~vass/filebench Source0: http://www.fsl.cs.sunysb.edu/~vass/filebench/%{name}-%{fsl_version_tag}.%{version}.tar.gz Source1: LICENSE Patch0: add-macro-for-ppc64.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: flex #Requires: %description go_filebench is a Linux porting of Filebench project. It uses loadable workload personalities in a common framework to allow easy emulation of complex applications upon file systems. The workload personalities use a Workload Definition Language to define the workload's model. %prep %setup -q -n %{name}-%{fsl_version_tag}.%{version} %patch0 -p1 cp -p %{SOURCE1} . %build %configure make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/go_filebench %dir %{_datadir}/filebench %dir %{_datadir}/filebench/workloads %{_datadir}/filebench/workloads/* %doc AUTHORS ChangeLog COPYING NEWS README LICENSE %changelog * Sun Apr 10 2011 Hushan Jia 0.8-1 - initial package