1 |
%define fname libeatmydata |
2 |
|
3 |
Summary: A small wrapper to disable fsync and related functions |
4 |
Name: eatmydata |
5 |
Version: 82 |
6 |
Release: %mkrel 3 |
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 |
mkdir -p %buildroot/usr/libexec |
32 |
|
33 |
%files |
34 |
%doc README COPYING |
35 |
%{_bindir}/* |
36 |
%{_libdir}/* |
37 |
%_libdir/eatmydata.sh |
38 |
|