SPECS: perl-File-Flat.spec (NEW) - initial, 0.96 rel 0.1, builds h...
agaran
agaran at pld-linux.org
Sat Jul 29 13:06:24 CEST 2006
Author: agaran Date: Sat Jul 29 11:06:24 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, 0.96 rel 0.1, builds here, am bit curious if it really need perl(prefork)
---- Files affected:
SPECS:
perl-File-Flat.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-File-Flat.spec
diff -u /dev/null SPECS/perl-File-Flat.spec:1.1
--- /dev/null Sat Jul 29 13:06:24 2006
+++ SPECS/perl-File-Flat.spec Sat Jul 29 13:06:19 2006
@@ -0,0 +1,72 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without autodeps # don't BR packages needed only for resolving deps
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir File
+%define pnam Flat
+Summary: perl(File::Flat) - Implements a flat filesystem
+Name: perl-File-Flat
+Version: 0.96
+Release: 0.1
+# "same as perl"
+License: GPL or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 1cfc9d23bf76e0deeae0dbb0765b486c
+URL: http://search.cpan.org/dist/%{pdir}-%{pnam}
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+BuildRequires: perl-Test-ClassAPI
+BuildRequires: perl-File-NCopy
+BuildRequires: perl-File-Remove
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+File::Flat implements a flat filesystem. A flat filesystem is a filesystem in
+which directories do not exist. It provides an abstraction over any normal
+filesystem which makes it appear as if directories do not exist. In effect, it
+will automatically create directories as needed. This is create for things
+like install scripts and such, as you never need to worry about the existance
+of directories, just write to a file, no matter where it is.
+
+%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 README
+%{perl_vendorlib}/File/Flat.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/29 11:06:19 agaran
+- initial, 0.96 rel 0.1, builds here, am bit curious if it really need perl(prefork)
+
================================================================
More information about the pld-cvs-commit
mailing list