]> git.pld-linux.org Git - packages/libeatmydata.git/blob - libeatmydata.spec
- updated to 131
[packages/libeatmydata.git] / libeatmydata.spec
1 Summary:        Library designed to transparently disable fsync and friends
2 Summary(pl.UTF-8):      Biblioteka do przezroczystego wyłączania fsync itp.
3 Name:           libeatmydata
4 Version:        131
5 Release:        1
6 License:        GPL v3
7 Group:          Applications/File
8 Source0:        https://www.flamingspork.com/projects/libeatmydata/%{name}-%{version}.tar.gz
9 # Source0-md5:  2d50db02d4ffff2b544c75aae60c3b3e
10 # https://github.com/stewartsmith/libeatmydata
11 URL:            https://www.flamingspork.com/projects/libeatmydata/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 libeatmydata is a small LD_PRELOAD library designed to (transparently)
18 disable fsync (and friends, like open(O_SYNC)). This has two
19 side-effects: making software that writes data safely to disk a lot
20 quicker and making this software no longer crash safe.
21
22 DO NOT use libeatmydata on software where you care about what it
23 stores. It's called libEAT-MY-DATA for a reason.
24
25 %description -l pl.UTF-8
26 libeatmydata to mała biblioteka ładowana przez LD_PRELOAD służąca do
27 (przezroczystego) wyłączania fsync (i podobnych mechanizmów, jak
28 open(O_SYNC)). Ma to dwa skutki uboczne: programy zapisujące dane na
29 dysku w sposób bezpieczny robią to dużo szybciej, ale nie są już
30 odporne na awarie.
31
32 NIE NALEŻY używać libeatmydata w przypadkach, kiedy zależy nam na
33 zapisywanych danych. Biblioteka nazywa się libEAT-MY-DATA (zjedz moje
34 dane) nie bez powodu.
35
36 %prep
37 %setup -q
38
39 %build
40 %{__aclocal} -I m4
41 %{__autoconf}
42 %{__autoheader}
43 %{__automake}
44 %configure \
45         --disable-silent-rules \
46         --disable-static
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %post   -p /sbin/ldconfig
61 %postun -p /sbin/ldconfig
62
63 %files
64 %defattr(644,root,root,755)
65 %doc AUTHORS README.md
66 %attr(755,root,root) %{_bindir}/eatmydata
67 %attr(755,root,root) %{_libdir}/eatmydata.sh
68 %attr(755,root,root) %{_libdir}/libeatmydata.so
This page took 0.106139 seconds and 3 git commands to generate.