packages: ggaoed/ggaoed-build.patch (NEW), ggaoed/ggaoed.spec (NEW) - initi...

pluto pluto at pld-linux.org
Wed Aug 4 11:37:54 CEST 2010


Author: pluto                        Date: Wed Aug  4 09:37:54 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial spec.

---- Files affected:
packages/ggaoed:
   ggaoed-build.patch (NONE -> 1.1)  (NEW), ggaoed.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ggaoed/ggaoed-build.patch
diff -u /dev/null packages/ggaoed/ggaoed-build.patch:1.1
--- /dev/null	Wed Aug  4 11:37:54 2010
+++ packages/ggaoed/ggaoed-build.patch	Wed Aug  4 11:37:49 2010
@@ -0,0 +1,10 @@
+--- ggaoed-1.1/device.c.orig	2009-12-22 14:40:03.000000000 +0100
++++ ggaoed-1.1/device.c	2010-08-04 11:20:35.407764825 +0200
+@@ -14,6 +14,7 @@
+ #include <sys/epoll.h>
+ #include <sys/ioctl.h>
+ #include <sys/mman.h>
++#include <sys/stat.h>
+ #include <arpa/inet.h>
+ #include <libaio.h>
+ #include <stdarg.h>

================================================================
Index: packages/ggaoed/ggaoed.spec
diff -u /dev/null packages/ggaoed/ggaoed.spec:1.1
--- /dev/null	Wed Aug  4 11:37:54 2010
+++ packages/ggaoed/ggaoed.spec	Wed Aug  4 11:37:49 2010
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+Summary:	ggaoed - ATA over Ethernet target implementation for Linux
+Name:		ggaoed
+Version:	1.1
+Release:	0.1
+License:	GPL v2
+Group:		Base/Utilities
+Source0:	http://ggaoed.googlecode.com/files/%{name}-%{version}.tar.gz
+# Source0-md5:	9d46d1b274e96547bb93bc5360a1db54
+Patch0:		%{name}-build.patch
+URL:		http://code.google.com/p/ggaoed/
+BuildRequires:	docbook2X >= 0.8
+BuildRequires:	glib2-devel >= 2.12
+BuildRequires:	libaio-devel >= 0.3.107
+BuildRequires:	libatomic_ops >= 1.2
+Requires:	uname(release) >= 2.6.31
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ggaoed is an AoE (ATA over Ethernet) target implementation for Linux.
+It utilizes Linux kernel AIO, memory mapped sockets and other Linux
+features to provide the best performance.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
+
+%{__make} install \
+	datarootdir=$RPM_BUILD_ROOT%{_datadir} \
+	sbindir=$RPM_BUILD_ROOT%{_sbindir} \
+	mandir=$RPM_BUILD_ROOT%{_mandir}
+
+install ggaoed.conf.dist $RPM_BUILD_ROOT%{_sysconfdir}/ggaoed.conf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS README
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ggaoed.conf
+%attr(755,root,root) %{_sbindir}/ggaoectl
+%attr(755,root,root) %{_sbindir}/ggaoed
+%{_mandir}/man5/ggaoed.conf.5*
+%{_mandir}/man8/ggaoectl.8*
+%{_mandir}/man8/ggaoed.8*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/08/04 09:37:49  pluto
+- initial spec.
================================================================


More information about the pld-cvs-commit mailing list