SPECS: perl-Data-Lazy.spec (NEW), perl-WeakRef.spec (NEW) - new

radek radek at pld-linux.org
Thu Mar 29 12:48:41 CEST 2007


Author: radek                        Date: Thu Mar 29 10:48:41 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-Data-Lazy.spec (NONE -> 1.1)  (NEW), perl-WeakRef.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Data-Lazy.spec
diff -u /dev/null SPECS/perl-Data-Lazy.spec:1.1
--- /dev/null	Thu Mar 29 12:48:41 2007
+++ SPECS/perl-Data-Lazy.spec	Thu Mar 29 12:48:36 2007
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Data
+%define	pnam	Lazy
+Summary:	Data::Lazy.pm - "lazy" (defered/on-demand) variables
+#Summary(pl.UTF-8):	
+Name:		perl-Data-Lazy
+Version:	0.6
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/S/SA/SAMV/Data-Lazy-0.6.tar.gz
+# Source0-md5:	12af27598b4b02300768567e614677a7
+URL:		http://search.cpan.org/dist/Data-Lazy/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A very little module for generic on-demand computation of values in a
+scalar, array or hash.
+
+It provides scalars that are "lazy", that is their value is computed
+only when accessed, and at most once.
+
+# %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} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_vendorlib}/Data/*.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  2007/03/29 10:48:36  radek
+- new
+

================================================================
Index: SPECS/perl-WeakRef.spec
diff -u /dev/null SPECS/perl-WeakRef.spec:1.1
--- /dev/null	Thu Mar 29 12:48:41 2007
+++ SPECS/perl-WeakRef.spec	Thu Mar 29 12:48:36 2007
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	WeakRef
+Summary:	WeakRef -- an API to the Perl weak references
+#Summary(pl.UTF-8):	
+Name:		perl-WeakRef
+Version:	0.01
+Release:	0.1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/L/LU/LUKKA/WeakRef-0.01.tar.gz
+# Source0-md5:	3162df7a6eda0dfb44676dd9ebfa3c4c
+URL:		http://search.cpan.org/dist/WeakRef/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+WeakRef -- an API to the Perl weak references.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorarch}/*.pm
+%dir %{perl_vendorarch}/auto/WeakRef/
+%{perl_vendorarch}/auto/WeakRef/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/WeakRef/*.so
+%{_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  2007/03/29 10:48:36  radek
+- new
+
================================================================


More information about the pld-cvs-commit mailing list