]>
Commit | Line | Data |
---|---|---|
ee894230 PS |
1 | Summary: ggaoed - ATA over Ethernet target implementation for Linux |
2 | Name: ggaoed | |
3 | Version: 1.1 | |
4 | Release: 0.1 | |
5 | License: GPL v2 | |
6 | Group: Base/Utilities | |
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) | |
17 | ||
18 | %description | |
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. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | %patch0 -p1 | |
26 | ||
27 | %build | |
28 | %configure | |
29 | %{__make} | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT%{_sysconfdir} | |
34 | ||
35 | %{__make} install \ | |
36 | datarootdir=$RPM_BUILD_ROOT%{_datadir} \ | |
37 | sbindir=$RPM_BUILD_ROOT%{_sbindir} \ | |
38 | mandir=$RPM_BUILD_ROOT%{_mandir} | |
39 | ||
40 | install ggaoed.conf.dist $RPM_BUILD_ROOT%{_sysconfdir}/ggaoed.conf | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc NEWS README | |
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* |