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