]> git.pld-linux.org Git - SPECS.git/blob - tiobench.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / tiobench.spec
1 Summary:        Threaded I/O tester
2 Summary(pl.UTF-8):      Wielowątkowy tester I/O
3 Name:           tiobench
4 Version:        0.3.3
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://dl.sourceforge.net/tiobench/%{name}-%{version}.tar.gz
9 # Source0-md5:  bf485bf820e693c79e6bd2a38702a128
10 Patch0:         %{name}-format-security.patch
11 Patch1:         %{name}-fix-conflicting-types.patch
12 URL:            http://sf.net/projects/tiobench/
13 BuildRequires:  rpm-perlprov >= 4.1-13
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Portable, robust, fully-threaded I/O benchmark program.
18
19 %description -l pl.UTF-8
20 Przenośny, potężny, w pełni wątkowy program testujący wydajność I/O.
21
22 %prep
23 %setup -q
24 %patch0 -p1
25 %patch1 -p1
26
27 %build
28 %{__make} \
29         CC="%{__cc}" \
30         CFLAGS="%{rpmcflags}" \
31         LINK="%{__cc} %{rpmldflags}"
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_bindir}
36
37 %{__make} install \
38         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
39         DOCDIR=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}-null
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc BUGS ChangeLog README TODO
47 %attr(755,root,root) %{_bindir}/*
This page took 0.128369 seconds and 3 git commands to generate.