1 Summary: ggaoed - ATA over Ethernet target implementation for Linux
7 Source0: http://ggaoed.googlecode.com/files/%{name}-%{version}.tar.gz
8 # Source0-md5: 9d46d1b274e96547bb93bc5360a1db54
9 Patch0: %{name}-build.patch
10 URL: http://code.google.com/p/ggaoed/
11 BuildRequires: docbook2X >= 0.8
12 BuildRequires: glib2-devel >= 2.12
13 BuildRequires: libaio-devel >= 0.3.107
14 BuildRequires: libatomic_ops >= 1.2
15 Requires: uname(release) >= 2.6.31
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 ggaoed is an AoE (ATA over Ethernet) target implementation for Linux.
20 It utilizes Linux kernel AIO, memory mapped sockets and other Linux
21 features to provide the best performance.
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_sysconfdir}
36 datarootdir=$RPM_BUILD_ROOT%{_datadir} \
37 sbindir=$RPM_BUILD_ROOT%{_sbindir} \
38 mandir=$RPM_BUILD_ROOT%{_mandir}
40 install ggaoed.conf.dist $RPM_BUILD_ROOT%{_sysconfdir}/ggaoed.conf
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
48 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ggaoed.conf
49 %attr(755,root,root) %{_sbindir}/ggaoectl
50 %attr(755,root,root) %{_sbindir}/ggaoed
51 %{_mandir}/man5/ggaoed.conf.5*
52 %{_mandir}/man8/ggaoectl.8*
53 %{_mandir}/man8/ggaoed.8*