packages: perl-PPIx-Utilities/perl-PPIx-Utilities.spec (NEW) - new

qboosh qboosh at pld-linux.org
Fri Feb 25 19:37:41 CET 2011


Author: qboosh                       Date: Fri Feb 25 18:37:41 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/perl-PPIx-Utilities:
   perl-PPIx-Utilities.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-PPIx-Utilities/perl-PPIx-Utilities.spec
diff -u /dev/null packages/perl-PPIx-Utilities/perl-PPIx-Utilities.spec:1.1
--- /dev/null	Fri Feb 25 19:37:41 2011
+++ packages/perl-PPIx-Utilities/perl-PPIx-Utilities.spec	Fri Feb 25 19:37:35 2011
@@ -0,0 +1,80 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	PPIx
+%define		pnam	Utilities
+%include	/usr/lib/rpm/macros.perl
+Summary:	PPIx::Utilities - extensions to PPI
+Summary(pl.UTF-8):	PPIx::Utilities - rozszerzenia do PPI
+Name:		perl-PPIx-Utilities
+Version:	1.001000
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/E/EL/ELLIOTJS/PPIx-Utilities-%{version}.tar.gz
+# Source0-md5:	4dc113960205173cf114ae3bdaa37f61
+URL:		http://search.cpan.org/dist/PPIx-Utilities/
+BuildRequires:	perl-Module-Build
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Exception-Class
+BuildRequires:	perl-PPI >= 1.208
+BuildRequires:	perl-Readonly
+BuildRequires:	perl-Task-Weaken
+BuildRequires:	perl-Test-Deep
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a collection of functions for dealing with PPI objects, many
+of which originated in Perl::Critic. They are organized into modules
+by the kind of PPI class they relate to, by replacing the "PPI" at the
+front of the module name with "PPIx::Utilities", e.g. functionality
+related to PPI::Nodes is in PPIx::Utilities::Node.
+
+%description -l pl.UTF-8
+Ten pakiet to zestaw funkcji operujących na obiektach PPI, z których
+wiele pochodzi z modułu Perl::Critic. Funkcje są zorganizowane w
+moduły według klas PPI, do których się odnoszą, z początkiem "PPI"
+zastąpionym przez "PPIx::Utilities", np. funkcje związane z PPI::Nodes
+znajdują się w PPIx::Utilities::Node.
+
+%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}/PPIx/Utilities.pm
+%{perl_vendorlib}/PPIx/Utilities
+%{_mandir}/man3/PPIx::Utilities*.3pm*
+
+%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  2011/02/25 18:37:35  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list