/[packages]/updates/infra_2/eatmydata/current/SPECS/eatmydata.spec
ViewVC logotype

Contents of /updates/infra_2/eatmydata/current/SPECS/eatmydata.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 675423 - (show annotations) (download)
Sun Sep 14 14:47:34 2014 UTC (6 years, 10 months ago) by tv
File size: 974 byte(s)
create path (SILENT)
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 2
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 mv %buildroot{%_libdir,/usr/libexec}/eatmydata.sh
33
34 %files
35 %doc README COPYING
36 %{_bindir}/*
37 %{_libdir}/*
38 /usr/libexec/eatmydata.sh
39

  ViewVC Help
Powered by ViewVC 1.1.28