Search
j0ke.net Open Build Service
>
Projects
>
devel
:
perl
>
perl-Cache-FastMmap
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
perl-Cache-FastMmap.spec
@@ -0,0 +1,74 @@ +# +# spec file for package perl-Cache-FastMmap (Version 1.28) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild +# usedforbuild aaa_base acl attr audit-libs autoconf automake bash binutils brp-check-internal bzip2 coreutils cpio cpp cpp43 cracklib cvs diffutils file filesystem fillup findutils gawk gcc gcc43 gdbm gettext-runtime gettext-tools glibc glibc-devel glibc-locale gmp grep groff gzip info insserv less libacl libattr libbz2-1 libbz2-devel libdb-4_5 libgcc43 libgomp43 libltdl-3 libmpfr1 libmudflap43 libncurses5 libreadline5 libstdc++43 libtool libuuid1 libvolume_id libxcrypt libzio linux-kernel-headers login m4 make man net-tools netcfg pam pam-modules patch perl perl-base permissions popt psmisc rpm sed sysvinit tar terminfo-base texinfo timezone util-linux zlib + + +Name: perl-Cache-FastMmap +Version: 1.28 +Release: 98.1 +Requires: perl = %{perl_version} +AutoReqProv: on +Group: Development/Libraries/Perl +License: Artistic License; GPL v2 or later +Url: http://search.cpan.org/dist/Cache-FastMmap/ +Summary: Uses an mmap'ed file to act as a shared memory interprocess cache +Source: Cache-FastMmap-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(Compress::Zlib) + + + +%description +In multi-process environments (eg mod_perl, forking daemons, etc), +it's common to want to cache information, but have that cache shared +between processes. Many solutions already exist, and may suit your +situation better. + + +%debug_package +%prep +%setup -q -n Cache-FastMmap-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Cache* +%{_mandir}/man3/* + +%changelog +* Mon Mar 09 2009 vittori@vitsoft.bz +- update to 1.28