1 |
tv |
496153 |
%define fname libeatmydata |
2 |
|
|
|
3 |
|
|
Summary: A small wrapper to disable fsync and related functions |
4 |
|
|
Name: eatmydata |
5 |
|
|
Version: 82 |
6 |
|
|
Release: %mkrel 1 |
7 |
|
|
Group: File tools |
8 |
|
|
License: GPLv3 |
9 |
|
|
URL: https://launchpad.net/%{fname} |
10 |
|
|
Source0: http://launchpad.net/%{fname}/trunk/release-%{version}/+download/%{fname}-%{version}.tar.bz2 |
11 |
|
|
Provides: %{fname} |
12 |
|
|
|
13 |
|
|
%description |
14 |
|
|
libeatmydata is a small LD_PRELOAD library designed to (transparently) disable |
15 |
|
|
fsync (and friends, like open(O_SYNC)). This has two side-effects: making |
16 |
|
|
software that writes data safely to disk a lot quicker and making this software |
17 |
|
|
no longer crash safe. |
18 |
|
|
|
19 |
|
|
DO NOT use libeatmydata on software where you care about what it stores. It's |
20 |
|
|
called libEAT-MY-DATA for a reason. |
21 |
|
|
|
22 |
|
|
%prep |
23 |
|
|
%setup -q -n %{fname}-%version |
24 |
|
|
|
25 |
|
|
%build |
26 |
|
|
%configure2_5x |
27 |
|
|
%make |
28 |
|
|
|
29 |
|
|
%install |
30 |
|
|
%makeinstall_std |
31 |
|
|
|
32 |
|
|
%files |
33 |
|
|
%doc README COPYING |
34 |
|
|
%{_bindir}/* |
35 |
|
|
%{_libdir}/* |
36 |
|
|
/usr/libexec/eatmydata.sh |
37 |
|
|
|