SPECS: perl-Filesys-Virtual-Plain.spec (NEW) - initial, ver 0.09, ...

agaran agaran at pld-linux.org
Sun Jul 30 20:37:55 CEST 2006


Author: agaran                       Date: Sun Jul 30 18:37:55 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, ver 0.09, rel 0.1, builds here

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

---- Diffs:

================================================================
Index: SPECS/perl-Filesys-Virtual-Plain.spec
diff -u /dev/null SPECS/perl-Filesys-Virtual-Plain.spec:1.1
--- /dev/null	Sun Jul 30 20:37:55 2006
+++ SPECS/perl-Filesys-Virtual-Plain.spec	Sun Jul 30 20:37:48 2006
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	Filesys
+%define		pnam	Virtual-Plain
+Summary:	perl(Filesys::Virtual::Plain) - A Plain virtual filesystem
+Name:		perl-Filesys-Virtual-Plain
+Version:	0.09
+Release:	0.1
+# note if it is "same as perl"
+License:	(enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	86df4f15bf3e07ed412232105e86cd86
+#URL:		-
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Filesys-Virtual
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module uses Filesys::Virtual to implement plain filesystem. 
+See code for more info.
+
+%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 README
+%{perl_vendorlib}/Filesys/Virtual/Plain.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  2006/07/30 18:37:48  agaran
+- initial, ver 0.09, rel 0.1, builds here
+
================================================================


More information about the pld-cvs-commit mailing list