SPECS: perl-Task-Weaken.spec (NEW) - new

ankry ankry at pld-linux.org
Thu Oct 26 00:16:50 CEST 2006


Author: ankry                        Date: Wed Oct 25 22:16:50 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-Task-Weaken.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Task-Weaken.spec
diff -u /dev/null SPECS/perl-Task-Weaken.spec:1.1
--- /dev/null	Thu Oct 26 00:16:50 2006
+++ SPECS/perl-Task-Weaken.spec	Thu Oct 26 00:16:45 2006
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+# NOTE
+# - you should consider using pldcpan for new perl packages
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Task
+%define		pnam	Weaken
+Summary:	Task::Weaken - ensure that a platform has weaken support
+Summary(pl):	Task::Weaken - zapewnienie wsparcia dla "weaken" na platformie
+Name:		perl-Task-Weaken
+Version:	0.99
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Task/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	92de456b6d1be928428babb7ebcdc6c1
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module contains a replacement for Scalar::Util's "weaken"
+function which is not present in the pure-perl variant.
+
+%description -l pl
+Moduł ten zastępuje funkcję "weaken" ze Scalar::Util, której nie ma w
+czystym Perlu.
+
+%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
+%{perl_vendorlib}/Task
+%{_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  2006/10/25 22:16:45  ankry
+- new
================================================================


More information about the pld-cvs-commit mailing list