]> git.pld-linux.org Git - packages/perl-Module-Runtime.git/commitdiff
- new auto/th/perl-Module-Runtime-0_011-1
authorzbyniu <zbyniu@pld-linux.org>
Mon, 23 Jan 2012 21:54:47 +0000 (21:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Module-Runtime.spec -> 1.1

perl-Module-Runtime.spec [new file with mode: 0644]

diff --git a/perl-Module-Runtime.spec b/perl-Module-Runtime.spec
new file mode 100644 (file)
index 0000000..bcb1f21
--- /dev/null
@@ -0,0 +1,59 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%define                pdir    Module
+%define                pnam    Runtime
+%include       /usr/lib/rpm/macros.perl
+Summary:       Module::Runtime - runtime module handling
+#Summary(pl.UTF-8):    
+Name:          perl-Module-Runtime
+Version:       0.011
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/Module/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: d0d2ab338c5bb2769a8f7db200cfdb2b
+# generic URL, check or change before uncommenting
+#URL:          http://search.cpan.org/dist/Module-Runtime/
+BuildRequires: perl-Module-Build
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(Params::Classify)
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The functions exported by this module deal with runtime handling of
+Perl modules, which are normally handled at compile time.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+       destdir=$RPM_BUILD_ROOT \
+       installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Module/*.pm
+%{_mandir}/man3/*
This page took 0.066141 seconds and 4 git commands to generate.