]> git.pld-linux.org Git - packages/perl-Filesys-Virtual-Async-inMemory.git/commitdiff
- initial, builds here
authorMaciej Pijanka <agaran@pld-linux.org>
Thu, 29 Jan 2009 18:31:52 +0000 (18:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Filesys-Virtual-Async-inMemory.spec -> 1.1

perl-Filesys-Virtual-Async-inMemory.spec [new file with mode: 0644]

diff --git a/perl-Filesys-Virtual-Async-inMemory.spec b/perl-Filesys-Virtual-Async-inMemory.spec
new file mode 100644 (file)
index 0000000..7a00bef
--- /dev/null
@@ -0,0 +1,71 @@
+#
+# 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}
This page took 0.068243 seconds and 4 git commands to generate.