[packages/perl-Devel-CheckCompiler] - new
baggins
baggins at pld-linux.org
Thu Sep 18 23:12:49 CEST 2014
commit 04815998ef7485b7af004b42882cfc0b49080221
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Sep 18 23:12:27 2014 +0200
- new
perl-Devel-CheckCompiler.spec | 53 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
---
diff --git a/perl-Devel-CheckCompiler.spec b/perl-Devel-CheckCompiler.spec
new file mode 100644
index 0000000..ccec441
--- /dev/null
+++ b/perl-Devel-CheckCompiler.spec
@@ -0,0 +1,53 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%define pdir Devel
+%define pnam CheckCompiler
+%include /usr/lib/rpm/macros.perl
+Summary: Devel::CheckCompiler - Check the compiler's availability
+Name: perl-Devel-CheckCompiler
+Version: 0.05
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Devel/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: c100463971b68f4125062447648eb82d
+URL: http://search.cpan.org/dist/Devel-CheckCompiler/
+BuildRequires: perl-Module-Build
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Test-Requires
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Devel::CheckCompiler is checker for compiler's availability.
+
+%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
+%{perl_vendorlib}/Devel/*.pm
+%{_mandir}/man3/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Devel-CheckCompiler.git/commitdiff/04815998ef7485b7af004b42882cfc0b49080221
More information about the pld-cvs-commit
mailing list