Blame SPECS/perl-Sys-MemInfo.spec

26de1d
Name:           perl-Sys-MemInfo
26de1d
Version:        0.99
26de1d
Release:        6%{?dist}
26de1d
Summary:        Memory information as Perl module
26de1d
License:        GPL+ or Artistic
26de1d
Group:          Development/Libraries
26de1d
URL:            http://search.cpan.org/dist/Sys-MemInfo/
26de1d
Source0:        http://www.cpan.org/authors/id/S/SC/SCRESTO/Sys-MemInfo-%{version}.tar.gz
26de1d
BuildRequires:  perl-devel
26de1d
BuildRequires:  perl-generators
26de1d
BuildRequires:  perl(ExtUtils::MakeMaker)
26de1d
BuildRequires:  perl(File::Copy)
26de1d
# Run-time:
26de1d
BuildRequires:  perl(DynaLoader)
26de1d
BuildRequires:  perl(Exporter)
26de1d
BuildRequires:  perl(strict)
26de1d
BuildRequires:  perl(warnings)
26de1d
# Tests:
26de1d
BuildRequires:  perl(Test::More)
26de1d
BuildRequires:  perl(Data::Dumper)
26de1d
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
26de1d
26de1d
%{?perl_default_filter}
26de1d
26de1d
%description
26de1d
Sys::MemInfo returns the total amount of free and used physical memory in
26de1d
bytes in totalmem and freemem variables.
26de1d
26de1d
%prep
26de1d
%setup -q -n Sys-MemInfo-%{version}
26de1d
26de1d
%build
26de1d
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
26de1d
make %{?_smp_mflags}
26de1d
26de1d
%install
26de1d
make pure_install DESTDIR=$RPM_BUILD_ROOT
26de1d
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
26de1d
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
26de1d
%{_fixperms} $RPM_BUILD_ROOT/*
26de1d
26de1d
%check
26de1d
make test
26de1d
26de1d
%files
26de1d
%license LICENSE
26de1d
%doc Changes README
26de1d
%{perl_vendorarch}/auto/*
26de1d
%{perl_vendorarch}/Sys*
26de1d
%{_mandir}/man3/*
26de1d
26de1d
%changelog
26de1d
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.99-6
26de1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
26de1d
26de1d
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99-5
26de1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
26de1d
26de1d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99-4
26de1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
26de1d
26de1d
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.99-3
26de1d
- Perl 5.26 rebuild
26de1d
26de1d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99-2
26de1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
26de1d
26de1d
* Mon Oct 17 2016 Jan Synáček <jsynacek@redhat.com> - 0.99-1
26de1d
- Update to 0.99 (#1385279)
26de1d
26de1d
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.98-3
26de1d
- Perl 5.24 rebuild
26de1d
26de1d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.98-2
26de1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
26de1d
26de1d
* Fri Jun 19 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.98-1
26de1d
- 0.98 bump
26de1d
26de1d
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-13
26de1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
26de1d
26de1d
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.91-12
26de1d
- Perl 5.22 rebuild
26de1d
26de1d
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.91-11
26de1d
- Perl 5.20 rebuild
26de1d
26de1d
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-10
26de1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
26de1d
26de1d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-9
26de1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
26de1d
26de1d
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-8
26de1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
26de1d
26de1d
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.91-7
26de1d
- Perl 5.18 rebuild
26de1d
26de1d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-6
26de1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
26de1d
26de1d
* Mon Nov 05 2012 Petr Pisar <ppisar@redhat.com> - 0.91-5
26de1d
- Change license from (LGPLv2+) to ((GPLv1+ or Artistic) and LGPLv2+)
26de1d
  (CPAN RT #80636)
26de1d
26de1d
* Mon Nov 05 2012 Petr Pisar <ppisar@redhat.com> - 0.91-4
26de1d
- Improve description
26de1d
- Specify all dependencies
26de1d
26de1d
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-3
26de1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
26de1d
26de1d
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.91-2
26de1d
- Perl 5.16 rebuild
26de1d
26de1d
* Fri May 04 2012 jsynacek@redhat.com 0.91-1
26de1d
- Initial release