File postmark.spec of Package postmark
#
# spec file for package postmark (Version 1.51)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: postmark
License: Artistic License; LGPL v2.0 or later
Group: System/Benchmark
AutoReqProv: on
Version: 1.51
Release: 14
Summary: A file system benchmark test
Url: http://www.netapp.com/tech_library/3022.html
Source: %{name}-%{version}.tar.bz2
Patch0: %{name}-binary.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#BuildArch: noarch
#ExclusiveArch: %ix86
%description
Existing file system benchmarks are deficient in portraying
performance in the ephemeral small-file regime used by Internet
software, especially: * electronic mail
* netnews
* web-based commerce PostMark is a new benchmark to measure performance
for this class of application.
Authors:
--------
NetApp
%prep
%setup
%patch0 -p1
%build
make
%install
#mkdir -p $RPM_BUILD_ROOT/usr/lib/postmark
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -m 755 postmark $RPM_BUILD_ROOT/usr/bin
install -m 755 postmark-run.sh $RPM_BUILD_ROOT/usr/bin/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/bin/postmark
/usr/bin/postmark-run.sh
%changelog
* Wed Sep 03 2008 yxu@suse.de
- correct the location of postmark binary
* Tue Jun 17 2008 yxu@suse.de
- initial release of the package