From 162bf7ae90f4a6af73bbd22f9cb8f0b6a331c9b6dd41f9250b29cb2034b4425f Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Sun, 23 Oct 2011 21:50:11 +0000 Subject: [PATCH] 0.2.1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Monitor-Simple?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + Monitor-Simple-0.2.1.tar.gz | 3 + perl-Monitor-Simple.changes | 5 ++ perl-Monitor-Simple.spec | 130 ++++++++++++++++++++++++++++++++++++ 5 files changed, 162 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Monitor-Simple-0.2.1.tar.gz create mode 100644 perl-Monitor-Simple.changes create mode 100644 perl-Monitor-Simple.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Monitor-Simple-0.2.1.tar.gz b/Monitor-Simple-0.2.1.tar.gz new file mode 100644 index 0000000..a9cb759 --- /dev/null +++ b/Monitor-Simple-0.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c04ab8516733eb8780f6a3dae655ed70260ab1c62fd432848af9836738db4ba +size 59428 diff --git a/perl-Monitor-Simple.changes b/perl-Monitor-Simple.changes new file mode 100644 index 0000000..c323ec6 --- /dev/null +++ b/perl-Monitor-Simple.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun Oct 23 21:51:50 CET 2011 - pascal.bleser@opensuse.org + +- initial version (0.2.1) + diff --git a/perl-Monitor-Simple.spec b/perl-Monitor-Simple.spec new file mode 100644 index 0000000..f29d134 --- /dev/null +++ b/perl-Monitor-Simple.spec @@ -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* +(). 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