Summary: Maintain inventory of server resources/hardware Name: logstory Version: REV Release: 1 license: GPL Vendor: Solucorp Group: Networking/util Source0: logstory-REV.src.tar.gz BuildRoot: /var/tmp/logstory BuildRequires: linuxconf-devel Requires: linuxconf-lib %description Scans server and retrieve unique IDs of all hardware and resources. Then record all this in story files. These files remember when a resource was first and last seen in a server. %prep %setup %build make BUILD_SVNVER=REV %install if [ "$RPM_BUILD_ROOT" != "" ] ; then rm -rf $RPM_BUILD_ROOT fi mkdir -p $RPM_BUILD_ROOT/usr/sbin export RPM_BUILD_ROOT make install %files %defattr(-,root,root) /usr/sbin/logstory /usr/sbin/logstory-scan /usr/sbin/logstory-scanservers /usr/sbin/netmap /usr/sbin/logstory-scanswitches %clean if [ "$RPM_BUILD_ROOT" != "" ] ; then rm -rf $RPM_BUILD_ROOT fi %post %postun %pre %preun