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

Revision 12118, 3.9 KB checked in by tomop, 5 years ago (diff)

perl-GTop-0.17-3

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