SPECS: perl-Filesys-Virtual-Async-inMemory.spec (NEW) - initial, builds here

agaran agaran at pld-linux.org
Thu Jan 29 19:31:57 CET 2009


Author: agaran                       Date: Thu Jan 29 18:31:57 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, builds here

---- Files affected:
SPECS:
   perl-Filesys-Virtual-Async-inMemory.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Filesys-Virtual-Async-inMemory.spec
diff -u /dev/null SPECS/perl-Filesys-Virtual-Async-inMemory.spec:1.1
--- /dev/null	Thu Jan 29 19:31:58 2009
+++ SPECS/perl-Filesys-Virtual-Async-inMemory.spec	Thu Jan 29 19:31:52 2009
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Filesys
+%define	pnam	Virtual-Async-inMemory
+Summary:	perl(Filesys::Virtual::Async::inMemory)
+#Summary(pl.UTF-8):	
+Name:		perl-Filesys-Virtual-Async-inMemory
+Version:	0.01
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Filesys/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	eaccc90cdd17eda43212e31215d7cfbd
+# generic URL, check or change before uncommenting
+#URL:		http://search.cpan.org/dist/Filesys-Virtual-Async-inMemory/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Filesys-Virtual-Async
+BuildRequires:	perl-IO-stringy
+BuildRequires:	perl-Test-Simple >= 0.86
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module lets you run the Filesys::Virtual::Async API entirely in memory. Nothing special here, really :)
+
+This module makes extensive use of the functions in File::Spec to be portable, so it might trip you up if
+you are developing on a linux box and trying to play with '/foo' on a win32 box :)
+
+This constructor accepts either a hashref or a hash, valid options are:
+
+
+
+# %description -l pl.UTF-8
+# TODO
+
+%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
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Filesys/Virtual/Async/*.pm
+#%%{perl_vendorlib}/Filesys/Virtual/Async/inMemory
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%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/01/29 18:31:52  agaran
+- initial, builds here
+
================================================================


More information about the pld-cvs-commit mailing list