Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lijews:zabkaoS_112
Ocsinventory-Unix-Agent
Ocsinventory-Unix-Agent.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Ocsinventory-Unix-Agent.spec of Package Ocsinventory-Unix-Agent
%define realname Ocsinventory-Unix-Agent %define minorver 2.0 %define realver 2.0.5 %define srcext tar.gz # Common info Name: %{realname} Version: 2.1 Release: rc1 License: GPL Group: Hardware/Other URL: http://www.ocsinventory-ng.org/ Summary: Agent for ocsinventory NG # Install-time parameters Requires: perl dmidecode pciutils Requires: smartmontools mpt-status ipmitool %if 0%{?suse_version} Requires: read-edid %else Requires: monitor-edid %endif Requires: perl(XML::Simple) perl(Compress::Zlib) perl(Net::IP) Requires: perl(LWP::UserAgent) perl(Digest::MD5) perl(Net::SSLeay) perl(Crypt::SSLeay) # Build-time parameters BuildRequires: perl dmidecode pciutils BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(XML::Simple) perl(Compress::Zlib) perl(Net::IP) BuildRequires: perl(LWP::UserAgent) perl(Digest::MD5) perl(Net::SSLeay) perl(Crypt::SSLeay) BuildRoot: %{_tmppath}/%{name}-root #Source: https://launchpad.net/ocsinventory-unix-agent/stable-%{minorver}/%{realver}/+download/%{realname}-%{realver}%{?extraver}.%{srcext} Source: Ocsinventory-Unix-Agent-2.1rc1.tar.gz %description Ocsinventory-Agent is an agent for ocsinventory NG. # Preparation step (unpackung and patching if necessary) %prep #%setup -q -n %{realname}-%{realver}%{?extraver} %setup -n %{realname}-%{version}%{release} %build export PATH=${PATH}:/sbin:/usr/sbin export PERL_AUTOINSTALL=1 %__perl Makefile.PL INSTALLDIRS=vendor %__make %{?_smp_mflags} %install %__make install DESTDIR=%{buildroot} %__install -d -m755 %{buildroot}%{_sysconfdir}/ocsinventory %__install -d -m755 %{buildroot}%{_localstatedir}/lib/ocsinventory cat >> %{buildroot}%{_sysconfdir}/ocsinventory/ocsinventory-agent.cfg <<EOF basevardir=/var/lib/ocsinventory server=http://ocsinventory-ng/ocsinventory EOF %__install -m644 etc/ocsinventory-agent/modules.conf %{buildroot}%{_sysconfdir}/ocsinventory/modules.conf %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS LICENSE README THANKS %config(noreplace) %attr(0600,root,root) %{_sysconfdir}/ocsinventory/ocsinventory-agent.cfg %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/ocsinventory/modules.conf %{_bindir}/* %dir %{_sysconfdir}/ocsinventory %dir %{_localstatedir}/lib/ocsinventory %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/IpDiscover %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/AIX %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/BSD/Archs %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/BSD %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Generic/Dmidecode %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Generic/Lspci %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Generic/Packaging %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Generic/Printers %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Generic %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/HPUX %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/ARM %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/Alpha %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/MIPS %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/PowerPC %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/SPARC %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/i386 %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/m68k %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Distro %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Network %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Storages %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/MacOS %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Solaris %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/Virtualization/Xen %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend/Virtualization %dir %{perl_vendorlib}/Ocsinventory/Agent/Backend %dir %{perl_vendorlib}/Ocsinventory/Agent/Modules/Snmp %dir %{perl_vendorlib}/Ocsinventory/Agent/Modules %dir %{perl_vendorlib}/Ocsinventory/Agent/XML/Response %dir %{perl_vendorlib}/Ocsinventory/Agent/XML %dir %{perl_vendorlib}/Ocsinventory/Agent %dir %{perl_vendorlib}/Ocsinventory/LoggerBackend %dir %{perl_vendorlib}/Ocsinventory/Unix %dir %{perl_vendorlib}/Ocsinventory %{perl_vendorlib}/Ocsinventory/Agent/Backend/IpDiscover/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/AIX/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/BSD/Archs/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/BSD/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Generic/Dmidecode/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Generic/Lspci/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Generic/Packaging/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Generic/Printers/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Generic/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/HPUX/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/HPUX/README %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/ARM/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/Alpha/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/MIPS/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/PowerPC/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/SPARC/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/i386/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/m68k/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Archs/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Distro/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Network/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/Storages/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Linux/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/MacOS/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Solaris/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/Virtualization/Xen/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/Virtualization/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Backend/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Modules/Snmp/*.pm %{perl_vendorlib}/Ocsinventory/Agent/Modules/*.pm %{perl_vendorlib}/Ocsinventory/Agent/XML/Response/*.pm %{perl_vendorlib}/Ocsinventory/Agent/XML/*.pm %{perl_vendorlib}/Ocsinventory/Agent/*.pm %{perl_vendorlib}/Ocsinventory/LoggerBackend/*.pm %{perl_vendorlib}/Ocsinventory/Unix/postinst.pl %{perl_vendorlib}/Ocsinventory/*.pm %doc %{_mandir}/man1/* %doc %{_mandir}/man3/* %exclude %{perl_archlib}/perllocal.pod %exclude %{perl_vendorarch}/auto/Ocsinventory/Unix/Agent/.packlist %preun %__rm -rf %{_localstatedir}/lib/ocsinventory/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor