source: projects/specs/trunk/p/perl-GTop/perl-GTop-vl.spec @ 8654

Revision 8654, 3.7 KB checked in by iwaim, 10 years ago (diff)

perl-GTop 0.17-2

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