File perl-CDDB_get.spec of Package perl-CDDB_get

#
# spec file for package perl-CDDB_get (Version 2.27)
#
# 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-CDDB_get
Version:        2.27
Release:        92
Requires:       perl = %perl_version
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic License
Url:            http://armin.emx.at/cddb/
Summary:        Read the CDDB entry for an audio CD in your drive
Source:         CDDB_get-%version.tar.bz2
Patch:          %name-2.23-tmpfile.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This module/script gets the CDDB info for an audio cd. You need LINUX,
SUNOS or *BSD, a cdrom drive and an active internet connection in order
to do that.



Authors:
--------
    Armin Obersteiner <armin@xos.net>

%prep
%setup -q -n CDDB_get-%version
%patch -p1

%build
perl Makefile.PL
make
make test

%install
%perl_make_install
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README MANIFEST Artistic Changes Copying
%_mandir/man?/*
%_bindir/cddb.pl
%perl_vendorlib/CDDB_get.pm
%perl_vendorlib/CDDB_cache.pm
%perl_vendorlib/cddb.pl
%perl_vendorlib/auto/CDDB_get
%perl_vendorlib/auto/CDDB_cache
%perl_vendorarch/auto/CDDB_get
/var/adm/perl-modules/perl-CDDB_get

%changelog
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 04 2006 mmj@suse.de
- Update to 2.27
* Tue Jul 19 2005 mmj@suse.de
- Update to 2.25
* Tue Jan 20 2004 mmj@suse.de
- Make tempdir securely [#33811]
- Update to 2.23
* Thu Oct 16 2003 mmj@suse.de
- Don't build as root
- Use %%perl_make_install
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Mon Jul 21 2003 mmj@suse.de
- Update to 2.2, which adds direct device handling in cddb.pl
  (-c /dev/xxx option) and fixes firewall with additional "\n"
  (-F option)
* Mon Jul 14 2003 mmj@suse.de
- Use vendor_install target and friends
* Tue Jul 01 2003 mmj@suse.de
- Use %%perl_process_packlist
* Sun Jun 22 2003 coolo@suse.de
- package directories
* Tue May 13 2003 mmj@suse.de
- Package everything
* Sun Feb 02 2003 mmj@suse.de
- Up to 2.11 which is a small proxy regex bugfix
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Tue May 14 2002 mmj@suse.de
- Initial package. Module and script to access CDDB.