Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > d7914d0eb76a6ae474c8669c0261f8e9 > files > 2

perl-IO-LockedFile-0.23-4mdv2009.0.src.rpm

%define realname IO-LockedFile
%define name	perl-%{realname}
%define version	0.23
%define release	%mkrel 4

Summary:	Supply object methods for locking files
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	Artistic/GPL
Group:		Development/Perl
URL:		http://search.cpan.org/dist/%{realname}/
Source:		%{realname}-%{version}.tar.bz2
Buildroot:	%{_tmppath}/%{name}-root
BuildArch:	noarch

%description
In its simplistic use, the IO::LockedFile class gives us the same interface of
the IO::File class with the unique difference that the files we deal with are
locked using the Flock mechanism (using the flock function).

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

%build
%__perl Makefile.PL INSTALLDIRS=vendor
%make

%check
%make test

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%makeinstall_std

%files
%defattr(-,root,root)
%doc README Changes
%{_mandir}/*/*
%{perl_vendorlib}/IO/*

%clean
rm -rf $RPM_BUILD_ROOT



%changelog
* Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.23-4mdv2009.0
+ Revision: 257315
- rebuild

* Thu Dec 20 2007 Olivier Blin <oblin@mandriva.com> 0.23-2mdv2008.1
+ Revision: 135856
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.23-2mdv2008.0
+ Revision: 86508
- rebuild


* Fri Mar 24 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.23-1mdk
- First Mandriva release