LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File eatmydata.spec of Package eatmydata (Project devel:tools)

# spec file for package eatmydata
# Copyright (c) 2013 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/

Name:           eatmydata
Version:        65
Release:        0
Summary:        A library to disable fsync calls
License:        GPL-3.0
Group:          Development/Tools/Other
Url:            http://www.flamingspork.com/projects/libeatmydata/
Source0:        http://www.flamingspork.com/projects/libeatmydata/libeatmydata-65.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
#Requires:       bash

libeatmydata is a small LD_PRELOAD library designed to (transparently) disable fsync (and friends, like open(O_SYNC)). This has two side-effects: making software that writes data safely to disk a lot quicker and making this software no longer crash safe.

%setup -q -n lib%{name}-%{version}

make %{?_smp_mflags}

rm -rf %buildroot/usr/lib/debug
rm -f %buildroot/%{_libdir}/libeatmydata.la

%attr(0755,root,root) %{_bindir}/eatmydata
%attr(0755,root,root) %{_libexecdir}/eatmydata.sh