Name: libhbaapi Version: 2.2 Release: 4%{?dist} Summary: SNIA HBAAPI library Group: System Environment/Libraries License: SNIA URL: http://sourceforge.net/projects/hbaapi/ Source0: http://downloads.sourceforge.net/hbaapi/hbaapi_src_%{version}.tgz Source1: http://www.open-fcoe.org/openfc/downloads/hbaapi_build_%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # BuildRequires: # Requires: %description The SNIA HBA API library. C-level project to manage Fibre Channel Host Bus Adapters. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n hbaapi_src_2.2 %setup -q -T -D -a 1 -n hbaapi_src_2.2 %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 {} ';' %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc readme.txt %config(noreplace) %{_sysconfdir}/hba.conf %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Wed Apr 01 2009 Jan Zeleny - 2.2-4 - added some info to description line - replaced unoficial build source tarball with official one * Tue Mar 31 2009 Jan Zeleny - 2.2-3 - minor changes in spec file - filenames change, removal of duplicate patch files (included in build source tarball) * Thu Mar 12 2009 Jan Zeleny - 2.2-2 - correction of patches' names to correct format * Tue Feb 24 2009 Chris Leech - 2.2-1 - initial packaging of hbaapi 2.2