# Authority: vip-ire # Name: Daniel Berteaud Summary: Open Computer and Software Inventory Next Generation (SME Server integration) %define name smeserver-ocsinventory Name: %{name} %define version 0.1 %define release 4 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Applications/Internet Source: %{name}-%{version}.tar.gz Patch1: smeserver-ocsinventory-0.1-modPerl2.patch Patch2: smeserver-ocsinventory-0.1-db_config_path.patch Patch3: smeserver-ocsinventory-0.1-templates2expand.patch Patch4: smeserver-ocsinventory-0.1-panel.patch Patch5: smeserver-ocsinventory-0.1-expand_mysql_fragment.patch URL: http://sme.firewall-services.com BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: e-smith-devtools Requires: e-smith-release >= 7.0 Requires: ocsinventory-server Requires: ocsinventory-reports %description Open Computer and Software Inventory Next Generation is an application designed to help a network or system administrator keep track of the computers configuration and software that are installed on the network. OCS Inventory is also able to detect all active devices on your network, such as switch, router, network printer and unattended devices. OCS Inventory NG includes package deployment feature on client computers %changelog * Tue Dec 09 2008 Daniel B. 0.1-4 - Add a link in the server-manager - expand mysql fragment during ocs-update event * Tue Oct 21 2008 Daniel B. 0.1-3 - correct templates2expand for ocs-update event * Wed Oct 17 2008 Daniel B. 0.1-2 - Compatibility with mod_perl 2 - Change config path * Thu Sep 10 2008 Daniel B. 0.1-0 - Initial RPM %prep %setup %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %build /usr/bin/perl createlinks %install /bin/rm -rf $RPM_BUILD_ROOT (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist %defattr(-, root, root, -) %clean rm -rf $RPM_BUILD_ROOT