]> git.pld-linux.org Git - packages/ggaoed.git/blame - ggaoed.spec
- initial spec.
[packages/ggaoed.git] / ggaoed.spec
CommitLineData
ee894230
PS
1Summary: ggaoed - ATA over Ethernet target implementation for Linux
2Name: ggaoed
3Version: 1.1
4Release: 0.1
5License: GPL v2
6Group: Base/Utilities
7Source0: http://ggaoed.googlecode.com/files/%{name}-%{version}.tar.gz
8# Source0-md5: 9d46d1b274e96547bb93bc5360a1db54
9Patch0: %{name}-build.patch
10URL: http://code.google.com/p/ggaoed/
11BuildRequires: docbook2X >= 0.8
12BuildRequires: glib2-devel >= 2.12
13BuildRequires: libaio-devel >= 0.3.107
14BuildRequires: libatomic_ops >= 1.2
15Requires: uname(release) >= 2.6.31
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19ggaoed is an AoE (ATA over Ethernet) target implementation for Linux.
20It utilizes Linux kernel AIO, memory mapped sockets and other Linux
21features to provide the best performance.
22
23%prep
24%setup -q
25%patch0 -p1
26
27%build
28%configure
29%{__make}
30
31%install
32rm -rf $RPM_BUILD_ROOT
33install -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
40install ggaoed.conf.dist $RPM_BUILD_ROOT%{_sysconfdir}/ggaoed.conf
41
42%clean
43rm -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*
This page took 0.044314 seconds and 4 git commands to generate.