~ubuntu-branches/ubuntu/utopic/libhbalinux/utopic

« back to all changes in this revision

Viewing changes to libhbalinux.spec.in

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-01-26 09:40:50 UTC
  • Revision ID: james.westby@ubuntu.com-20100126094050-owyzl1xibq4ebblh
Tags: upstream-1.0.8
ImportĀ upstreamĀ versionĀ 1.0.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Name:           libhbalinux
 
2
Version:        @PACKAGE_VERSION@
 
3
Release:        1%{?dist}
 
4
Summary:        FC-HBAAPI implementation using scsi_transport_fc interfaces
 
5
 
 
6
Group:          System Environment/Libraries
 
7
License:        LGPLv2
 
8
URL:            http://www.open-fcoe.org
 
9
Source0:        http://www.open-fcoe.org/openfc/%{name}-%{version}.tar.gz
 
10
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
11
 
 
12
BuildRequires:  libHBAAPI-devel libpciaccess-devel
 
13
Requires:       libHBAAPI
 
14
 
 
15
%description
 
16
SNIA HBAAPI vendor library built on top of the scsi_transport_fc interfaces
 
17
 
 
18
%prep
 
19
%setup -q
 
20
 
 
21
 
 
22
%build
 
23
%configure --disable-static
 
24
make %{?_smp_mflags}
 
25
 
 
26
 
 
27
%install
 
28
rm -rf $RPM_BUILD_ROOT
 
29
make install DESTDIR=$RPM_BUILD_ROOT
 
30
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
31
find $RPM_BUILD_ROOT -name '*.so' -exec rm -f {} ';'
 
32
 
 
33
 
 
34
%clean
 
35
rm -rf $RPM_BUILD_ROOT
 
36
 
 
37
 
 
38
%post -p /sbin/ldconfig
 
39
 
 
40
%postun -p /sbin/ldconfig
 
41
 
 
42
 
 
43
%files
 
44
%defattr(-,root,root,-)
 
45
%doc README
 
46
%doc COPYING
 
47
%{_libdir}/*.so.*
 
48
 
 
49
 
 
50
%changelog
 
51
* Mon Mar 2 2009 Chris Leech <christopher.leech@intel.com> - 1.0.7-1
 
52
- initial build
 
53