Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
open-fcoe
open-fcoe.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File open-fcoe.spec of Package open-fcoe
# # spec file for package open-fcoe (Version 1.0.4) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: open-fcoe Url: http://www.open-fcoe.org License: GPL v2 only Group: System/Daemons PreReq: %fillup_prereq %insserv_prereq AutoReqProv: on BuildRequires: xorg-x11-devel Version: 1.0.4 Release: 1 Summary: Open-FCoE userspace management tools Source: %{name}.tar.bz2 Source1: dcb_types.h Source2: dcbtool.h Source3: clif.h Source4: clif_cmds.h Source5: common.h Source6: dcb_osdep.h Source7: includes.h Source8: dcbd.h Source9: os.h Patch1: %{name}-init-fixes Patch2: %{name}-multi-arch.diff Patch3: %{name}-update-1.0.4.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Userspace tools to manage FibreChannel over Ethernet (FCoE) connections. Authors: -------- Robert Love <robert.w.love@intel.com> %prep %setup -n open-fcoe %patch1 -p1 %patch2 -p1 %patch3 -p1 %build export LIBHBALINUX="%{_builddir}/%{name}/libhbalinux" export LDFLAGS="${LDFLAGS} -L${LIBHBALINUX}/hbaapi_src_2.2/" export CFLAGS="${RPM_OPT_FLAGS} -fPIC -I${LIBHBALINUX}/include -I${LIBHBALINUX}/hbaapi_src_2.2/" export DCB_SRC="%{_builddir}/%{name}" mkdir include cp %{S:1} %{S:2} %{S:3} %{S:4} %{S:5} %{S:6} %{S:7} %{S:8} %{S:9} include/ make libdir=%{_libdir} OPT_FLAGS="${RPM_OPT_FLAGS}" %install export LIBHBALINUX="%{_builddir}/%{name}/libhbalinux" export DCB_SRC="%{_builddir}/%{name}/include/" %{__make} DESTDIR=${RPM_BUILD_ROOT} libdir=%{_libdir} install ln -s libHBAAPI.so.1.0.0 ${RPM_BUILD_ROOT}%{_libdir}/%{name}-%{version}/libHBAAPI.so.1 ln -s libhbalinux.so.1.0.0 ${RPM_BUILD_ROOT}%{_libdir}/%{name}-%{version}/libhbalinux.so.1 %post %{fillup_and_insserv open-fcoe} %preun %{stop_on_removal open-fcoe} %postun %{insserv_cleanup open-fcoe} %files %defattr(-,root,root) %attr(755,root,root)/sbin/* %attr(755,root,root)/etc/init.d/* %dir %{_libdir}/%{name}-%{version} %{_libdir}/%{name}-%{version}/* %dir /etc/fcoe %config /etc/hba.conf %config /etc/fcoe/open-fcoe.conf %config /etc/fcoe/fcoemon.conf %{_mandir}/man8/* %doc README %changelog * Mon Dec 01 2008 sf@suse.de - update to 10.4 (bnc #438954) - new patch from Intel - Makefile fixes - removed unneeded files from tarball * Mon Nov 24 2008 sf@suse.de - new version 1.0.3 (bnc #438954) - add working tools - add required libraries - add hbaapi - add required headers from dcbd * Wed Sep 24 2008 hare@suse.de - Initial package (FATE#303914)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor