perl-Proc-ProcessTable-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Name: perl-Proc-ProcessTable
  2. Version: 0.45
  3. Release: 2%{?_dist_release}
  4. Summary: Perl extension to access the unix process table
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Proc-ProcessTable/
  8. Source0: http://www.cpan.org/modules/by-module/Proc/Proc-ProcessTable-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. %description
  15. Perl interface to the unix process table.
  16. %prep
  17. %setup -q -n Proc-ProcessTable-%{version}
  18. %{__chmod} 644 contrib/*
  19. %build
  20. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  21. %{__make} %{?_smp_mflags}
  22. %install
  23. %{__rm} -rf %{buildroot}
  24. %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
  25. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  26. find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
  27. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  28. %{_fixperms} %{buildroot}/*
  29. %check
  30. %{__make} test
  31. %clean
  32. %{__rm} -rf %{buildroot}
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc Changes PORTING README README.linux TODO contrib/pswait
  36. %{perl_vendorarch}/auto/*
  37. %{perl_vendorarch}/Proc*
  38. %{_mandir}/man3/*
  39. %changelog
  40. * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.45-2
  41. - build with perl 5.12.3
  42. - add Vendor and Distribution tags
  43. * Fri Oct 15 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.45-1
  44. - initial build for Vine Linux
  45. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.44-6
  46. - Mass rebuild with perl-5.12.0
  47. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.44-5
  48. - rebuild against perl 5.10.1
  49. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.44-4
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  51. * Thu Mar 05 2009 Caol叩n McNamara <caolanm@redhat.com> - 0.44-3
  52. - defuzz patches to build
  53. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.44-2
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  55. * Fri Aug 1 2008 Andreas Thienemnan <athienem@redhat.com> 0.44-1
  56. - Update to 0.44
  57. * Sat Apr 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.42-1
  58. - update to 0.42
  59. - patch to define ARG_MAX (since for some unknown reason, it isn't defined anymore)
  60. * Mon Mar 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.41-4
  61. - rebuild for new perl (again)
  62. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.41-3
  63. - Autorebuild for GCC 4.3
  64. * Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.41-2
  65. - rebuild for new perl
  66. * Thu Mar 15 2007 Andreas Thienemann <andreas@bawue.net> 0.41-1
  67. - Specfile autogenerated by cpanspec 1.69.1.
  68. - Cleaned up for FE