Logoj0ke.net Open Build Service > Projects > devel:perl > perl-Cache-FastMmap > Changes
Sign Up | Log In

Changes of Revision 2

[-] Added perl-Cache-FastMmap.spec
x
 
1
@@ -0,0 +1,74 @@
2
+#
3
+# spec file for package perl-Cache-FastMmap (Version 1.28)
4
+#
5
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
6
+# This file and all modifications and additions to the pristine
7
+# package are under the same license as the package itself.
8
+#
9
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
10
+#
11
+
12
+# norootforbuild
13
+# 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
14
+
15
+
16
+Name:           perl-Cache-FastMmap
17
+Version:        1.28
18
+Release:        98.1
19
+Requires:       perl = %{perl_version}
20
+AutoReqProv:    on
21
+Group:          Development/Libraries/Perl
22
+License:        Artistic License; GPL v2 or later
23
+Url:            http://search.cpan.org/dist/Cache-FastMmap/
24
+Summary:        Uses an mmap'ed file to act as a shared memory interprocess cache
25
+Source:         Cache-FastMmap-%{version}.tar.bz2
26
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
27
+BuildRequires:  perl(ExtUtils::MakeMaker)
28
+BuildRequires:  perl(Test::More)
29
+BuildRequires:  perl(Compress::Zlib)
30
+
31
+
32
+
33
+%description
34
+In multi-process environments (eg mod_perl, forking daemons, etc),
35
+it's common to want to cache information, but have that cache shared
36
+between processes. Many solutions already exist, and may suit your
37
+situation better.
38
+
39
+
40
+%debug_package
41
+%prep
42
+%setup -q -n Cache-FastMmap-%{version}
43
+
44
+%build
45
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
46
+make %{?_smp_mflags}
47
+
48
+
49
+%install
50
+rm -rf $RPM_BUILD_ROOT
51
+
52
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
53
+
54
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
55
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
56
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
57
+
58
+%{_fixperms} $RPM_BUILD_ROOT/*
59
+
60
+%check
61
+make test
62
+
63
+%clean
64
+rm -rf $RPM_BUILD_ROOT
65
+
66
+%files
67
+%defattr(-,root,root,-)
68
+%doc Changes README
69
+%{perl_vendorarch}/auto/*
70
+%{perl_vendorarch}/Cache*
71
+%{_mandir}/man3/*
72
+
73
+%changelog
74
+* Mon Mar 09 2009 vittori@vitsoft.bz
75
+- update to 1.28
76