Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > b2f49df2d35ef98fe3bbc74e07b73948 > files > 2

perl-IPC-Shareable-0.60-2mdk.src.rpm

%define module 	IPC-Shareable
%define version 0.60
%define release 2mdk

Summary:	%{module} perl module
Name: 		perl-%{module}
Version: 	%{version}
Release: 	%{release}
License: 	Artistic
Group:		Development/Perl
Source0:	%{module}-%{version}.tar.bz2
BuildRequires:	perl-devel 
Requires:	perl 
BuildRoot: 	%{_tmppath}/%{name}-%{version}-buildroot
Url:		http://www.capn.org
Buildarch:	noarch

%description
IPC-Shareable allows you to tie a variable to shared memory 
making it easy to share the contents of that variable with 
other Perl processes.
Scalars, arrays, and hashes can be tied.  The variable being 
tied may contain arbitrarily complex data structures 
including references to arrays, hashes of hashes, etc.


%prep
%setup -q  -n %{module}-%{version}

%build

CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
make
make test

%install
rm -rf $RPM_BUILD_ROOT

make PREFIX=$RPM_BUILD_ROOT%{_prefix} install

%clean 
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README MANIFEST CHANGES CREDITS 
%{perl_vendorlib}/IPC/*.pm
%{perl_vendorlib}/IPC/Shareable/*.pm
%{_mandir}/*/*

%changelog
* Tue Jul 30 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.60-2mdk
- rebuild with new perl

* Mon Sep 24 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.60-1mdk
- added by Christian Zoffoli <czoffoli@linux-mandrake.com> :
	- First Mandrake Release