rpms/perl-Nagios-NSCA/F-12 perl-Nagios-NSCA.spec, NONE, 1.1 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: stevetraylen

Update of /cvs/pkgs/rpms/perl-Nagios-NSCA/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21431/F-12

Modified Files:
	sources 
Added Files:
	perl-Nagios-NSCA.spec 
Log Message:
rhbz#524896 for the old branchs.



--- NEW FILE perl-Nagios-NSCA.spec ---
Name:           perl-Nagios-NSCA
Version:        0.1
Release:        3%{?dist}
Summary:        Nagios::NSCA Perl module
License:        GPL+ 
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Nagios-NSCA/
Source0:        http://www.cpan.org/modules/by-module/Nagios/Nagios-NSCA-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(Digest::CRC)
BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Nagios::NSCA Perl module

%prep
%setup -q -n Nagios-NSCA-%{version}
# Move the lib to the lib dir.
# http://rt.cpan.org/Public/Bug/Display.html?id=43183
mkdir lib
mv Nagios lib/.

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
# Use this file as a doc example.
chmod 644 bin/send_nsca

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
# rm from bin and include as doc as an example.
# To confusing given the "real" /usr/sbin/send_nsca
# Make it a doc instead
rm -f $RPM_BUILD_ROOT/%{_bindir}/send_nsca

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc bin/send_nsca
%{perl_vendorlib}/*

%changelog
* Tue Oct 6  2009 Steve Traylen <steve.traylen@xxxxxxx> - 0.1-3
- Install send_nsca as a doc example only.

* Tue Sep 29 2009 Steve Traylen <steve.traylen@xxxxxxx> - 0.1-2
- Correct license to GPL+

* Tue Sep 22 2009 Steve Traylen <steve.traylen@xxxxxxx> - 0.1-1
- Specfile autogenerated by cpanspec 1.78.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Nagios-NSCA/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	26 Oct 2009 20:05:45 -0000	1.1
+++ sources	26 Oct 2009 22:05:31 -0000	1.2
@@ -0,0 +1 @@
+58da3f36e0fc34a7db73e467de7f36f2  Nagios-NSCA-0.1.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux