packages: perl-MooseX-Types-Common/perl-MooseX-Types-Common.spec (NEW) - new

zbyniu zbyniu at pld-linux.org
Mon Jan 23 23:54:21 CET 2012


Author: zbyniu                       Date: Mon Jan 23 22:54:21 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/perl-MooseX-Types-Common:
   perl-MooseX-Types-Common.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-MooseX-Types-Common/perl-MooseX-Types-Common.spec
diff -u /dev/null packages/perl-MooseX-Types-Common/perl-MooseX-Types-Common.spec:1.1
--- /dev/null	Mon Jan 23 23:54:21 2012
+++ packages/perl-MooseX-Types-Common/perl-MooseX-Types-Common.spec	Mon Jan 23 23:54:16 2012
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	MooseX
+%define		pnam	Types-Common
+%include	/usr/lib/rpm/macros.perl
+Summary:	MooseX::Types::Common - A library of commonly used type constraints
+#Summary(pl.UTF-8):	
+Name:		perl-MooseX-Types-Common
+Version:	0.001004
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/MooseX/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	7e6ac09fc14143362a8b1d1e66cd9543
+# generic URL, check or change before uncommenting
+#URL:		http://search.cpan.org/dist/MooseX-Types-Common/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Moose >= 0.39
+BuildRequires:	perl-MooseX-Types >= 0.04
+BuildRequires:	perl-Test-Fatal
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A set of commonly-used type constraints that do not ship with Moose by default.
+
+
+
+# %description -l pl.UTF-8
+# TODO
+
+%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 README
+%{perl_vendorlib}/MooseX/Types/*.pm
+%{perl_vendorlib}/MooseX/Types/Common
+%{_mandir}/man3/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/01/23 22:54:16  zbyniu
+- new
+
================================================================


More information about the pld-cvs-commit mailing list