]>
Commit | Line | Data |
---|---|---|
cf87ffbe ER |
1 | # TODO |
2 | # - split based on provided spec.in: devel, fish, utils ? | |
a20778c0 ER |
3 | # still not sure about how to split packages. move -libs to main |
4 | # and programs to -utils? or leave as it is? (but package init.d | |
5 | # scripts separately?). -libs contains /var/lib/%{name} (because | |
6 | # that .so needs to read ipckey inode), so one vote for discarding | |
7 | # -libs? | |
cf87ffbe | 8 | # - additional split by requires/services (watchdog) |
94edf6e5 ER |
9 | # - 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. |
10 | # - wtf is this? | |
11 | # # bmc-config | |
12 | #>>--:> >>--:> >>--:> >>--:> | |
13 | #~ ~ Cat ate the fish!! ~ ~ | |
14 | #>>--:> >>--:> >>--:> >>--:> | |
15 | #Fish Exception (gh_standard_handler dump): | |
16 | #tag : | |
17 | #throw args : | |
18 | #data : [/usr/share/fish/extensions/sensors.scm] | |
19 | #misc-error(#f %s %S (no such module (srfi srfi-13)) #f)No backtrace | |
20 | #available. | |
21 | # dig: http://www.google.com/search?q=srfi&ie=UTF-8&oe=UTF-8 | |
6f5c48ee | 22 | Summary: GNU FreeIPMI - system management software |
2b63a779 | 23 | Summary(pl.UTF-8): GNU FreeIPMI - oprogramowanie do zarządzania systemem |
cf87ffbe ER |
24 | Name: freeipmi |
25 | Version: 0.1.3 | |
fda9c09c | 26 | Release: 0.12 |
0eb4fec9 | 27 | License: GPL |
cf87ffbe ER |
28 | Group: Applications/System |
29 | Source0: ftp://ftp.californiadigital.com/pub/freeipmi/download/0.1.3/%{name}-%{version}.tar.gz | |
30 | # Source0-md5: c4b088f806253971759c60263722e63d | |
a20778c0 | 31 | Patch0: %{name}-am.patch |
fda9c09c | 32 | Patch1: %{name}-build.patch |
cf87ffbe | 33 | URL: http://www.gnu.org/software/freeipmi/ |
a20778c0 ER |
34 | BuildRequires: autoconf |
35 | BuildRequires: automake | |
0eb4fec9 | 36 | BuildRequires: guile-devel |
a20778c0 | 37 | BuildRequires: libtool |
1759b445 JB |
38 | BuildRequires: readline-devel >= 4.0 |
39 | Requires: %{name}-libs = %{version}-%{release} | |
cf87ffbe ER |
40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
41 | ||
cf87ffbe ER |
42 | %description |
43 | The GNU FreeIPMI system provides "Remote-Console" (out-of-band) and | |
44 | "System Management Software" (in-band) based on IPMI v1.5/2.0 | |
45 | specification. This project includes: | |
46 | - KCS, SMIC, SSIF, LAN Drivers and C Library (libfreeipmi) | |
47 | - FreeIPMI SHell (fish) | |
48 | - Watchdog Daemon (bmc-watchdog) | |
49 | - Sensors (sensors) | |
50 | - System Event Log (sel) | |
51 | - BMC Info (bmc-info) | |
52 | - BMC Config (bmc-config) | |
53 | - IPMI Power (ipmipower) | |
54 | - IPMI Ping (ipmiping) | |
55 | - RMCP Ping (rmcpping) | |
56 | ||
3314df50 JR |
57 | %description -l pl.UTF-8 |
58 | System GNU FreeIPMI dostarcza "zdalną konsolę" (Remote-Console) oraz | |
59 | "oprogramowanie do zarządzania systemem" (System Management Software) | |
1759b445 | 60 | oparte na specyfikacji IPMI v1.5/2.0. Projekt zawiera: |
3314df50 JR |
61 | - KCS, SMIC, SSIF, sterowniki LAN i bibliotekę C (libfreeipmi) |
62 | - powłokę FreeIPMI SHell (fish) | |
1759b445 JB |
63 | - demona watchdog (bmc-watchdog) |
64 | - czujniki (sensors) | |
3314df50 JR |
65 | - dziennik zdarzeń systemowych (sel - System Event Log) |
66 | - narzędzie informacyjne BMC (bmc-info) | |
67 | - narzędzie konfiguracyjne BMC (bmc-config) | |
68 | - narzędzie IPMI Power (ipmipower) | |
1759b445 JB |
69 | - ping dla IPMI (ipmiping) |
70 | - ping dla RMCP (rmcpping) | |
71 | ||
a20778c0 ER |
72 | %package fish |
73 | Summary: FreeIPMI Shell | |
74 | Group: Applications/System | |
75 | Requires: %{name} = %{version}-%{release} | |
76 | Requires: scsh | |
77 | ||
78 | %description fish | |
79 | Fish provides Shell, Extension/Plug-in and scripting interface. As a | |
80 | shell, User has access to both in-band and out-of-band access to the | |
81 | host BMC through a rich set of IPMI commands. | |
82 | ||
3314df50 JR |
83 | %description fish -l pl.UTF-8 |
84 | Fish dostarcza powłokę oraz interfejs rozszerzeń/wtyczek i skryptów. | |
85 | Jako powłoka daje użytkownikowi dostęp do części in-band jak i | |
86 | out-of-band systemowego BMC poprzez bogaty zestaw poleceń IPMI. | |
1759b445 | 87 | |
a20778c0 ER |
88 | %package libs |
89 | Summary: Shared libraries for FreeIPMI | |
2b63a779 | 90 | Summary(pl.UTF-8): Biblioteki współdzielone FreeIPMI |
1759b445 | 91 | Group: Libraries |
a20778c0 ER |
92 | |
93 | %description libs | |
1759b445 JB |
94 | Shared libraries for FreeIPMI. |
95 | ||
3314df50 JR |
96 | %description libs -l pl.UTF-8 |
97 | Biblioteki współdzielone FreeIPMI. | |
cf87ffbe ER |
98 | |
99 | %package devel | |
100 | Summary: Development package for FreeIPMI | |
2b63a779 | 101 | Summary(pl.UTF-8): Pakiet programistyczny FreeIPMI |
cf87ffbe | 102 | Group: Development/Libraries |
a20778c0 | 103 | Requires: %{name}-libs = %{version}-%{release} |
cf87ffbe ER |
104 | |
105 | %description devel | |
106 | Development package for FreeIPMI. This package includes the FreeIPMI | |
6f5c48ee JB |
107 | header files. |
108 | ||
3314df50 JR |
109 | %description devel -l pl.UTF-8 |
110 | Pakiet programistyczny FreeIPMI. Zawiera pliki nagłówkowe. | |
cf87ffbe ER |
111 | |
112 | %package static | |
113 | Summary: Static FreeIPMI library | |
2b63a779 | 114 | Summary(pl.UTF-8): Statyczna biblioteka FreeIPMI |
cf87ffbe ER |
115 | Group: Development/Libraries |
116 | Requires: %{name}-devel = %{version}-%{release} | |
117 | ||
118 | %description static | |
119 | Static FreeIPMI library. | |
120 | ||
3314df50 | 121 | %description static -l pl.UTF-8 |
6f5c48ee JB |
122 | Statyczna biblioteka FreeIPMI. |
123 | ||
cf87ffbe ER |
124 | %prep |
125 | %setup -q | |
a20778c0 | 126 | %patch0 -p1 |
fda9c09c | 127 | %patch1 -p1 |
cf87ffbe ER |
128 | |
129 | %build | |
a20778c0 ER |
130 | %{__aclocal} |
131 | %{__autoconf} | |
132 | %{__autoheader} | |
133 | %{__automake} | |
cf87ffbe ER |
134 | %configure |
135 | ||
136 | %{__make} | |
137 | ||
138 | %install | |
139 | rm -rf $RPM_BUILD_ROOT | |
140 | ||
141 | %{__make} install -j1 \ | |
142 | DESTDIR=$RPM_BUILD_ROOT | |
143 | ||
144 | # TODO: patch Makefile.am instead | |
145 | rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/freeipmi | |
6f5c48ee | 146 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
cf87ffbe ER |
147 | |
148 | %clean | |
149 | rm -rf $RPM_BUILD_ROOT | |
150 | ||
a20778c0 ER |
151 | %post libs -p /sbin/ldconfig |
152 | %postun libs -p /sbin/ldconfig | |
cf87ffbe ER |
153 | |
154 | %files | |
155 | %defattr(644,root,root,755) | |
0eb4fec9 | 156 | %doc doc/BUGS NEWS TODO AUTHORS README ChangeLog |
cf87ffbe | 157 | %doc doc/ipmi-over-ts2000.texi |
0eb4fec9 | 158 | %doc DISCLAIMER.* |
6f5c48ee | 159 | %attr(754,root,root) /etc/rc.d/init.d/bmc-watchdog |
cf87ffbe ER |
160 | %attr(755,root,root) %{_sbindir}/rmcpping |
161 | %attr(755,root,root) %{_sbindir}/ipmiping | |
162 | %attr(755,root,root) %{_sbindir}/ipmipower | |
163 | %attr(755,root,root) %{_sbindir}/bmc-watchdog | |
cf87ffbe ER |
164 | %{_mandir}/man5/* |
165 | %{_mandir}/man8/* | |
6f5c48ee | 166 | %{_infodir}/freeipmi.info* |
a20778c0 | 167 | %dir /var/log/freeipmi |
cf87ffbe | 168 | |
a20778c0 ER |
169 | %files fish |
170 | %defattr(644,root,root,755) | |
cf87ffbe ER |
171 | %dir %{_sysconfdir}/fish |
172 | %config(noreplace) %{_sysconfdir}/fish/sensors-conf.scm | |
173 | %config(noreplace) %{_sysconfdir}/fish/fish.scm | |
174 | %attr(755,root,root) %{_sbindir}/fish | |
175 | %attr(755,root,root) %{_sbindir}/bmc-config | |
176 | %attr(755,root,root) %{_sbindir}/bmc-info | |
177 | %attr(755,root,root) %{_sbindir}/sel | |
178 | %attr(755,root,root) %{_sbindir}/sensors | |
179 | %dir %{_datadir}/fish | |
a20778c0 | 180 | %{_datadir}/fish/extensions |
cf87ffbe ER |
181 | %{_mandir}/man1/* |
182 | ||
a20778c0 ER |
183 | %files libs |
184 | %defattr(644,root,root,755) | |
185 | %dir /var/lib/freeipmi | |
186 | /var/lib/freeipmi/ipckey | |
187 | %{_libdir}/libfreeipmi.so.1.*.* | |
188 | ||
cf87ffbe ER |
189 | %files devel |
190 | %defattr(644,root,root,755) | |
191 | %doc doc/examples/ | |
192 | %doc doc/{ipmi-network-layout.fig,freeipmi-hackers-intro.sxi} | |
6f5c48ee | 193 | %attr(755,root,root) %{_libdir}/libfreeipmi.so |
cf87ffbe | 194 | %{_libdir}/libfreeipmi.la |
6f5c48ee | 195 | %{_includedir}/freeipmi |
cf87ffbe ER |
196 | |
197 | %files static | |
198 | %defattr(644,root,root,755) | |
199 | %{_libdir}/libfreeipmi.a |