File perl-MLDBM-Sync.spec of Package perl-MLDBM-Sync

#
# spec file for package perl-MLDBM-Sync (Version 0.30)
#
# 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


Name:           perl-MLDBM-Sync
BuildRequires:  dos2unix perl-MLDBM perl-Tie-Cache
Version:        0.30
Release:        341
Requires:       perl-MLDBM perl-Tie-Cache
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic License
Url:            http://cpan.org/modules/by-module/MLDBM
Summary:        Perl module for safe concurrent access to MLDBM databases
Source:         MLDBM-Sync-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This module wraps around the MLDBM interface, by handling concurrent
access to MLDBM databases with file locking, and flushes i/o explicity
per lock/unlock. The new [Read]Lock()/UnLock() API can be used to
serialize requests logically and improve performance for bundled reads
& writes.



Authors:
--------
    Joshua Chamas <asp@chamas.com>

%prep 
%setup -n MLDBM-Sync-%{version}

%build
perl Makefile.PL
make
dos2unix CHANGES
chmod 644 README CHANGES

%check
make test

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc CHANGES README bench
%doc %{_mandir}/man?/*
%{perl_vendorlib}/MLDBM
%{perl_vendorarch}/auto/MLDBM/Sync/
/var/adm/perl-modules/%{name}

%changelog
* Thu Mar 13 2008 anicka@suse.cz
- fix permissions of documentation files, convert CRLF
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 11 2004 adrian@suse.de
- build as user
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Tue Jul 22 2003 mjancar@suse.cz
- adapt to perl-5.8.1
* Tue Jul 01 2003 ro@suse.de
- use perl_process_packlist macro
* Thu May 22 2003 mjancar@suse.cz
- remove unpackaged files
* Mon Jul 29 2002 mls@suse.de
- Fixed neededforbuild for perl-5.8.0
* Fri Jul 12 2002 prehak@suse.cz
- update to version 0.30
- added bench to documentation
- fixed file permissions, used %%{perl_sitearch} macro
* Thu Dec 13 2001 cihlar@suse.cz
- initial version 0.25
openSUSE Build Service is sponsored by