-
Notifications
You must be signed in to change notification settings - Fork 0
/
libhbalinux.spec.in
53 lines (35 loc) · 1.08 KB
/
libhbalinux.spec.in
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
Name: libhbalinux
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: FC-HBAAPI implementation using scsi_transport_fc interfaces
Group: System Environment/Libraries
License: LGPLv2
URL: http://www.open-fcoe.org
Source0: http://www.open-fcoe.org/openfc/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libHBAAPI-devel libpciaccess-devel
Requires: libHBAAPI
%description
SNIA HBAAPI vendor library built on top of the scsi_transport_fc interfaces
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
find $RPM_BUILD_ROOT -name '*.so' -exec rm -f {} ';'
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc README
%doc COPYING
%{_libdir}/*.so.*
%changelog
* Mon Mar 2 2009 Chris Leech <[email protected]> - 1.0.7-1
- initial build