File: qlvnictools.spec

package info (click to toggle)
qlvnictools 0.0.1-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 856 kB
  • ctags: 467
  • sloc: ansic: 2,434; sh: 2,114; perl: 1,219; makefile: 65
file content (101 lines) | stat: -rw-r--r-- 2,589 bytes parent folder | download | duplicates (2)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#
# spec file for package qlvnictools (Version 0.0.1 )
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           qlvnictools
Version: 0.0.1
Release: 1.ofed1.4
Summary:        VNIC ULP service
Group:          System/Console
License:        GPL v2 only
URL:            http://www.openfabrics.org
Source: http://www.openfabrics.org/downloads/qlvnictools-0.0.1.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       ibvexdmtools

%description
VNIC ULP service

%package -n ibvexdmtools 
Group:          System/Console
Summary:        Tools for VNIC/IB

%package -n qlgc_vnic_daemon
Group:          System/Console
Summary:        Tools for VNIC/IB

%description -n ibvexdmtools
In conjunction with the kernel ib_vnic driver, ibvexdmtools allows you
to discover and use QLogic Virtual NIC devices via the VNIC protocol
over InfiniBand.

%description -n qlgc_vnic_daemon
In conjunction with the kernel ib_vnic driver, ib_qlgcvnicupdate takes care to
detect the disconnected paths of the VNIC interface and connect through them
whenever they become available.

%prep
%setup -q

%build
pushd ibvexdmtools
%configure
make
popd
pushd qlgc_vnic_daemon
%configure
make
popd

%install
install -D qlgc_vnic $RPM_BUILD_ROOT/%_sysconfdir/init.d/qlgc_vnic
install -D ib_qlgc_vnic_parser.pl $RPM_BUILD_ROOT/%_sbindir/ib_qlgc_vnic_parser.pl
install -D ib_qlgc_vnic_info $RPM_BUILD_ROOT/%_sbindir/ib_qlgc_vnic_info
install -D -m 0644 qlgc_vnic.cfg.sample $RPM_BUILD_ROOT/%_sysconfdir/infiniband/qlgc_vnic.cfg
install -D -m 0644 qlgc_vnic.cfg.sample $RPM_BUILD_ROOT/%_sysconfdir/infiniband/qlgc_vnic.cfg.sample
pushd ibvexdmtools
%makeinstall
popd
pushd qlgc_vnic_daemon
%makeinstall
popd

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README

%_sysconfdir/init.d/qlgc_vnic

%_sbindir/ib_qlgc_vnic_parser.pl

%_sbindir/ib_qlgc_vnic_info

%_sysconfdir/infiniband/qlgc_vnic.cfg.sample

%config(noreplace) %_sysconfdir/infiniband/qlgc_vnic.cfg

%files -n ibvexdmtools
%defattr(-,root,root)
%doc ibvexdmtools/NEWS ibvexdmtools/ChangeLog
%{_sbindir}/ib_qlgc_vnic_query

%files -n qlgc_vnic_daemon
%defattr(-,root,root)
%doc qlgc_vnic_daemon/README
%{_sbindir}/ib_qlgc_vnic_update

%changelog
* Thu Jul 12 2007 - hvogel@suse.de
- move the init script and the config to the right place
* Tue Jul 03 2007 - hvogel@suse.de
- Initial Package, Version 0.0.1