perl-GTop-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. Summary: Perl interface to libgtop
  2. Name: perl-GTop
  3. Version: 0.18
  4. Release: 2%{?_dist_release}
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPL+ or Artistic
  9. URL: http://search.cpan.org/dist/GTop/
  10. Source0: http://www.cpan.org/authors/id/M/MJ/MJH/GTop-%{version}.tar.gz
  11. Requires: perl
  12. # core
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. BuildRequires: perl(Test::More)
  15. # non-perl
  16. BuildRequires: libgtop2-devel
  17. BuildRequires: libxcrypt-devel
  18. %?perl_default_filter
  19. %description
  20. This is a perl interface to the libgtop library, useful for collecting
  21. real-time performance and other system statistics.
  22. %debug_package
  23. %prep
  24. %setup -q -n GTop-%{version}
  25. # rpmlint pacifications...
  26. find . -type f -exec chmod -c -x {} \;
  27. perl -pi -e 's|^#!perl|#!/usr/bin/perl|' examples/*
  28. # thread funkiness on ppc/s390
  29. %ifarch ppc ppc64 s390
  30. mv t/threads.t t/threads.t.disable
  31. %endif
  32. %build
  33. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
  34. make %{?_smp_mflags}
  35. %install
  36. rm -rf %{buildroot}
  37. make pure_install DESTDIR=%{buildroot}
  38. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  39. find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
  40. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  41. %{_fixperms} %{buildroot}/*
  42. %check
  43. make test
  44. %clean
  45. rm -rf %{buildroot}
  46. %files
  47. %doc Changes README TODO examples/ t/
  48. %{perl_vendorarch}/auto/*
  49. %{perl_vendorarch}/GTop*
  50. %exclude %{perl_vendorarch}/config.pl
  51. %{_mandir}/man3/*
  52. %changelog
  53. * Wed Nov 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.18-2
  54. - rebuilt with perl-5.34.0.
  55. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.18-1
  56. - new upstream release.
  57. - rebuilt with perl-5.26.
  58. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.17-3
  59. - rebuilt with libgtop2-2.40.0.
  60. - added BR:libxcrypt-devel.
  61. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.17-2
  62. - build with Perl 5.16
  63. * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.17-1
  64. - initial build for Vine Linux
  65. * Tue Jan 17 2012 Iain Arnell <iarnell@gmail.com> - 0.17-2
  66. - rebuilt again for F17 mass rebuild
  67. * Sat Jan 14 2012 Iain Arnell <iarnell@gmail.com> 0.17-1
  68. - update to latest upstream version
  69. - clean up spec for modern rpmbuild
  70. - use DESTDIR, not PERL_INSTALL_ROOT
  71. - use perl_default_filter
  72. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-16
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  74. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.16-15
  75. - Perl mass rebuild
  76. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-14
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  78. * Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.16-13
  79. - 661697 rebuild for fixing problems with vendorach/lib
  80. * Wed Oct 13 2010 Dan Horák <dan[at]danny.cz> - 0.16-12
  81. - exclude the threads test also on s390
  82. * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.16-11
  83. - Mass rebuild with perl-5.12.0
  84. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.16-10
  85. - rebuild against perl 5.10.1
  86. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-9
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  88. * Thu Mar 26 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.16-8
  89. - Stripping bad provides of private Perl extension libs
  90. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-7
  91. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  92. * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.16-6
  93. - rebuild for new perl
  94. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.16-5
  95. - Autorebuild for GCC 4.3
  96. * Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.16-4
  97. - bump
  98. * Mon Apr 30 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.16-3
  99. - disable t/threads.t on ppc
  100. * Mon Apr 30 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.16-2
  101. - bump
  102. * Thu Apr 26 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.16-1
  103. - Specfile autogenerated by cpanspec 1.69.1.