forked from pool/perl-CDDB_get
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
84579246fe | |||
cd1ab43c11 |
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 12 17:53:32 UTC 2025 - Tina Müller <tina.mueller@suse.com>
|
||||
|
||||
- Normalize CPAN version
|
||||
See https://github.com/openSUSE/cpanspec/issues/47 for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 4 12:32:41 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
@@ -129,4 +135,3 @@ Tue May 14 10:36:29 CEST 2002 - mmj@suse.de
|
||||
|
||||
- Initial package. Module and script to access CDDB.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,27 +12,30 @@
|
||||
# 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/
|
||||
# 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
|
||||
Summary: Read the CDDB entry for an audio CD in your drive
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/CDDB_get/
|
||||
Source0: http://www.cpan.org/authors/id/F/FO/FONKIE/%{cpan_name}-%{version}.tar.gz
|
||||
Name: perl-CDDB_get
|
||||
Version: 2.280.0
|
||||
Release: 0
|
||||
# 2.28 -> normalize -> 2.280.0
|
||||
%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
|
||||
Source2: cpanspec.yml
|
||||
Patch0: %name-2.23-tmpfile.diff
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
Provides: perl(CDDB_cache) = 1.0.0
|
||||
Provides: perl(CDDB_get) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -41,26 +44,26 @@ SUNOS or *BSD, a cdrom drive and an active internet connection in order to
|
||||
do that.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
# MANUAL BEGIN
|
||||
install -d -m755 $RPM_BUILD_ROOT/%{_mandir}/man1
|
||||
install -m644 %{SOURCE1} $RPM_BUILD_ROOT/%{_mandir}/man1
|
||||
# MANUAL END
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Artistic Changes Copying DATABASE README
|
||||
%doc Changes DATABASE README
|
||||
%license Artistic Copying
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user