Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
tools
>
inventory-system
> inventory-system.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File inventory-system.spec of Package inventory-system (Revision 15)
Currently displaying revision
15
,
show latest
%define pkgname client Name: inventory-system Release: 0 Version: 0.0.1 Url: http://www.linux-administrator.com/ License: GPLv2 Group: System Summary: System inventory client Source0: %{pkgname}-%{version}.tar.bz2 Source1: %{name}.conf BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: virt-what Requires: lshw %if 0%{?suse_version} Requires: pmtools %else Requires: dmidecode %endif Requires: lsb-release Requires: coreutils Requires: curl Requires: ethtool Requires: grep Requires: sed Requires: awk Requires: util-linux Requires: net-tools %description Systme inventory reporting tool. It uses various tools to detect system information and hardware, virtualization type, serial and so on. %prep %setup -n %{pkgname}-%{version} %build %install %__install -D -m755 %{name}.sh %{buildroot}%{_sbindir}/%{name} %__install -D -m755 cron.daily %{buildroot}%{_sysconfdir}/cron.daily/inventorysystem %__install -D -m644 %{S:1} %{buildroot}%{_sysconfdir}/%{name}.conf %clean rm -rf %{buildroot} %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/%{name}.conf %{_sysconfdir}/cron.daily/inventorysystem %{_sbindir}/%{name} %changelog