rpms/perl-GTop/FC-5 perl-GTop.spec,NONE,1.1 sources,1.1,1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Mon Apr 30 16:16:08 UTC 2007


Author: cweyl

Update of /cvs/extras/rpms/perl-GTop/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25945

Modified Files:
	sources 
Added Files:
	perl-GTop.spec 
Log Message:
pseudo-branch of perl-GTop to FC-5


--- NEW FILE perl-GTop.spec ---
Name:           perl-GTop
Version:        0.16
Release:        2%{?dist}
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
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

# core
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More)
# non-perl
BuildRequires:  libgtop2-devel

%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/*

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{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
%defattr(-,root,root,-)
%doc Changes README TODO examples/ t/
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/GTop*
%exclude %{perl_vendorarch}/config.pl
%{_mandir}/man3/*

%changelog
* Mon Apr 30 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.16-2
- bump

* Thu Apr 26 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.16-1
- Specfile autogenerated by cpanspec 1.69.1.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-GTop/FC-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	29 Apr 2007 22:32:16 -0000	1.1
+++ sources	30 Apr 2007 16:15:33 -0000	1.2
@@ -0,0 +1 @@
+c3b1f36c3c9e1031f783027fe1c098d0  GTop-0.16.tar.gz




More information about the scm-commits mailing list