jplesnik pushed to perl-Env-C (master). "Initial import"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 29 06:37:53 UTC 2015


>From 8d6aceb66991d2721b796e69991789637b4e5f7e Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Wed, 29 Apr 2015 08:35:50 +0200
Subject: Initial import


diff --git a/.gitignore b/.gitignore
index e69de29..6fc00d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Env-C-0.12.tar.gz
diff --git a/perl-Env-C.spec b/perl-Env-C.spec
new file mode 100644
index 0000000..ea54780
--- /dev/null
+++ b/perl-Env-C.spec
@@ -0,0 +1,47 @@
+Name:           perl-Env-C
+Version:        0.12
+Release:        1%{?dist}
+Summary:        Get/set/unset environment variables on the C level
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Env-C/
+Source0:        http://www.cpan.org/authors/id/M/MS/MSCHOUT/Env-C-%{version}.tar.gz
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time
+BuildRequires:  perl(DynaLoader)
+# Tests
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+This module provides a Perl API for getenv(3), setenv(3) and unsetenv(3).
+It also can return all the environ variables.
+
+%prep
+%setup -q -n Env-C-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%license LICENSE
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Env*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Apr 21 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.12-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..ea81852 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9635c2690bd30c681ec898653daacc3c  Env-C-0.12.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Env-C.git/commit/?h=master&id=8d6aceb66991d2721b796e69991789637b4e5f7e


More information about the perl-devel mailing list