packages: perl-Any-Moose/perl-Any-Moose.spec (NEW) - initial

amateja amateja at pld-linux.org
Tue Jun 16 12:19:20 CEST 2009


Author: amateja                      Date: Tue Jun 16 10:19:20 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/perl-Any-Moose:
   perl-Any-Moose.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Any-Moose/perl-Any-Moose.spec
diff -u /dev/null packages/perl-Any-Moose/perl-Any-Moose.spec:1.1
--- /dev/null	Tue Jun 16 12:19:20 2009
+++ packages/perl-Any-Moose/perl-Any-Moose.spec	Tue Jun 16 12:19:15 2009
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Any
+%define	pnam	Moose
+Summary:	use Moose or Mouse modules
+#Summary(pl.UTF-8):
+Name:		perl-Any-Moose
+Version:	0.09
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Any/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	fbae0fbd889ad3e06bf37e40e1e6fe2c
+URL:		http://search.cpan.org/dist/Any-Moose/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Mouse >= 0.21
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Actual documentation is forthcoming, once we solidify all the bits of
+the API. The examples above are very likely to continue working.
+
+# %description -l pl.UTF-8
+
+%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}/Any/*.pm
+%{_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  2009/06/16 10:19:15  amateja
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list