]>
Commit | Line | Data |
---|---|---|
cf87ffbe ER |
1 | # TODO |
2 | # - split based on provided spec.in: devel, fish, utils ? | |
3 | # - additional split by requires/services (watchdog) | |
94edf6e5 ER |
4 | # - file /usr/share/man/man1/sensors.1.gz from install of freeipmi-0.1.3-0.5 conflicts with file from package lm_sensors-2. |
5 | # - wtf is this? | |
6 | # # bmc-config | |
7 | #>>--:> >>--:> >>--:> >>--:> | |
8 | #~ ~ Cat ate the fish!! ~ ~ | |
9 | #>>--:> >>--:> >>--:> >>--:> | |
10 | #Fish Exception (gh_standard_handler dump): | |
11 | #tag : | |
12 | #throw args : | |
13 | #data : [/usr/share/fish/extensions/sensors.scm] | |
14 | #misc-error(#f %s %S (no such module (srfi srfi-13)) #f)No backtrace | |
15 | #available. | |
16 | # dig: http://www.google.com/search?q=srfi&ie=UTF-8&oe=UTF-8 | |
cf87ffbe ER |
17 | Summary: GNU FreeIPMI |
18 | Name: freeipmi | |
19 | Version: 0.1.3 | |
20 | Release: 0.5 | |
0eb4fec9 | 21 | License: GPL |
cf87ffbe ER |
22 | Group: Applications/System |
23 | Source0: ftp://ftp.californiadigital.com/pub/freeipmi/download/0.1.3/%{name}-%{version}.tar.gz | |
24 | # Source0-md5: c4b088f806253971759c60263722e63d | |
25 | URL: http://www.gnu.org/software/freeipmi/ | |
0eb4fec9 | 26 | BuildRequires: guile-devel |
94edf6e5 | 27 | BuildRequires: readline-devel >= 4.0 |
cf87ffbe ER |
28 | #BuildRequires: autoconf >= 2.50 |
29 | #BuildRequires: automake | |
30 | #BuildRequires: libltdl-devel | |
31 | #BuildRequires: libtool | |
32 | #Obsoletes: ipmitool-devel | |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | # XXX don't translate before subpackages are done | |
36 | %description | |
37 | The GNU FreeIPMI system provides "Remote-Console" (out-of-band) and | |
38 | "System Management Software" (in-band) based on IPMI v1.5/2.0 | |
39 | specification. This project includes: | |
40 | - KCS, SMIC, SSIF, LAN Drivers and C Library (libfreeipmi) | |
41 | - FreeIPMI SHell (fish) | |
42 | - Watchdog Daemon (bmc-watchdog) | |
43 | - Sensors (sensors) | |
44 | - System Event Log (sel) | |
45 | - BMC Info (bmc-info) | |
46 | - BMC Config (bmc-config) | |
47 | - IPMI Power (ipmipower) | |
48 | - IPMI Ping (ipmiping) | |
49 | - RMCP Ping (rmcpping) | |
50 | ||
51 | #%package fish | |
52 | #Summary: FreeIPMI Shell | |
53 | #Group: Applications/System | |
54 | #Requires: %{name} = %{version}-%{release} | |
55 | # | |
56 | #%description fish | |
57 | #Fish provides Shell, Extension/Plug-in and scripting interface. As a | |
58 | #shell, User has access to both in-band and out-of-band access to the | |
59 | #host BMC through a rich set of IPMI commands. | |
60 | ||
61 | %package devel | |
62 | Summary: Development package for FreeIPMI | |
63 | Group: Development/Libraries | |
64 | ||
65 | %description devel | |
66 | Development package for FreeIPMI. This package includes the FreeIPMI | |
67 | header files and static libraries. | |
68 | ||
69 | %package static | |
70 | Summary: Static FreeIPMI library | |
71 | Group: Development/Libraries | |
72 | Requires: %{name}-devel = %{version}-%{release} | |
73 | ||
74 | %description static | |
75 | Static FreeIPMI library. | |
76 | ||
77 | %prep | |
78 | %setup -q | |
79 | ||
80 | %build | |
81 | %configure | |
82 | ||
83 | %{__make} | |
84 | ||
85 | %install | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %{__make} install -j1 \ | |
89 | DESTDIR=$RPM_BUILD_ROOT | |
90 | ||
91 | # TODO: patch Makefile.am instead | |
92 | rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/freeipmi | |
93 | rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir | |
94 | ||
95 | %clean | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %post -p /sbin/ldconfig | |
99 | %postun -p /sbin/ldconfig | |
100 | ||
101 | %files | |
102 | %defattr(644,root,root,755) | |
0eb4fec9 | 103 | %doc doc/BUGS NEWS TODO AUTHORS README ChangeLog |
cf87ffbe | 104 | %doc doc/ipmi-over-ts2000.texi |
0eb4fec9 | 105 | %doc DISCLAIMER.* |
cf87ffbe ER |
106 | %{_sysconfdir}/init.d/bmc-watchdog |
107 | %dir /var/lib/freeipmi | |
108 | /var/lib/freeipmi/ipckey | |
109 | %dir /var/log/freeipmi | |
110 | %{_libdir}/libfreeipmi.so.1.0.0 | |
111 | %{_libdir}/libfreeipmi.so.1 | |
112 | %attr(755,root,root) %{_sbindir}/rmcpping | |
113 | %attr(755,root,root) %{_sbindir}/ipmiping | |
114 | %attr(755,root,root) %{_sbindir}/ipmipower | |
115 | %attr(755,root,root) %{_sbindir}/bmc-watchdog | |
116 | %{_datadir}/fish/extensions | |
117 | %{_mandir}/man5/* | |
118 | %{_mandir}/man8/* | |
119 | %{_datadir}/info/freeipmi.info.* | |
120 | ||
121 | #%files fish | |
122 | #%defattr(644,root,root,755) | |
123 | %dir %{_sysconfdir}/fish | |
124 | %config(noreplace) %{_sysconfdir}/fish/sensors-conf.scm | |
125 | %config(noreplace) %{_sysconfdir}/fish/fish.scm | |
126 | %attr(755,root,root) %{_sbindir}/fish | |
127 | %attr(755,root,root) %{_sbindir}/bmc-config | |
128 | %attr(755,root,root) %{_sbindir}/bmc-info | |
129 | %attr(755,root,root) %{_sbindir}/sel | |
130 | %attr(755,root,root) %{_sbindir}/sensors | |
131 | %dir %{_datadir}/fish | |
132 | %{_mandir}/man1/* | |
133 | ||
134 | %files devel | |
135 | %defattr(644,root,root,755) | |
136 | %doc doc/examples/ | |
137 | %doc doc/{ipmi-network-layout.fig,freeipmi-hackers-intro.sxi} | |
138 | %{_includedir}/freeipmi | |
139 | %{_libdir}/libfreeipmi.la | |
140 | %{_libdir}/libfreeipmi.so | |
141 | ||
142 | %files static | |
143 | %defattr(644,root,root,755) | |
144 | %{_libdir}/libfreeipmi.a |