SPECS: perl-Filesys-Virtual.spec (NEW) - initial version 0.05, rel...
agaran
agaran at pld-linux.org
Sun Jul 30 20:31:11 CEST 2006
Author: agaran Date: Sun Jul 30 18:31:11 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial version 0.05, rel 0.1 builds here
---- Files affected:
SPECS:
perl-Filesys-Virtual.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Filesys-Virtual.spec
diff -u /dev/null SPECS/perl-Filesys-Virtual.spec:1.1
--- /dev/null Sun Jul 30 20:31:11 2006
+++ SPECS/perl-Filesys-Virtual.spec Sun Jul 30 20:31:05 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
+Summary: perl(Filesys::Virtual) â Perl extension to provide a framework for a virtual filesystem
+Name: perl-Filesys-Virtual
+Version: 0.05
+Release: 0.1
+# note if it is "same as perl"
+License: same as perl
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+#BuildRequires: perl-
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module implements a base class for virtual filesystems.
+
+%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
+# next one could be moved to perl-modules if more things
+# nod dependin on this module will require that directory
+%dir %{perl_vendorlib}/Filesys
+%{perl_vendorlib}/Filesys/Virtual.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:31:05 agaran
+- initial version 0.05, rel 0.1 builds here
+
================================================================
More information about the pld-cvs-commit
mailing list