|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package perl-CDDB_get
|
|
|
|
# spec file for package perl-CDDB_get
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
@@ -12,27 +12,31 @@
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-CDDB_get
|
|
|
|
|
|
|
|
Version: 2.28
|
|
|
|
|
|
|
|
Release: 0
|
|
|
|
|
|
|
|
#Upstream: This library is released under the same conditions as Perl, that is, either of the following: a) the GNU General Public License Version 2 as published by the Free Software Foundation, b) the Artistic License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details. You should have received a copy of the Artistic License with this Kit, in the file named "Artistic". If not, I'll be glad to provide one. You should also have received a copy of the GNU General Public License along with this program, in the file names "Copying"; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. If you use this library in a commercial enterprise, you are invited, but not required, to pay what you feel is a reasonable fee to the author, who can be contacted at armin@xos.net
|
|
|
|
|
|
|
|
%define cpan_name CDDB_get
|
|
|
|
%define cpan_name CDDB_get
|
|
|
|
Summary: Read the CDDB entry for an audio CD in your drive
|
|
|
|
Name: perl-CDDB_get
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
|
|
|
Version: 2.280.0
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Release: 0
|
|
|
|
Url: http://search.cpan.org/dist/CDDB_get/
|
|
|
|
# 2.28 -> normalize -> 2.280.0
|
|
|
|
Source0: http://www.cpan.org/authors/id/F/FO/FONKIE/%{cpan_name}-%{version}.tar.gz
|
|
|
|
%define cpan_version 2.28
|
|
|
|
|
|
|
|
#Upstream: This library is released under the same conditions as Perl, that is, either of the following: a) the GNU General Public License Version 2 as published by the Free Software Foundation, b) the Artistic License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details. You should have received a copy of the Artistic License with this Kit, in the file named "Artistic". If not, I'll be glad to provide one. You should also have received a copy of the GNU General Public License along with this program, in the file names "Copying"; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. If you use this library in a commercial enterprise, you are invited, but not required, to pay what you feel is a reasonable fee to the author, who can be contacted at armin@xos.net
|
|
|
|
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
|
|
|
|
|
|
Summary: This module/script gets the CDDB info for an audio cd
|
|
|
|
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/F/FO/FONKIE/%{cpan_name}-%{cpan_version}.tar.gz
|
|
|
|
Source1: cddb.pl.1.gz
|
|
|
|
Source1: cddb.pl.1.gz
|
|
|
|
Source2: cpanspec.yml
|
|
|
|
Source2: cpanspec.yml
|
|
|
|
|
|
|
|
Source100: README.md
|
|
|
|
Patch0: %name-2.23-tmpfile.diff
|
|
|
|
Patch0: %name-2.23-tmpfile.diff
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
|
|
|
|
Provides: perl(CDDB_cache) = 1.0.0
|
|
|
|
|
|
|
|
Provides: perl(CDDB_get) = %{version}
|
|
|
|
|
|
|
|
%undefine __perllib_provides
|
|
|
|
%{perl_requires}
|
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@@ -41,26 +45,26 @@ SUNOS or *BSD, a cdrom drive and an active internet connection in order to
|
|
|
|
do that.
|
|
|
|
do that.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n %{cpan_name}-%{version}
|
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%{__make} test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# MANUAL BEGIN
|
|
|
|
# MANUAL BEGIN
|
|
|
|
install -d -m755 $RPM_BUILD_ROOT/%{_mandir}/man1
|
|
|
|
install -d -m755 $RPM_BUILD_ROOT/%{_mandir}/man1
|
|
|
|
install -m644 %{SOURCE1} $RPM_BUILD_ROOT/%{_mandir}/man1
|
|
|
|
install -m644 %{SOURCE1} $RPM_BUILD_ROOT/%{_mandir}/man1
|
|
|
|
# MANUAL END
|
|
|
|
# MANUAL END
|
|
|
|
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Changes DATABASE README
|
|
|
|
%doc Artistic Changes Copying DATABASE README
|
|
|
|
%license Artistic Copying
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|