123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- Name: perl-GTop
- Version: 0.18
- Release: 1%{?_dist_release}
- Summary: Perl interface to libgtop
- License: GPL+ or Artistic
- Group: Development/Libraries
- URL: http://search.cpan.org/dist/GTop/
- Source0: http://www.cpan.org/authors/id/M/MJ/MJH/GTop-%{version}.tar.gz
- Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
- # core
- BuildRequires: perl(ExtUtils::MakeMaker)
- BuildRequires: perl(Test::More)
- # non-perl
- BuildRequires: libgtop2-devel
- BuildRequires: libxcrypt-devel
- %?perl_default_filter
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- This is a perl interface to the libgtop library, useful for collecting
- real-time performance and other system statistics.
- %prep
- %setup -q -n GTop-%{version}
- # rpmlint pacifications...
- find . -type f -exec chmod -c -x {} \;
- perl -pi -e 's|^#!perl|#!/usr/bin/perl|' examples/*
- # thread funkiness on ppc/s390
- %ifarch ppc ppc64 s390
- mv t/threads.t t/threads.t.disable
- %endif
- %build
- %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
- make %{?_smp_mflags}
- %install
- rm -rf %{buildroot}
- make pure_install DESTDIR=%{buildroot}
- find %{buildroot} -type f -name .packlist -exec rm -f {} \;
- find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
- find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
- %{_fixperms} %{buildroot}/*
- %check
- make test
- %clean
- rm -rf %{buildroot}
- %files
- %doc Changes README TODO examples/ t/
- %{perl_vendorarch}/auto/*
- %{perl_vendorarch}/GTop*
- %exclude %{perl_vendorarch}/config.pl
- %{_mandir}/man3/*
- %changelog
- * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.18-1
- - new upstream release.
- - rebuilt with perl-5.26.
- * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.17-3
- - rebuilt with libgtop2-2.40.0.
- - added BR:libxcrypt-devel.
- * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.17-2
- - build with Perl 5.16
- * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.17-1
- - initial build for Vine Linux
- * Tue Jan 17 2012 Iain Arnell <iarnell@gmail.com> - 0.17-2
- - rebuilt again for F17 mass rebuild
- * Sat Jan 14 2012 Iain Arnell <iarnell@gmail.com> 0.17-1
- - update to latest upstream version
- - clean up spec for modern rpmbuild
- - use DESTDIR, not PERL_INSTALL_ROOT
- - use perl_default_filter
- * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-16
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
- * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.16-15
- - Perl mass rebuild
- * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-14
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- * Fri Dec 17 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.16-13
- - 661697 rebuild for fixing problems with vendorach/lib
- * Wed Oct 13 2010 Dan Horák <dan[at]danny.cz> - 0.16-12
- - exclude the threads test also on s390
- * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.16-11
- - Mass rebuild with perl-5.12.0
- * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.16-10
- - rebuild against perl 5.10.1
- * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-9
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Thu Mar 26 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.16-8
- - Stripping bad provides of private Perl extension libs
- * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-7
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.16-6
- - rebuild for new perl
- * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.16-5
- - Autorebuild for GCC 4.3
- * Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.16-4
- - bump
- * Mon Apr 30 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.16-3
- - disable t/threads.t on ppc
- * Mon Apr 30 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.16-2
- - bump
- * Thu Apr 26 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.16-1
- - Specfile autogenerated by cpanspec 1.69.1.
|