Debian Codegraph @

pkg/rhel6/SPECS/aoetools.spec

raw
1 %define sbind %{buildroot}%{_sbindir}
2 %define mand %{buildroot}%{_mandir}
3 %define udevrulesd %{buildroot}%{_sysconfdir}/udev/rules.d
4 %define docfiles COPYING HACKING NEWS README
5
6 Summary: ATA over Ethernet (AoE) utilities
7 Name: aoetools
8 Vendor: Coraid, Inc.
9 Packager: Ed Cashin <[email protected]>
10 Version: 36
11 Release: 1%{dist}
12 URL: http://aoetools.sourceforge.net/
13 Source0: %{name}-%{version}.tar.gz
14 Source1: 60-aoe.rules
15 License: GPLv2
16 Group: Application/System
17
18 %description
19 The command-line utilities for using the aoe driver to work with
20 ATA over Ethernet storage targets on a Linux system.
21
22 %define debug_package %{nil}
23
24 %prep
25 %setup -n %{name}-%{version}
26
27 %build
28 make SBINDIR=%{sbind} MANDIR=%{mand}
29
30 %install
31 mkdir -p -m 755 %{sbind}/
32 mkdir -p -m 755 %{mand}/man8/
33 make install SBINDIR=%{sbind} MANDIR=%{mand}
34 mkdir -p -m 755 %{udevrulesd}/
35 install -m 644 %{SOURCE1} %{udevrulesd}
36
37 %files
38 %defattr(-,root,root)
39 %doc %docfiles
40 %attr(0755,root,root) %{_sbindir}/*
41 %{_mandir}/man8/*
42 %config %{_sysconfdir}/udev/rules.d/*
43
44 %changelog
45 * Thu Aug 15 2013 Ed Cashin <[email protected]> - 36-1
46 - Update for v36
47
48 * Wed Jul 10 2013 Ed Cashin <[email protected]> - 35-1
49 - Initial package for aoetools v35 plus udev rules