summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20110901/68dfb8ac
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20110901/68dfb8ac')
-rw-r--r--zarb-ml/mageia-dev/attachments/20110901/68dfb8ac/attachment-0001.ksh43
-rw-r--r--zarb-ml/mageia-dev/attachments/20110901/68dfb8ac/attachment.ksh43
2 files changed, 86 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20110901/68dfb8ac/attachment-0001.ksh b/zarb-ml/mageia-dev/attachments/20110901/68dfb8ac/attachment-0001.ksh
new file mode 100644
index 000000000..93d86fe06
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20110901/68dfb8ac/attachment-0001.ksh
@@ -0,0 +1,43 @@
+%define upstream_name Sys-Mmap
+%define upstream_version 0.16
+
+Name: perl-%{upstream_name}
+Version: %{upstream_version}
+Release: %mkrel 0
+
+Summary: Sys::Mmap
+License: GPL
+Group: Development/Perl
+Url: http://www.kernel.org/software/mon/
+Source0: http://www.cpan.org/modules/by-module/Sys/%{upstream_name}-%{upstream_version}.tar.gz
+BuildRequires: perl-devel
+
+%description
+The Mmap module lets you use mmap to map in a file as a perl variable rather
+than reading the file into dynamically allocated memory. Multiple programs may
+map the same file into memory, and immediately see changes by each other.
+Memory may be allocated not attached to a file, and shared with subprocesses.
+
+%prep
+%setup -q -n %{upstream_name}-%{upstream_version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make
+
+%check
+
+%make test
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%makeinstall_std
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/*/*
+
+%changelog
+* Tue Aug 30 2011 Barry Jackson <zen25000@zen.co.uk> 0.16-0
+- New package for Mageia
diff --git a/zarb-ml/mageia-dev/attachments/20110901/68dfb8ac/attachment.ksh b/zarb-ml/mageia-dev/attachments/20110901/68dfb8ac/attachment.ksh
new file mode 100644
index 000000000..93d86fe06
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20110901/68dfb8ac/attachment.ksh
@@ -0,0 +1,43 @@
+%define upstream_name Sys-Mmap
+%define upstream_version 0.16
+
+Name: perl-%{upstream_name}
+Version: %{upstream_version}
+Release: %mkrel 0
+
+Summary: Sys::Mmap
+License: GPL
+Group: Development/Perl
+Url: http://www.kernel.org/software/mon/
+Source0: http://www.cpan.org/modules/by-module/Sys/%{upstream_name}-%{upstream_version}.tar.gz
+BuildRequires: perl-devel
+
+%description
+The Mmap module lets you use mmap to map in a file as a perl variable rather
+than reading the file into dynamically allocated memory. Multiple programs may
+map the same file into memory, and immediately see changes by each other.
+Memory may be allocated not attached to a file, and shared with subprocesses.
+
+%prep
+%setup -q -n %{upstream_name}-%{upstream_version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make
+
+%check
+
+%make test
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%makeinstall_std
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/*/*
+
+%changelog
+* Tue Aug 30 2011 Barry Jackson <zen25000@zen.co.uk> 0.16-0
+- New package for Mageia