[packages/libeatmydata] new package

jajcus jajcus at pld-linux.org
Sat Jul 13 19:16:38 CEST 2013


commit 12c6f0178aa37f5f795c324debd65abeadb16ec9
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Jul 13 19:16:18 2013 +0200

    new package

 libeatmydata.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
---
diff --git a/libeatmydata.spec b/libeatmydata.spec
new file mode 100644
index 0000000..bfcd91d
--- /dev/null
+++ b/libeatmydata.spec
@@ -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.*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libeatmydata.git/commitdiff/12c6f0178aa37f5f795c324debd65abeadb16ec9



More information about the pld-cvs-commit mailing list