]> git.pld-linux.org Git - packages/perl-GTop.git/blobdiff - perl-GTop.spec
perl 5.38.0 rebuild
[packages/perl-GTop.git] / perl-GTop.spec
index b2550e441b53dadb042db47b6db19f282209a960..5dfebab71ee1cf477bc5824bfb5594815100ab96 100644 (file)
@@ -1,21 +1,20 @@
 #
 # Conditional build:
-%bcond_with    tests   # perform "make test"
-                       # require /proc access
+%bcond_with    tests   # perform "make test" (requires /proc access)
 #
-%include       /usr/lib/rpm/macros.perl
 %define                pdir    GTop
 Summary:       GTop - Perl interface to libgtop
-Summary(pl.UTF-8):   GTop - interfejs perlowy do libgtop
+Summary(pl.UTF-8):     GTop - interfejs perlowy do libgtop
 Name:          perl-GTop
-Version:       0.15
-Release:       1
+Version:       0.16
+Release:       18
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/GTop/%{pdir}-%{version}.tar.gz
-# Source0-md5: 049553661f8ceb7fa93517e8ed68f712
+# Source0-md5: c3b1f36c3c9e1031f783027fe1c098d0
 Patch0:                %{name}-error_h.patch
+URL:           http://search.cpan.org/dist/GTop/
 BuildRequires: libgtop-devel >= 2.0
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: pkgconfig
@@ -44,6 +43,7 @@ Warto zobaczyć także Apache::VMonitor Stasa Bekmana:
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make} \
+       CC="%{__cc}" \
        OPTIMIZE="%{rpmcflags}"
 
 %{?with_tests:%{__make} test}
@@ -60,11 +60,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %{perl_vendorarch}/*.pm
-%{perl_vendorarch}/%{pdir}
-%dir %{perl_vendorarch}/auto/%{pdir}
-%attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/*.so
-%{perl_vendorarch}/auto/%{pdir}/*.bs
-%dir %{perl_vendorarch}/auto/%{pdir}/Server
-%attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/Server/*.so
-%{perl_vendorarch}/auto/%{pdir}/Server/*.bs
+%dir %{perl_vendorarch}/auto/GTop
+%attr(755,root,root) %{perl_vendorarch}/auto/GTop/GTop.so
+%{perl_vendorarch}/config.pl
 %{_mandir}/man3/*
This page took 0.129639 seconds and 4 git commands to generate.