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

Revision 12120, 4.0 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

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