2011-11-17 15:38:45 +00:00
#
# spec file for package perl-MP3-Tag
#
2024-07-24 20:18:02 +00:00
# Copyright (c) 2024 SUSE LLC
2011-11-17 15:38:45 +00:00
#
# 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.
2019-04-03 10:00:07 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2011-11-17 15:38:45 +00:00
#
2021-06-15 10:23:22 +00:00
%define cpan_name MP3-Tag
2011-03-18 23:31:29 +00:00
Name : perl-MP3-Tag
2024-07-24 20:18:02 +00:00
Version : 1.160.0
2011-03-18 23:31:29 +00:00
Release : 0
2024-07-24 20:18:02 +00:00
# 1.16 -> normalize -> 1.160.0
%define cpan_version 1.16
2021-06-15 10:23:22 +00:00
#Upstream: reserved. This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, distributed with Perl.
2019-09-05 18:28:17 +00:00
License : Artistic-2.0
2022-12-14 08:57:48 +00:00
Summary : Module for reading tags of MP3 audio files
2021-06-15 10:23:22 +00:00
URL : https://metacpan.org/release/%{cpan_name}
2024-07-24 20:18:02 +00:00
Source0 : https://cpan.metacpan.org/authors/id/I/IL/ILYAZ/modules/%{cpan_name} -%{cpan_version} .zip
2016-09-30 10:01:55 +00:00
Source1 : cpanspec.yml
2025-08-12 18:15:54 +02:00
Source100 : README.md
2016-09-30 10:01:55 +00:00
BuildArch : noarch
BuildRequires : perl
2011-03-18 23:31:29 +00:00
BuildRequires : perl-macros
2024-07-24 20:18:02 +00:00
Provides : perl(Encode::transliterate_win1251)
Provides : perl(MP3::Tag)
Provides : perl(MP3::Tag::CDDB_File)
Provides : perl(MP3::Tag::Cue)
Provides : perl(MP3::Tag::File)
Provides : perl(MP3::Tag::ID3v1)
Provides : perl(MP3::Tag::ID3v2) = 1.140.0
Provides : perl(MP3::Tag::ImageExifTool)
Provides : perl(MP3::Tag::ImageSize)
Provides : perl(MP3::Tag::Implemenation)
Provides : perl(MP3::Tag::Inf)
Provides : perl(MP3::Tag::LastResort)
Provides : perl(MP3::Tag::ParseData)
Provides : perl(MP3::Tag::__hasparent)
Provides : perl(MP3::Tag::__proxy)
Provides : perl(Normalize::Text::Music_Fields) = 0.20.0
%undefine __perllib_provides
2016-09-30 10:01:55 +00:00
%{perl_requires}
2019-04-03 10:00:07 +00:00
# MANUAL BEGIN
BuildRequires : unzip
# MANUAL END
2011-03-18 23:31:29 +00:00
%description
2016-09-30 10:01:55 +00:00
'MP3::Tag' is a wrapper module to read different tags of mp3 files. It
2011-03-18 23:31:29 +00:00
provides an easy way to access the functions of separate modules which do
the handling of reading/writing the tags itself.
2016-09-30 10:01:55 +00:00
2011-03-18 23:31:29 +00:00
At the moment MP3::Tag::ID3v1 and MP3::Tag::ID3v2 are supported for read
and write; MP3::Tag::ImageExifTool, MP3::Tag::Inf, MP3::Tag::CDDB_File,
MP3::Tag::File, MP3::Tag::Cue, MP3::Tag::ImageSize, MP3::Tag::LastResort
are supported for read access (the information obtained by Image::ExifTool
2016-09-30 10:01:55 +00:00
(if present), parsing CDDB files, _.inf_ file, the filename, and _.cue_
file, and obtained via Image::Size) (if present).
2011-03-18 23:31:29 +00:00
2016-09-30 10:01:55 +00:00
%prep
2024-07-24 20:18:02 +00:00
%autosetup -n %{cpan_name} -%{cpan_version}
2011-03-18 23:31:29 +00:00
%build
2019-04-03 10:00:07 +00:00
perl Makefile.PL INSTALLDIRS=vendor
2021-06-15 10:23:22 +00:00
%make_build
2016-09-30 10:01:55 +00:00
%check
2019-04-03 10:00:07 +00:00
make test
2011-03-18 23:31:29 +00:00
%install
%perl_make_install
%perl_process_packlist
2016-09-30 10:01:55 +00:00
%perl_gen_filelist
2011-03-18 23:31:29 +00:00
2016-09-30 10:01:55 +00:00
%files -f %{name}.files
%doc cddb.tm cddb.tmp Changes examples README.shrink README.txt test.mp3 TODO
2011-03-18 23:31:29 +00:00
2011-11-17 15:38:45 +00:00
%changelog