Pascal Bleser
2011-10-23 21:50:11 +00:00
committed by Git OBS Bridge
commit 162bf7ae90
5 changed files with 162 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c04ab8516733eb8780f6a3dae655ed70260ab1c62fd432848af9836738db4ba
size 59428

View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sun Oct 23 21:51:50 CET 2011 - pascal.bleser@opensuse.org
- initial version (0.2.1)

130
perl-Monitor-Simple.spec Normal file
View File

@@ -0,0 +1,130 @@
#
# spec file for package perl-Monitor-Simple
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Monitor-Simple
Version: 0.2.1
Release: 0
Summary: Perl Module for Simple Monitoring of Applications and Services
Source: http://search.cpan.org/CPAN/authors/id/T/TU/TULSOFT/Monitor-Simple-%{version}.tar.gz
Url: http://search.cpan.org/dist/Monitor-Simple
Group: Development/Libraries/Perl
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(Test::More)
BuildRequires: perl(FindBin)
BuildRequires: perl(File::Slurp)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(Parallel::ForkManager)
BuildRequires: perl(Pod::Usage)
BuildRequires: perl(IO::CaptureOutput)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Fcntl)
BuildRequires: perl(XML::Simple)
BuildRequires: perl(Getopt::Long) >= 2.38
BuildRequires: perl(warnings)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Time::HiRes)
BuildRequires: perl(constant)
BuildRequires: perl(Carp)
BuildRequires: perl(strict)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(File::Temp)
BuildRequires: perl(File::Basename)
BuildRequires: perl(Log::Log4perl)
Requires: perl(Parallel::ForkManager)
Requires: perl(Pod::Usage)
Requires: perl(IO::CaptureOutput)
Requires: perl(File::Spec)
Requires: perl(Fcntl)
Requires: perl(XML::Simple)
Requires: perl(Getopt::Long) >= 2.38
Requires: perl(warnings)
Requires: perl(Data::Dumper)
Requires: perl(Time::HiRes)
Requires: perl(constant)
Requires: perl(Carp)
Requires: perl(strict)
Requires: perl(LWP::UserAgent)
Requires: perl(File::Temp)
Requires: perl(File::Basename)
Requires: perl(Log::Log4perl)
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
Recommends: smonitor = %{version}-%{release}
%description
The Monitor::Simple allows simple monitoring of applications and services
of your IT infrastructure. There are many such tools, some of them very
complex and sophisticated. For example, one widely used is *Nagios*
(<http://www.nagios.org/>). The Monitor::Simple does not aim, as its
name indicates, for all features provided by those tools. It allows,
however, to check whether your applications and services are running
correctly. Its simple command-line interface can be used in cron jobs and
reports can be viewed as a single HTML or text page.
%package -n smonitor
Summary: Simple Monitoring of Applications and Services
Group: System/Monitoring
Requires: %{name} = %{version}-%{release}
%description -n smonitor
smonitor allows simple monitoring of applications and services of your IT
infrastructure.
%prep
%setup -q -n "Monitor-Simple-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?_smp_flags}
%install
%perl_make_install
%perl_process_packlist
# currently disabled, unstable tests:
%if 0
%check
%__make test
%endif
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc LICENSE README
%dir %{perl_vendorlib}/Monitor
%{perl_vendorlib}/Monitor/Simple.pm
%{perl_vendorlib}/Monitor/Simple
%doc %{perl_man3dir}/Monitor::Simple.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Monitor::Simple::*.%{perl_man3ext}%{ext_man}
%files -n smonitor
%defattr(-,root,root)
%{_bindir}/smonitor
%doc %{_mandir}/man1/smonitor.1*
%changelog