# # spec file for package perl-Music-Tag # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define cpan_name Music-Tag Name: perl-Music-Tag Version: 0.410.300 Release: 0 # 0.4103 -> normalize -> 0.410.300 %define cpan_version 0.4103 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Interface for collecting information about music files URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/E/EA/EALLENIII/%{cpan_name}-%{cpan_version}.tar.gz Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Config::Options) >= 0.70.0 BuildRequires: perl(DateTimeX::Easy) >= 0.88.0 BuildRequires: perl(Digest::SHA1) >= 2.11 BuildRequires: perl(File::Slurp) >= 1 BuildRequires: perl(File::Spec) >= 3.24 BuildRequires: perl(Locale::Country) >= 2.07 BuildRequires: perl(Readonly) >= 1 BuildRequires: perl(Scalar::Util) >= 1.21 BuildRequires: perl(Time::Local) >= 1.19 Requires: perl(Config::Options) >= 0.70.0 Requires: perl(DateTimeX::Easy) >= 0.88.0 Requires: perl(Digest::SHA1) >= 2.11 Requires: perl(File::Slurp) >= 1 Requires: perl(File::Spec) >= 3.24 Requires: perl(Locale::Country) >= 2.07 Requires: perl(Readonly) >= 1 Requires: perl(Scalar::Util) >= 1.21 Requires: perl(Time::Local) >= 1.19 Provides: perl(Music::Tag) = %{version} Provides: perl(Music::Tag::Auto) Provides: perl(Music::Tag::Generic) Provides: perl(Music::Tag::Option) Provides: perl(Music::Tag::Test) %undefine __perllib_provides %{perl_requires} %description Extendable module for working with Music Tags. Music::Tag Is powered by various plugins that collect data about a song based on whatever information has already been discovered. The motivation behind this was to provide a convenient method for fixing broken tags in music files. This developed into a universal interface to various music file tagging schemes and a convenient way to augment this from online databases. Several plugin modules to find information about a music file and write it back into the tag are available. These modules will use available information (*REQUIRED DATA VALUES* and *USED DATA VALUES*) and set various data values back to the tag. %prep %autosetup -n %{cpan_name}-%{cpan_version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes README TODO %license Artistic Copying %changelog