[packages/lizardfs: 1/4] Initial 3.9.4. Builds.

matkor matkor at pld-linux.org
Thu Jun 16 17:25:06 CEST 2016


commit 19bf9dddc8051cd5d8f054488ad30ee1769a3949
Author: Mateusz Korniak <matkor at pld-linux.org>
Date:   Thu Jun 16 14:24:32 2016 +0200

    Initial 3.9.4. Builds.

 lizardfs-cmake_fix.patch | 10 +++++++++
 lizardfs.spec            | 54 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)
---
diff --git a/lizardfs.spec b/lizardfs.spec
new file mode 100644
index 0000000..11ce7e0
--- /dev/null
+++ b/lizardfs.spec
@@ -0,0 +1,54 @@
+Summary:	Open Source Distributed File System
+Summary(pl.UTF-8):	Rozporoszony system plików Open Source
+Name:		lizardfs
+Version:	3.9.4
+Release:	0.1
+License:	GPL v3
+Group:		Applications
+Source0:	https://github.com/%{name}/%{name}/archive/v.%{version}.tar.gz
+# Source0-md5:	71766d18a5066506e54d952ab6056bd3
+Patch0:          %{name}-cmake_fix.patch
+URL:		https://github.com/lizardfs/lizardfs
+BuildRequires:  cmake >= 3.4.0
+BuildRequires:  zlib-devel
+BuildRequires:  boost-devel
+BuildRequires:  pkgconfig
+BuildRequires:  /usr/bin/a2x			# asciidoc
+BuildRequires:  docbook-dtd45-xml
+BuildRequires:  libfuse-devel
+# Requires:	
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LizardFS is a highly reliable, scalable and efficient distributed file system. 
+It spreads data over a number of physical servers, making it visible to an end user as a single file system.
+
+%description -l pl.UTF-8
+LizardFS is jest niezawodnym, skalowalnym i efektywnym rozproszonym systemem plików.
+Rozkłada dane na rózne fizyczne serwery, dająć użytkownikowi końcowemu widok pojedynczego systemu plików.
+
+%prep
+%setup -q -n lizardfs-v.%{version}
+%patch0 -p1
+
+%build
+install -d build
+cd build
+%cmake \
+	-DCMAKE_BUILD_TYPE=Release  \
+        ../
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd build
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc COPYING README UPGRADE NEWS INSTALL
+%attr(755,root,root) %{_bindir}/*
diff --git a/lizardfs-cmake_fix.patch b/lizardfs-cmake_fix.patch
new file mode 100644
index 0000000..3e95250
--- /dev/null
+++ b/lizardfs-cmake_fix.patch
@@ -0,0 +1,10 @@
+diff --git a/CheckIncludes.cmake b/CheckIncludes.cmake
+index 19ed485..f51075a 100644
+--- a/CheckIncludes.cmake
++++ b/CheckIncludes.cmake
+@@ -1,3 +1,5 @@
++include(CheckIncludeFiles)
++
+ function(check_includes INCLUDES)
+   set(INCLUDE_MISSING FALSE)
+   foreach(INCLUDE_FILE ${INCLUDES})
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lizardfs.git/commitdiff/16ae71b3c578995fc90434a300c86c0eb49af751



More information about the pld-cvs-commit mailing list