Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
icli
> icli.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File icli.spec of Package icli (Revision 10)
Currently displaying revision
10
,
show latest
Name: icli Version: 0.42 Release: 1 Url: http://derf.homelinux.org/projects/icinga-cli/ Summary: Icinga cli Group: Application/System License: WTFPL Source0: http://derf.homelinux.org/projects/icinga-cli/icli-%{version}.tar.bz2 Patch0: %{name}-%{version}.patch BuildRequires: perl(Module::Build) perl-TimeDate perl-autodie BuildRequires: perl(Term::Size) BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch Requires: perl-autodie Requires: perl(Term::Size) %description Command line interface to icinga. %prep %setup -n %{name}-%{version} %patch0 %build #perl Build.PL INSTALLDIRS=vendor destdir=%{buildroot} #./Build %{__perl} Build.PL destdir=%{buildroot} INSTALLDIRS=vendor \ INSTALLSCRIPT=%{_prefix} \ INSTALLVENDORSCRIPT=%{_prefix} ./Build %install ./Build destdir=%{buildroot} INSTALLDIRS=vendor \ INSTALLSCRIPT=%{_prefix} \ INSTALLVENDORSCRIPT=%{_prefix} install find %{buildroot} -name \*.orig\* -exec rm {} \; sed -i s@"%PERLVENDORLIB%"@"%{perl_vendorlib}"@g %{buildroot}%{_bindir}/%{name} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/icli %{_mandir}/man1/icli.1* %changelog