commit dfe8ce51a27acbe5dbfc41ed850e6c0692003b27
Author: Jan RÄ™korajski <[email protected]>
Date:   Mon Jun 10 15:51:54 2013 +0200

    - new

 perl-CPAN-Meta-Check.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
---
diff --git a/perl-CPAN-Meta-Check.spec b/perl-CPAN-Meta-Check.spec
new file mode 100644
index 0000000..7d9a59c
--- /dev/null
+++ b/perl-CPAN-Meta-Check.spec
@@ -0,0 +1,53 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%define                pdir    CPAN
+%define                pnam    Meta-Check
+%include       /usr/lib/rpm/macros.perl
+Summary:       CPAN::Meta::Check - Verify requirements in a CPAN::Meta object
+Name:          perl-CPAN-Meta-Check
+Version:       0.005
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-module/CPAN/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: d6c84386c77298468d35a4e03eda6719
+URL:           http://search.cpan.org/dist/CPAN-Meta-Check/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Test-Deep
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module verifies if requirements described in a CPAN::Meta object
+are present.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes INSTALL README
+%{perl_vendorlib}/CPAN/Meta/*.pm
+%{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-CPAN-Meta-Check.git/commitdiff/dfe8ce51a27acbe5dbfc41ed850e6c0692003b27

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to