[perl-Sys-MemInfo/f17] Initial release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 4a86d620df70667a581aeeccb389fd62320ebbef
Author: Jan Synacek <jsynacek@xxxxxxxxxx>
Date:   Thu May 10 15:08:29 2012 +0200

    Initial release

 .gitignore            |    1 +
 perl-Sys-MemInfo.spec |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1e12859 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Sys-MemInfo-0.91.tar.gz
diff --git a/perl-Sys-MemInfo.spec b/perl-Sys-MemInfo.spec
new file mode 100644
index 0000000..de488f4
--- /dev/null
+++ b/perl-Sys-MemInfo.spec
@@ -0,0 +1,47 @@
+Name:           perl-Sys-MemInfo
+Version:        0.91
+Release:        1%{?dist}
+Summary:        Sys::MemInfo Perl module
+License:        LGPLv2+
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Sys-MemInfo/
+Source0:        http://www.cpan.org/modules/by-module/Sys/Sys-MemInfo-%{version}.tar.gz
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Data::Dumper)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+Sys::MemInfo return the total amount of free and used physical memory in
+bytes in totalmem and freemem variables.
+
+%prep
+%setup -q -n Sys-MemInfo
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Sys*
+%{_mandir}/man3/*
+
+%changelog
+* Fri May 04 2012 jsynacek@xxxxxxxxxx 0.91-1
+- Initial release
diff --git a/sources b/sources
index e69de29..2e39002 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d2ddda32c58114352e04ecb866de7f17  Sys-MemInfo-0.91.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux