File: raidutils.spec.in

package info (click to toggle)
raidutils 0.0.6-11
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 12,260 kB
  • ctags: 18,177
  • sloc: cpp: 39,797; ansic: 22,766; sh: 8,614; makefile: 85
file content (53 lines) | stat: -rw-r--r-- 1,564 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Summary: Utilities to manage Adaptec I2O compliant RAID controllers
Name: raidutils
Version: @VERSION@
Release: 1
License: BSD
Group: Applications/System
Source: http://i2o.shadowconnect.com/raidutils/raidutils-@VERSION@.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
The raidutils program allow the user to manage the Adaptec I2O compliant RAID
controllers. It can, for example, create/delete an RAID array, add/remove a hot
spare drive to/from a RAID array, activate/silence the alarm or get information
about the status of the RAID array and disks.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT/%{_libdir}/libraidutil.a
rm $RPM_BUILD_ROOT/%{_libdir}/libraidutil.so
rm $RPM_BUILD_ROOT/%{_libdir}/libraidutil.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc README COPYING ChangeLog

%{_bindir}/raidutil
%{_bindir}/raideng
%{_libdir}/libraidutil.so.0
%{_libdir}/libraidutil.so.0.0.0

%changelog
* Wed May 05 2004 Markus Lidel <Markus.Lidel@shadowconnect.com>
- Changed recognition of I2O pass-thru option availability.
- Now raidutils use the right headers if using gcc version 3.3.
* Mon May 03 2004 Markus Lidel <Markus.Lidel@shadowconnect.com>
- Cleaned up RPM regarding the guideline of Anvil, warren and mschwendt. Many
  thanks to them.
* Sun May 02 2004 Markus Lidel <Markus.Lidel@shadowconnect.com>
- first version with SPEC file to build a rpm.