Author: glen                         Date: Wed Mar  2 23:06:02 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cleaned up few things; still incomplete

---- Files affected:
SPECS:
   freeipmi.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/freeipmi.spec
diff -u SPECS/freeipmi.spec:1.4 SPECS/freeipmi.spec:1.5
--- SPECS/freeipmi.spec:1.4     Wed Mar  2 20:18:56 2005
+++ SPECS/freeipmi.spec Thu Mar  3 00:05:50 2005
@@ -1,6 +1,11 @@
 # $Revision$, $Date$
 # TODO
 #  - split based on provided spec.in: devel, fish, utils ?
+#    still not sure about how to split packages. move -libs to main
+#    and programs to -utils? or leave as it is? (but package init.d
+#    scripts separately?). -libs contains /var/lib/%{name} (because
+#    that .so needs to read ipckey inode), so one vote for discarding
+#    -libs?
 #  - additional split by requires/services (watchdog)
 #  - 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.
 #  - wtf is this?
@@ -19,22 +24,21 @@
 Summary(pl):   GNU FreeIPMI - oprogramowanie do zarządzania systemem
 Name:          freeipmi
 Version:       0.1.3
-Release:       0.5
+Release:       0.11
 License:       GPL
 Group:         Applications/System
 Source0:       
ftp://ftp.californiadigital.com/pub/freeipmi/download/0.1.3/%{name}-%{version}.tar.gz
 # Source0-md5: c4b088f806253971759c60263722e63d
+Patch0:                %{name}-am.patch
 URL:           http://www.gnu.org/software/freeipmi/
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: guile-devel
 BuildRequires: readline-devel >= 4.0
-#BuildRequires:        autoconf >= 2.50
-#BuildRequires:        automake
-#BuildRequires:        libltdl-devel
-#BuildRequires:        libtool
-#Obsoletes:    ipmitool-devel
+BuildRequires: libtool
+Requires:              %{name}-libs = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-# XXX don't translate before subpackages are done
 %description
 The GNU FreeIPMI system provides "Remote-Console" (out-of-band) and
 "System Management Software" (in-band) based on IPMI v1.5/2.0
@@ -50,20 +54,29 @@
 - IPMI Ping (ipmiping)
 - RMCP Ping (rmcpping)
 
-#%package fish
-#Summary:      FreeIPMI Shell
-#Group:                Applications/System
-#Requires:     %{name} = %{version}-%{release}
-#
-#%description fish
-#Fish provides Shell, Extension/Plug-in and scripting interface. As a
-#shell, User has access to both in-band and out-of-band access to the
-#host BMC through a rich set of IPMI commands.
+%package fish
+Summary:       FreeIPMI Shell
+Group:         Applications/System
+Requires:      %{name} = %{version}-%{release}
+Requires:      scsh
+
+%description fish
+Fish provides Shell, Extension/Plug-in and scripting interface. As a
+shell, User has access to both in-band and out-of-band access to the
+host BMC through a rich set of IPMI commands.
+
+%package libs
+Summary:       Shared libraries for FreeIPMI
+Group:         Development/Libraries
+
+%description libs
+Shared libraries for FreeIPMI
 
 %package devel
 Summary:       Development package for FreeIPMI
 Summary(pl):   Pakiet programistyczny FreeIPMI
 Group:         Development/Libraries
+Requires:      %{name}-libs = %{version}-%{release}
 
 %description devel
 Development package for FreeIPMI. This package includes the FreeIPMI
@@ -86,8 +99,13 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 
 %{__make}
@@ -99,15 +117,14 @@
        DESTDIR=$RPM_BUILD_ROOT
 
 # TODO: patch Makefile.am instead
-# install script to /etc/rc.d/init.d not /etc/init.d
 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/freeipmi
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post  -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post  libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
@@ -115,21 +132,17 @@
 %doc doc/ipmi-over-ts2000.texi
 %doc DISCLAIMER.*
 %attr(754,root,root) /etc/rc.d/init.d/bmc-watchdog
-%dir /var/lib/freeipmi
-/var/lib/freeipmi/ipckey
-%dir /var/log/freeipmi
 %attr(755,root,root) %{_sbindir}/rmcpping
 %attr(755,root,root) %{_sbindir}/ipmiping
 %attr(755,root,root) %{_sbindir}/ipmipower
 %attr(755,root,root) %{_sbindir}/bmc-watchdog
-%attr(755,root,root) %{_libdir}/libfreeipmi.so.1.0.0
-%{_datadir}/fish/extensions
 %{_mandir}/man5/*
 %{_mandir}/man8/*
 %{_infodir}/freeipmi.info*
+%dir /var/log/freeipmi
 
-#%files fish
-#%defattr(644,root,root,755)
+%files fish
+%defattr(644,root,root,755)
 %dir %{_sysconfdir}/fish
 %config(noreplace) %{_sysconfdir}/fish/sensors-conf.scm
 %config(noreplace) %{_sysconfdir}/fish/fish.scm
@@ -139,8 +152,15 @@
 %attr(755,root,root) %{_sbindir}/sel
 %attr(755,root,root) %{_sbindir}/sensors
 %dir %{_datadir}/fish
+%{_datadir}/fish/extensions
 %{_mandir}/man1/*
 
+%files libs
+%defattr(644,root,root,755)
+%dir /var/lib/freeipmi
+/var/lib/freeipmi/ipckey
+%{_libdir}/libfreeipmi.so.1.*.*
+
 %files devel
 %defattr(644,root,root,755)
 %doc doc/examples/
@@ -159,6 +179,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/03/02 23:05:50  glen
+- cleaned up few things; still incomplete
+
 Revision 1.4  2005/03/02 19:18:56  qboosh
 - partial pl and unifications
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/freeipmi.spec?r1=1.4&r2=1.5&f=u


_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to