"Fossies" - the Fresh Open Source Software Archive

Member "open-fcoe-3.19/fcoe-utils/fcoe-utils.spec.in" (15 Apr 2015, 1403 Bytes) of package /linux/misc/open-fcoe-3.19.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 Name:           fcoe-utils
    2 Version:        @VERSION@
    3 Release:        1%{?dist}
    4 Summary:        Fibre Channel over Ethernet utilities
    5 
    6 Group:          Applications/System
    7 License:        GPLv2
    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 lldpad-devel
   13 Requires:       lldpad
   14 Requires(post):   chkconfig
   15 Requires(preun):  chkconfig initscripts
   16 Requires(postun): initscripts
   17 
   18 %description
   19 Fibre Channel over Ethernet utilities
   20 fcoeadm - command line tool for configuring FCoE interfaces
   21 fcoemon - service to configure DCB Ethernet QOS filters, works with dcbd
   22 
   23 %prep
   24 %setup -q
   25 
   26 
   27 %build
   28 %configure
   29 make %{?_smp_mflags}
   30 
   31 
   32 %install
   33 rm -rf $RPM_BUILD_ROOT
   34 make install DESTDIR=$RPM_BUILD_ROOT
   35 
   36 
   37 %clean
   38 rm -rf $RPM_BUILD_ROOT
   39 
   40 
   41 %post
   42 /sbin/chkconfig --add fcoe
   43 
   44 %preun
   45 if [ $1 = 0 ]; then
   46         /sbin/service fcoe stop
   47         /sbin/chkconfig --del fcoe
   48 fi
   49 
   50 %postun
   51 if [ $1 = 1 ]; then
   52         /sbin/service fcoe condrestart
   53 fi
   54 
   55 
   56 %files
   57 %defattr(-,root,root,-)
   58 %doc README
   59 %doc COPYING
   60 %{_sbindir}/*
   61 %{_mandir}/man8/*
   62 %{_sysconfdir}/fcoe
   63 %config(noreplace) %{_sysconfdir}/fcoe/config
   64 %{_sysconfdir}/init.d/fcoe
   65 
   66 
   67 %changelog
   68 * Mon Mar 2 2009 Chris Leech <christopher.leech@intel.com> - 1.0.7-1
   69 - initial rpm build of fcoe tools
   70