[svn] r5956 - in trunk/rpms: . dkms nagios perl-Net-SCP-Expect

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Sat Nov 3 15:14:26 CET 2007


Author: dag
Date: 2007-11-03 15:14:23 +0100 (Sat, 03 Nov 2007)
New Revision: 5956

Added:
   trunk/rpms/perl-Net-SCP-Expect/
   trunk/rpms/perl-Net-SCP-Expect/perl-Net-SCP-Expect.spec
Modified:
   trunk/rpms/dkms/dkms.spec
   trunk/rpms/nagios/nagios.spec
Log:
Updates

Modified: trunk/rpms/dkms/dkms.spec
===================================================================
--- trunk/rpms/dkms/dkms.spec	2007-11-03 11:54:41 UTC (rev 5955)
+++ trunk/rpms/dkms/dkms.spec	2007-11-03 14:14:23 UTC (rev 5956)
@@ -14,7 +14,7 @@
 
 BuildArch: noarch
 Requires: sed, gawk, findutils, modutils, tar, cpio, gzip, grep, mktemp
-Requires: bash > 1.99, kernel-devel
+Requires: bash > 1.99, kernel-devel, gcc
 
 Provides: dkms-minimal
 

Modified: trunk/rpms/nagios/nagios.spec
===================================================================
--- trunk/rpms/nagios/nagios.spec	2007-11-03 11:54:41 UTC (rev 5955)
+++ trunk/rpms/nagios/nagios.spec	2007-11-03 14:14:23 UTC (rev 5956)
@@ -14,7 +14,7 @@
 
 Summary: Open Source host, service and network monitoring program
 Name: nagios
-Version: 2.9
+Version: 2.10
 Release: 1
 License: GPL
 Group: Applications/System
@@ -85,18 +85,14 @@
 %install
 %{__rm} -rf %{buildroot}
 %{__make} install install-init install-commandmode install-config \
-        DESTDIR="%{buildroot}" \
-        INSTALL_OPTS="" \
-        COMMAND_OPTS="" \
-        INIT_OPTS=""
+    DESTDIR="%{buildroot}" \
+    INSTALL_OPTS="" \
+    COMMAND_OPTS="" \
+    INIT_OPTS=""
 
-for file in %{buildroot}%{_sysconfdir}/nagios/*.cfg-sample; do
-	%{__mv} -f $file ${file%%-*}
-done
-
 %{__make} install -C contrib \
-	DESTDIR="%{buildroot}" \
-	INSTALL_OPTS=""
+    DESTDIR="%{buildroot}" \
+    INSTALL_OPTS=""
 
 %{__install} -d -m0755 %{buildroot}%{_libdir}/nagios/plugins/eventhandlers/
 %{__cp} -afpv contrib/eventhandlers/* %{buildroot}%{_libdir}/nagios/plugins/eventhandlers/
@@ -185,6 +181,9 @@
 %{_includedir}/nagios/
 
 %changelog
+* Wed Oct 24 2007 Christoph Maser <cmr at financial.com> - 2.10-1
+- Updated to release 2.10.
+
 * Sun Apr 15 2007 Dag Wieers <dag at wieers.com> - 2.9-1
 - Updated to release 2.9.
 

Added: trunk/rpms/perl-Net-SCP-Expect/perl-Net-SCP-Expect.spec
===================================================================
--- trunk/rpms/perl-Net-SCP-Expect/perl-Net-SCP-Expect.spec	                        (rev 0)
+++ trunk/rpms/perl-Net-SCP-Expect/perl-Net-SCP-Expect.spec	2007-11-03 14:14:23 UTC (rev 5956)
@@ -0,0 +1,58 @@
+# $Id$
+# Authority: dag
+# Upstream: Daniel Berger <djberg96$hotmail,com>
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name Net-SCP-Expect
+
+Summary: Perl module to wrap scp to allow passwords via Expect
+Name: perl-Net-SCP-Expect
+Version: 0.12
+Release: 1
+License: Artistic/GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/Net-SCP-Expect/
+
+Source: http://www.cpan.org/modules/by-module/Net/Net-SCP-Expect-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: perl
+
+%description
+perl-Net-SCP-Expect is a Perl module to wrap scp to allow passwords via Expect.
+
+This package contains the following Perl module:
+
+    Net::SCP::Expect
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} pure_install
+
+### Clean up buildroot
+find %{buildroot} -name .packlist -exec %{__rm} {} \;
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc CHANGES MANIFEST README
+%doc %{_mandir}/man3/Net::SCP::Expect.3pm*
+%dir %{perl_vendorlib}/Net/
+%dir %{perl_vendorlib}/Net/SCP/
+%{perl_vendorlib}/Net/SCP/Expect.pm
+
+%changelog
+* Sat Nov 03 2007 Dag Wieers <dag at wieers.com> - 0.12-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/perl-Net-SCP-Expect/perl-Net-SCP-Expect.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native




More information about the commits mailing list