[svn] r5691 - in trunk/rpms: . libstatgrab perl-Alien-wxWidgets perl-App-CLI perl-File-Temp perl-POE-Component-SNMP perl-PathTools perl-SVK perl-Sys-Virt perl-Test-Distribution perl-Unix-Statgrab postgrey

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Mon Aug 6 01:13:24 CEST 2007


Author: dag
Date: 2007-08-06 01:13:22 +0200 (Mon, 06 Aug 2007)
New Revision: 5691

Added:
   trunk/rpms/libstatgrab/
   trunk/rpms/libstatgrab/libstatgrab-0.14-nochmod.patch
   trunk/rpms/libstatgrab/libstatgrab.spec
   trunk/rpms/perl-Alien-wxWidgets/
   trunk/rpms/perl-Alien-wxWidgets/perl-Alien-wxWidgets.spec
   trunk/rpms/perl-File-Temp/
   trunk/rpms/perl-File-Temp/perl-File-Temp.spec
   trunk/rpms/perl-POE-Component-SNMP/
   trunk/rpms/perl-POE-Component-SNMP/perl-POE-Component-SNMP.spec
   trunk/rpms/perl-PathTools/
   trunk/rpms/perl-PathTools/perl-PathTools.spec
   trunk/rpms/perl-SVK/
   trunk/rpms/perl-SVK/perl-SVK.spec
   trunk/rpms/perl-Sys-Virt/
   trunk/rpms/perl-Sys-Virt/perl-Sys-Virt.spec
   trunk/rpms/perl-Test-Distribution/
   trunk/rpms/perl-Test-Distribution/perl-Test-Distribution.spec
   trunk/rpms/perl-Unix-Statgrab/
   trunk/rpms/perl-Unix-Statgrab/perl-Unix-Statgrab.spec
Modified:
   trunk/rpms/perl-App-CLI/perl-App-CLI.spec
   trunk/rpms/postgrey/postgrey.spec
Log:
Updates

Added: trunk/rpms/libstatgrab/libstatgrab-0.14-nochmod.patch
===================================================================
--- trunk/rpms/libstatgrab/libstatgrab-0.14-nochmod.patch	                        (rev 0)
+++ trunk/rpms/libstatgrab/libstatgrab-0.14-nochmod.patch	2007-08-05 23:13:22 UTC (rev 5691)
@@ -0,0 +1,52 @@
+--- src/statgrab/Makefile.am.old	2005-02-04 19:45:16.384407326 +0100
++++ src/statgrab/Makefile.am	2005-02-04 19:45:23.292225787 +0100
+@@ -19,12 +19,12 @@
+ if STATGRAB
+ if SETGIDBINS
+ # Some operating systems need the binary to be setgid kmem
+-	chgrp kmem $(DESTDIR)@bindir@/statgrab
+-	chmod g+s $(DESTDIR)@bindir@/statgrab
++	chgrp kmem $(DESTDIR)@bindir@/statgrab || true
++	chmod g+s $(DESTDIR)@bindir@/statgrab || true
+ endif
+ if SETUIDBINS
+ # Some operating systems need the binary to be setuid root
+-	chown root $(DESTDIR)@bindir@/statgrab
++	chown root $(DESTDIR)@bindir@/statgrab || true
+ 	chmod u+s $(DESTDIR)@bindir@/statgrab
+ endif
+ endif
+--- src/statgrab/Makefile.in.old	2005-02-04 19:56:55.352716673 +0100
++++ src/statgrab/Makefile.in	2005-02-04 19:57:31.010601483 +0100
+@@ -507,10 +507,10 @@
+ 
+ install-exec-local:
+ # Some operating systems need the binary to be setgid kmem
+- at SETGIDBINS_TRUE@@STATGRAB_TRUE@	chgrp kmem $(DESTDIR)@bindir@/statgrab
+- at SETGIDBINS_TRUE@@STATGRAB_TRUE@	chmod g+s $(DESTDIR)@bindir@/statgrab
++ at SETGIDBINS_TRUE@@STATGRAB_TRUE@	chgrp kmem $(DESTDIR)@bindir@/statgrab || true
++ at SETGIDBINS_TRUE@@STATGRAB_TRUE@	chmod g+s $(DESTDIR)@bindir@/statgrab || true
+ # Some operating systems need the binary to be setuid root
+- at SETUIDBINS_TRUE@@STATGRAB_TRUE@	chown root $(DESTDIR)@bindir@/statgrab
++ at SETUIDBINS_TRUE@@STATGRAB_TRUE@	chown root $(DESTDIR)@bindir@/statgrab || true
+ @SETUIDBINS_TRUE@@STATGRAB_TRUE@	chmod u+s $(DESTDIR)@bindir@/statgrab
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+--- src/saidar/Makefile.in.old	2005-02-04 20:34:08.108193091 +0100
++++ src/saidar/Makefile.in	2005-02-04 20:34:34.550848428 +0100
+@@ -474,11 +474,11 @@
+ 
+ install-exec-local:
+ # Some operating systems need the binary to be setgid kmem
+- at SAIDAR_TRUE@@SETGIDBINS_TRUE@	chgrp kmem $(DESTDIR)@bindir@/saidar
+- at SAIDAR_TRUE@@SETGIDBINS_TRUE@	chmod g+s $(DESTDIR)@bindir@/saidar
++ at SAIDAR_TRUE@@SETGIDBINS_TRUE@	chgrp kmem $(DESTDIR)@bindir@/saidar || true
++ at SAIDAR_TRUE@@SETGIDBINS_TRUE@	chmod g+s $(DESTDIR)@bindir@/saidar || true
+ # Some operating systems need the binary to be setuid root
+- at SAIDAR_TRUE@@SETUIDBINS_TRUE@	chown root $(DESTDIR)@bindir@/saidar
+- at SAIDAR_TRUE@@SETUIDBINS_TRUE@	chmod u+s $(DESTDIR)@bindir@/saidar
++ at SAIDAR_TRUE@@SETUIDBINS_TRUE@	chown root $(DESTDIR)@bindir@/saidar || true
++ at SAIDAR_TRUE@@SETUIDBINS_TRUE@	chmod u+s $(DESTDIR)@bindir@/saidar || true
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:

Added: trunk/rpms/libstatgrab/libstatgrab.spec
===================================================================
--- trunk/rpms/libstatgrab/libstatgrab.spec	                        (rev 0)
+++ trunk/rpms/libstatgrab/libstatgrab.spec	2007-08-05 23:13:22 UTC (rev 5691)
@@ -0,0 +1,144 @@
+# $Id$
+# Authority: dag
+
+Summary: Make system statistics
+Name: libstatgrab
+Version: 0.15
+Release: 1
+License: LGPL
+Group: System Environment/Libraries
+URL: http://www.i-scream.org/libstatgrab/
+
+Source: http://ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-%{version}.tar.gz
+Patch: libstatgrab-0.14-nochmod.patch
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: libtool, ncurses-devel
+
+%description
+Libstatgrab is a library that provides cross platform access to statistics
+about the system on which it's run. It's written in C and presents a selection
+of useful interfaces which can be used to access key system statistics. The
+current list of statistics includes CPU usage, memory utilisation, disk usage,
+process counts, network traffic, disk I/O, and more. 
+
+The current list of platforms is Solaris 2.x, Linux, and FreeBSD 4.x/5.x.
+The aim is to extend this to include as many operating systems as possible. 
+
+The package also includes a couple of useful tools. The first, saidar,
+provides a curses-based interface to viewing the current state of the 
+system. The second, statgrab, gives a sysctl-style interface to the
+statistics gathered by libstatgrab. This extends the use of libstatgrab
+to people writing scripts or anything else that can't easily make C 
+function calls. Included with statgrab is a script to generate an MRTG
+configuration file to use statgrab. 
+
+%package -n statgrab-tools
+Summary: Tools from libstatgrab to monitoring the system
+Group: Applications/System
+
+%description -n statgrab-tools
+This package contains a few tools shiped with libstatgrab.
+Eg. A tool called saidar, which shows various system
+information like top, but - of course - OTHER informations.
+
+%package devel
+Summary: Header files, libraries and development documentation for %{name}.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+This package contains the header files, static libraries and development
+documentation for %{name}. If you like to develop programs using %{name},
+you will need to install %{name}-devel.
+
+%package examples
+Summary: The example files from %{name}
+Group: Development/Tools
+Requires: %{name} = %{version}-%{release}
+
+%description examples
+This package contains various examples used to show how
+to develop libstatgrab based applications.
+
+%prep
+%setup
+%patch0 -p0
+
+%build
+%configure --with-ncurses
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+cd examples/.libs
+%{__install} -Dp -m0755 cpu_usage %{buildroot}%{_bindir}/cpu_usage
+%{__install} -Dp -m0755 disk_traffic %{buildroot}%{_bindir}/disk_traffic
+%{__install} -Dp -m0755 load_stats %{buildroot}%{_bindir}/load_stats
+%{__install} -Dp -m0755 network_iface_stats %{buildroot}%{_bindir}/network_iface_stats
+%{__install} -Dp -m0755 network_traffic %{buildroot}%{_bindir}/network_traffic
+%{__install} -Dp -m0755 os_info %{buildroot}%{_bindir}/os_info
+%{__install} -Dp -m0755 page_stats %{buildroot}%{_bindir}/page_stats
+%{__install} -Dp -m0755 process_snapshot %{buildroot}%{_bindir}/process_snapshot
+%{__install} -Dp -m0755 process_stats %{buildroot}%{_bindir}/process_stats
+%{__install} -Dp -m0755 user_list %{buildroot}%{_bindir}/user_list
+%{__install} -Dp -m0755 vm_stats %{buildroot}%{_bindir}/vm_stats
+cd -
+
+### Clean up buildroot
+%{__chmod} 0755 %{buildroot}%{_bindir}/*
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -n statgrab-tools
+%defattr(-, root, root, 0755)
+%doc COPYING
+%doc %{_mandir}/man1/saidar.1*
+%doc %{_mandir}/man1/statgrab.1*
+%doc %{_mandir}/man1/statgrab-make-mrtg-config.1*
+%doc %{_mandir}/man1/statgrab-make-mrtg-index.1*
+%doc %{_mandir}/man3/statgrab.3*
+%{_bindir}/saidar
+%{_bindir}/statgrab
+%{_bindir}/statgrab-make-mrtg-config
+%{_bindir}/statgrab-make-mrtg-index
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYING INSTALL NEWS README examples/*.c
+%{_libdir}/libstatgrab.so.*
+
+%files devel
+%defattr(-, root, root, 0755)
+%doc %{_mandir}/man3/sg_get_*.3*
+%{_includedir}/statgrab.h
+%{_includedir}/statgrab_deprecated.h
+%{_libdir}/libstatgrab.so
+%{_libdir}/pkgconfig/libstatgrab.pc
+%exclude %{_libdir}/libstatgrab.a
+%exclude %{_libdir}/libstatgrab.la
+
+%files examples
+%defattr(-, root, root, 0755)
+%{_bindir}/cpu_usage
+%{_bindir}/disk_traffic
+%{_bindir}/load_stats
+%{_bindir}/network_iface_stats
+%{_bindir}/network_traffic
+%{_bindir}/os_info
+%{_bindir}/page_stats
+%{_bindir}/process_snapshot
+%{_bindir}/process_stats
+%{_bindir}/user_list
+%{_bindir}/vm_stats
+
+%changelog
+* Mon Aug 06 2007 Dag Wieers <dag at wieers.com> - 0.15-1
+- Initial package. (based on Fedora Extras)


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

Added: trunk/rpms/perl-Alien-wxWidgets/perl-Alien-wxWidgets.spec
===================================================================
--- trunk/rpms/perl-Alien-wxWidgets/perl-Alien-wxWidgets.spec	                        (rev 0)
+++ trunk/rpms/perl-Alien-wxWidgets/perl-Alien-wxWidgets.spec	2007-08-05 23:13:22 UTC (rev 5691)
@@ -0,0 +1,56 @@
+# $Id$
+# Authority: dag
+# Upstream: Mattia Barbon <mbarbon$cpan,org>
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name Alien-wxWidgets
+
+Summary: building, finding and using wxWidgets binaries
+Name: perl-Alien-wxWidgets
+Version: 0.31
+Release: 1
+License: Artistic/GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/Alien-wxWidgets/
+
+Source: http://www.cpan.org/modules/by-module/Alien/Alien-wxWidgets-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: perl >= 0:5.006 
+BuildRequires: perl(Module::Build) >= 0.26
+
+%description
+building, finding and using wxWidgets binaries.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}" </dev/null
+%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install
+
+### Clean up buildroot
+find %{buildroot} -name .packlist -exec %{__rm} {} \;
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc Changes MANIFEST MANIFEST.SKIP META.yml README.txt
+%doc %{_mandir}/man3/Alien::wxWidgets.3pm*
+%doc %{_mandir}/man3/Alien::wxWidgets::Utility.3pm*
+%doc %{_mandir}/man3/*.3pm*
+%dir %{perl_vendorarch}/Alien/
+%{perl_vendorarch}/Alien/wxWidgets.pm
+%{perl_vendorarch}/Alien/wxWidgets/
+
+%changelog
+* Mon Aug 06 2007 Dag Wieers <dag at wieers.com> - 0.31-1
+- Initial package. (using DAR)


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

Modified: trunk/rpms/perl-App-CLI/perl-App-CLI.spec
===================================================================
--- trunk/rpms/perl-App-CLI/perl-App-CLI.spec	2007-08-05 21:57:34 UTC (rev 5690)
+++ trunk/rpms/perl-App-CLI/perl-App-CLI.spec	2007-08-05 23:13:22 UTC (rev 5691)
@@ -19,7 +19,9 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildArch: noarch
-BuildRequires: perl, perl(Getopt::Long) >= 2.35
+BuildRequires: perl(Locale::Maketext::Simple)
+BuildRequires: perl(Getopt::Long) >= 2.35
+BuildRequires: perl(Pod::Simple::Text)
 
 %description
 Dispatcher module for command line interface programs.

Added: trunk/rpms/perl-File-Temp/perl-File-Temp.spec
===================================================================
--- trunk/rpms/perl-File-Temp/perl-File-Temp.spec	                        (rev 0)
+++ trunk/rpms/perl-File-Temp/perl-File-Temp.spec	2007-08-05 23:13:22 UTC (rev 5691)
@@ -0,0 +1,54 @@
+# $Id$
+# Authority: dag
+# Upstream: Tim Jenness <t,jenness$jach,hawaii,edu>
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name File-Temp
+
+Summary: Perl module that returns name and handle of a temporary file safely
+Name: perl-File-Temp
+Version: 0.18
+Release: 1
+License: Artistic/GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/File-Temp/
+
+Source: http://www.cpan.org/modules/by-module/File/File-Temp-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: perl
+
+%description
+perl-File-Temp is a Perl module that returns name and handle
+of a temporary file safely.
+
+%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 ChangeLog MANIFEST META.yml README
+%doc %{_mandir}/man3/File::Temp.3pm*
+%dir %{perl_vendorlib}/File/
+%{perl_vendorlib}/File/Temp.pm
+
+%changelog
+* Mon Aug 06 2007 Dag Wieers <dag at wieers.com> - 0.18-1
+- Initial package. (using DAR)


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

Added: trunk/rpms/perl-POE-Component-SNMP/perl-POE-Component-SNMP.spec
===================================================================
--- trunk/rpms/perl-POE-Component-SNMP/perl-POE-Component-SNMP.spec	                        (rev 0)
+++ trunk/rpms/perl-POE-Component-SNMP/perl-POE-Component-SNMP.spec	2007-08-05 23:13:22 UTC (rev 5691)
@@ -0,0 +1,58 @@
+# $Id$
+# Authority: dag
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name POE-Component-SNMP
+
+Summary: Perl module that implements a POE interface to Net::SNMP
+Name: perl-POE-Component-SNMP
+Version: 1.07
+Release: 1
+License: Artistic/GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/POE-Component-SNMP/
+
+Source: http://www.cpan.org/modules/by-module/POE/POE-Component-SNMP-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: perl
+
+%description
+perl-POE-Component-SNMP is a Perl module that implements a POE interface
+to Net::SNMP.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+echo | %{__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 up docs
+find eg/ -type f -exec %{__chmod} a-x {} \;
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc Changes MANIFEST MANIFEST.SKIP META.yml NOTES README TODO eg/
+%doc %{_mandir}/man3/POE::Component::SNMP.3pm*
+%dir %{perl_vendorlib}/POE/
+%dir %{perl_vendorlib}/POE/Component/
+%{perl_vendorlib}/POE/Component/SNMP/
+%{perl_vendorlib}/POE/Component/SNMP.pm
+
+%changelog
+* Mon Aug 06 2007 Dag Wieers <dag at wieers.com> - 1.07-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/perl-POE-Component-SNMP/perl-POE-Component-SNMP.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/rpms/perl-PathTools/perl-PathTools.spec
===================================================================
--- trunk/rpms/perl-PathTools/perl-PathTools.spec	                        (rev 0)
+++ trunk/rpms/perl-PathTools/perl-PathTools.spec	2007-08-05 23:13:22 UTC (rev 5691)
@@ -0,0 +1,61 @@
+# $Id$
+# Authority: dag
+# Upstream: Ken Williams <KWILLIAMS$cpan,org>
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name PathTools
+%define real_version 3.25
+
+Summary: Tools for working with paths and file specs across platforms
+Name: perl-PathTools
+Version: 3.25
+Release: 1
+License: Artistic/GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/PathTools/
+
+Source: http://www.cpan.org/modules/by-module/File/PathTools-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: perl >= 0:5.005 
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(File::Path)
+BuildRequires: perl(ExtUtils::CBuilder)
+BuildRequires: perl(Test)
+BuildRequires: perl(Module::Build) >= 0.19
+
+%description
+Tools for working with paths and file specs across platforms.
+
+%prep
+%setup -n PathTools-%{version}
+
+%build
+CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
+%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
+
+%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 INSTALL MANIFEST META.yml SIGNATURE
+%doc %{_mandir}/man3/*.3pm*
+%dir %{perl_vendorarch}/File/
+%{perl_vendorarch}/Cwd.pm
+%{perl_vendorarch}/File/Spec.pm
+%{perl_vendorarch}/File/Spec/
+%{perl_vendorarch}/auto/Cwd/
+
+%changelog
+* Mon Aug 06 2007 Dag Wieers <dag at wieers.com> - 3.25-1
+- Initial package. (using DAR)


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

Added: trunk/rpms/perl-SVK/perl-SVK.spec
===================================================================
--- trunk/rpms/perl-SVK/perl-SVK.spec	                        (rev 0)
+++ trunk/rpms/perl-SVK/perl-SVK.spec	2007-08-05 23:13:22 UTC (rev 5691)
@@ -0,0 +1,86 @@
+# $Id$
+# Authority: dag
+# Upstream: Chia-liang Kao (高嘉良) <clkao$clkao,org>
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name SVK
+%define real_version 2.000002
+
+Summary: Perl module that implements a distributed version control system (VCS)
+Name: perl-SVK
+Version: 2.0.2
+Release: 1
+License: Artistic/GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/SVK/
+
+Source: http://www.cpan.org/authors/id/C/CL/CLKAO/SVK-v%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(Test::More) >= 0.42
+BuildRequires: perl(version) >= 0.68
+BuildRequires: perl(Algorithm::Annotate)
+BuildRequires: perl(Algorithm::Diff) >= 1.1901
+BuildRequires: perl(YAML::Syck) >= 0.60
+BuildRequires: perl(Data::Hierarchy) >= 0.30
+BuildRequires: perl(PerlIO::via::dynamic) >= 0.11
+BuildRequires: perl(PerlIO::via::symlink) >= 0.02
+BuildRequires: perl(IO::Digest)
+BuildRequires: perl(SVN::Simple::Edit) >= 0.27
+BuildRequires: perl(URI)
+BuildRequires: perl(PerlIO::eol) >= 0.13
+BuildRequires: perl(Class::Autouse) >= 1.15
+BuildRequires: perl(App::CLI)
+BuildRequires: perl(List::MoreUtils)
+BuildRequires: perl(Class::Accessor::Fast)
+BuildRequires: perl(Class::Data::Inheritable)
+BuildRequires: perl(Path::Class) >= 0.16
+BuildRequires: perl(UNIVERSAL::require)
+BuildRequires: perl(Term::ReadKey)
+BuildRequires: perl(Time::HiRes)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(Encode) >= 2.10
+BuildRequires: perl(Getopt::Long) >= 2.35
+BuildRequires: perl(Pod::Escapes)
+BuildRequires: perl(Pod::Simple)
+BuildRequires: perl(File::Spec) >= 3.19
+
+%description
+perl-SVK is a Perl module that implements a distributed
+version control system (VCS).
+
+%prep
+%setup -n %{real_name}-v%{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 up docs
+find contrib/ -type f -exec %{__chmod} a-x {} \;
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc ARTISTIC CHANGES CHANGES-1.0 COPYING MANIFEST MANIFEST.SKIP META.yml README SIGNATURE contrib/
+%doc %{_mandir}/man3/SVK.3pm*
+#%doc %{_mandir}/man3/*.3pm*
+#%{perl_vendorlib}/SVK/
+%{perl_vendorlib}/SVK.pm
+
+%changelog
+* Mon Aug 06 2007 Dag Wieers <dag at wieers.com> - 2.0.2-1
+- Initial package. (using DAR)


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

Added: trunk/rpms/perl-Sys-Virt/perl-Sys-Virt.spec
===================================================================
--- trunk/rpms/perl-Sys-Virt/perl-Sys-Virt.spec	                        (rev 0)
+++ trunk/rpms/perl-Sys-Virt/perl-Sys-Virt.spec	2007-08-05 23:13:22 UTC (rev 5691)
@@ -0,0 +1,60 @@
+# $Id$
+# Authority: dag
+# Upstream: Daniel P. Berrangé <dan$berrange,com>
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name Sys-Virt
+%define real_version 0.001001
+
+Summary: Perl module to represent and manage a libvirt hypervisor connection
+Name: perl-Sys-Virt
+Version: 0.1.1
+Release: 1
+License: Artistic/GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/Sys-Virt/
+
+Source: http://www.cpan.org/modules/by-module/Sys/Sys-Virt-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: perl, xen-libs-devel
+
+%description
+perl-Sys-Virt is a Perl module to represent and manage
+a libvirt hypervisor connection.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
+%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} pure_install
+
+### Clean up buildroot
+find %{buildroot} -name .packlist -exec %{__rm} {} \;
+
+### Clean up docs
+find examples/ -type f -exec %{__chmod} a-x {} \;
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS CHANGES INSTALL LICENSE MANIFEST MANIFEST.SKIP META.yml README examples/
+%doc %{_mandir}/man3/Sys::Virt.3pm*
+#%doc %{_mandir}/man3/*.3pm*
+%dir %{perl_vendorarch}/Sys/
+%{perl_vendorarch}/Sys/Virt.pm
+%dir %{perl_vendorarch}/auto/Sys/
+%{perl_vendorarch}/auto/Sys/Virt/
+
+%changelog
+* Mon Aug 06 2007 Dag Wieers <dag at wieers.com> - 0.1.1-1
+- Initial package. (using DAR)


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

Added: trunk/rpms/perl-Test-Distribution/perl-Test-Distribution.spec
===================================================================
--- trunk/rpms/perl-Test-Distribution/perl-Test-Distribution.spec	                        (rev 0)
+++ trunk/rpms/perl-Test-Distribution/perl-Test-Distribution.spec	2007-08-05 23:13:22 UTC (rev 5691)
@@ -0,0 +1,55 @@
+# $Id$
+# Authority: dag
+# Upstream: Marcel GrE<uuml>nauer <marcel$cpan,org>
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name Test-Distribution
+
+Summary: perform tests on all modules of a distribution
+Name: perl-Test-Distribution
+Version: 1.26
+Release: 1
+License: Artistic/GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/Test-Distribution/
+
+Source: http://www.cpan.org/modules/by-module/Test/Test-Distribution-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: perl, perl(Module::Build)
+
+%description
+perform tests on all modules of a distribution.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%{__perl} Build.PL
+./Build
+
+%install
+%{__rm} -rf %{buildroot}
+PERL_INSTALL_ROOT="%{buildroot}" ./Build install installdirs="vendor"
+
+### Clean up buildroot
+find %{buildroot} -name .packlist -exec %{__rm} {} \;
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc Changes MANIFEST META.yml README SIGNATURE
+%doc %{_mandir}/man3/Test::Distribution.3pm*
+#%doc %{_mandir}/man3/*.3pm*
+%dir %{perl_vendorlib}/Test/
+#%{perl_vendorlib}/Test/Distribution/
+%{perl_vendorlib}/Test/Distribution.pm
+
+%changelog
+* Mon Aug 06 2007 Dag Wieers <dag at wieers.com> - 1.26-1
+- Initial package. (using DAR)


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

Added: trunk/rpms/perl-Unix-Statgrab/perl-Unix-Statgrab.spec
===================================================================
--- trunk/rpms/perl-Unix-Statgrab/perl-Unix-Statgrab.spec	                        (rev 0)
+++ trunk/rpms/perl-Unix-Statgrab/perl-Unix-Statgrab.spec	2007-08-05 23:13:22 UTC (rev 5691)
@@ -0,0 +1,55 @@
+# $Id$
+# Authority: dag
+# Upstream: Tassilo von Parseval <tassilo,parseval$post,rwth-aachen,de>
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name Unix-Statgrab
+
+Summary: Perl module for collecting information about the machine
+Name: perl-Unix-Statgrab
+Version: 0.04
+Release: 1
+License: Artistic/GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/Unix-Statgrab/
+
+Source: http://www.cpan.org/modules/by-module/Unix/Unix-Statgrab-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: perl, libstatgrab-devel
+
+%description
+perl-Unix-Statgrab is a Perl module for collecting information
+about the machine.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
+%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
+
+%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 META.yml README
+%doc %{_mandir}/man3/Unix::Statgrab.3pm*
+%dir %{perl_vendorarch}/Unix/
+%{perl_vendorarch}/Unix/Statgrab.pm
+%dir %{perl_vendorarch}/auto/Unix/
+%{perl_vendorarch}/auto/Unix/Statgrab/
+
+%changelog
+* Mon Aug 06 2007 Dag Wieers <dag at wieers.com> - 0.04-1
+- Initial package. (using DAR)


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

Modified: trunk/rpms/postgrey/postgrey.spec
===================================================================
--- trunk/rpms/postgrey/postgrey.spec	2007-08-05 21:57:34 UTC (rev 5690)
+++ trunk/rpms/postgrey/postgrey.spec	2007-08-05 23:13:22 UTC (rev 5691)
@@ -5,16 +5,19 @@
 
 Summary: Postfix Greylisting Policy Server
 Name: postgrey
-Version: 1.27
-Release: 3
+Version: 1.30
+Release: 1
 License: GPL
 Group: System Environment/Daemons
+URL: http://isg.ee.ethz.ch/tools/postgrey/
+
 Source0: http://isg.ee.ethz.ch/tools/postgrey/pub/postgrey-%{version}.tar.gz
 Source1: postgrey.init
 Source2: README-rpm
-Patch0: postgrey-1.27-group.patch
-URL: http://isg.ee.ethz.ch/tools/postgrey/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+
 # We require postfix for its directories and gid
 Requires: postfix
 # This module seems to be a weak dependency from Net::Server, so we need to
@@ -24,7 +27,6 @@
 Requires(post): /sbin/chkconfig
 Requires(preun): /sbin/service, /sbin/chkconfig
 Requires(postun): /sbin/service
-BuildArch: noarch
 
 %description
 Postgrey is a Postfix policy server implementing greylisting.  When a request
@@ -37,8 +39,7 @@
 
 %prep
 %setup
-%patch0 -p1 -b .group
-%{__install} -p -m 0644 %{SOURCE2} README-rpm
+%{__install} -p -m0644 %{SOURCE2} README-rpm
 
 
 %build
@@ -52,31 +53,16 @@
 %install
 %{__rm} -rf %{buildroot}
 
-# Configuration files
-%{__mkdir_p} %{buildroot}%{confdir}
-%{__install} -p -m 0644 postgrey_whitelist_{clients,recipients} \
-    %{buildroot}%{confdir}/
-touch %{buildroot}%{confdir}/postgrey_whitelist_clients.local
+%{__install} -Dp -m0644 postgrey_whitelist_clients %{buildroot}%{confdir}/postgrey_whitelist_clients
+%{__install} -Dp -m0644 postgrey_whitelist_recipients %{buildroot}%{confdir}/postgrey_whitelist_recipients
+%{__install} -Dp -m0755 postgrey %{buildroot}%{_sbindir}/postgrey
+%{__install} -Dp -m0755 %{SOURCE1} %{buildroot}%{_initrddir}/postgrey
+%{__install} -Dp -m0644 postgrey.8 %{buildroot}%{_mandir}/man8/postgrey.8
+%{__install} -Dp -m0755 contrib/postgreyreport %{buildroot}%{_sbindir}/postgreyreport
 
-# Main script
-%{__install} -D -p -m 0755 postgrey %{buildroot}%{_sbindir}/postgrey
-
-# Spool directory
 %{__mkdir_p} %{buildroot}%{_var}/spool/postfix/postgrey
+touch %{buildroot}%{confdir}/postgrey_whitelist_clients.local
 
-# Init script
-%{__install} -D -p -m 0755 %{SOURCE1} \
-    %{buildroot}%{_sysconfdir}/rc.d/init.d/postgrey
-
-# Man page
-%{__install} -D -p -m 0644 postgrey.8 \
-    %{buildroot}%{_mandir}/man8/postgrey.8
-
-# Optional report script
-%{__install} -D -p -m 0755 contrib/postgreyreport \
-    %{buildroot}%{_sbindir}/postgreyreport
-
-
 %clean
 %{__rm} -rf %{buildroot}
 
@@ -101,19 +87,24 @@
 
 
 %files
-%defattr(-, root, root)
+%defattr(-, root, root, 0755)
 %doc Changes COPYING README README-rpm
-%{_sysconfdir}/rc.d/init.d/postgrey
+%doc %{_mandir}/man8/postgrey.8*
+%config %{_initrddir}/postgrey
 %config(noreplace) %{confdir}/postgrey_whitelist_clients
 %config(noreplace) %{confdir}/postgrey_whitelist_recipients
 %config(noreplace) %{confdir}/postgrey_whitelist_clients.local
 %{_sbindir}/postgrey
 %{_sbindir}/postgreyreport
-%{_mandir}/man8/postgrey.8*
-%dir %attr(0751, postgrey, postfix) %{_var}/spool/postfix/postgrey/
 
+%defattr(0751, postgrey, postfix, 0751)
+%dir %{_var}/spool/postfix/postgrey/
 
+
 %changelog
+* Sun Aug 05 2007 Dag Wieers <dag at wieers.com> - 1.30-1
+- Updated to release 1.30.
+
 * Mon Dec  4 2006 Matthias Saou <http://freshrpms.net/> 1.27-3
 - Add man page generation (Mike Wohlgemuth).
 



More information about the svn-commits mailing list