File perl-CDDB_get.spec of Package perl-CDDB_get
#
# spec file for package perl-CDDB_get (Version 2.27)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-CDDB_get
Version: 2.27
Release: 135
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
Source1: cddb.pl.1.gz
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
%check
make test
%install
%perl_make_install
%perl_process_packlist
install -d -m755 $RPM_BUILD_ROOT/%{_mandir}/man1
install -m644 %{SOURCE1} $RPM_BUILD_ROOT/%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README MANIFEST Artistic Changes Copying
%doc %_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
* Tue Feb 03 2009 kssingvo@suse.de
- added manpage
- 'make test' now in separate %%check section
* 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.