]> git.pld-linux.org Git - packages/libeatmydata.git/commitdiff
new package
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 13 Jul 2013 17:16:18 +0000 (19:16 +0200)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 13 Jul 2013 17:16:18 +0000 (19:16 +0200)
libeatmydata.spec [new file with mode: 0644]

diff --git a/libeatmydata.spec b/libeatmydata.spec
new file mode 100644 (file)
index 0000000..bfcd91d
--- /dev/null
@@ -0,0 +1,53 @@
+Summary:       Library designed to transparently disable fsync and friends
+Name:          libeatmydata
+Version:       82
+Release:       1
+License:       GPL v3
+Group:         Applications
+Source0:       https://www.flamingspork.com/projects/libeatmydata/%{name}-%{version}.tar.gz
+# Source0-md5: 56a4d342f209ab75a9ee360236e3e5bc
+URL:           https://www.flamingspork.com/projects/libeatmydata/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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.
+
+DO NOT use libeatmydata on software where you care about what it
+stores. It's called libEAT-MY-DATA for a reason.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+rm $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_bindir}/eatmydata
+%attr(755,root,root) %{_libdir}/eatmydata.sh
+%attr(755,root,root) %{_libdir}/libeatmydata.so
+%ghost %attr(755,root,root) %{_libdir}/libeatmydata.so.1
+%attr(755,root,root) %{_libdir}/libeatmydata.so.1.*
This page took 0.129549 seconds and 4 git commands to generate.