|
|
b1a1e88 |
%global debug_package %{nil}
|
|
|
b1a1e88 |
|
|
|
b1a1e88 |
Name: perl-WebService-MusicBrainz
|
|
|
b1a1e88 |
Version: 1.0.5
|
|
|
b1a1e88 |
Release: 3%{?dist}
|
|
|
b1a1e88 |
Summary: Perl interface to search the musicbrainz.org database
|
|
|
b1a1e88 |
License: Artistic 2.0 or GPL+
|
|
|
b1a1e88 |
URL: https://metacpan.org/release/WebService-MusicBrainz
|
|
|
b1a1e88 |
Source0: https://cpan.metacpan.org/authors/id/B/BF/BFAIST/WebService-MusicBrainz-%{version}.tar.gz
|
|
|
b1a1e88 |
BuildArch: noarch
|
|
|
b1a1e88 |
BuildRequires: gcc
|
|
|
b1a1e88 |
BuildRequires: perl-devel
|
|
|
b1a1e88 |
BuildRequires: perl-generators
|
|
|
b1a1e88 |
BuildRequires: perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig)
|
|
|
b1a1e88 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
b1a1e88 |
BuildRequires: perl-Mojolicious
|
|
|
b1a1e88 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
b1a1e88 |
Requires: pkgconf-pkg-config
|
|
|
b1a1e88 |
|
|
|
b1a1e88 |
%{?perl_default_filter}
|
|
|
b1a1e88 |
|
|
|
b1a1e88 |
%description
|
|
|
b1a1e88 |
This module will search the MusicBrainz database through their web service and
|
|
|
b1a1e88 |
return objects with the found data.
|
|
|
b1a1e88 |
|
|
|
b1a1e88 |
%prep
|
|
|
b1a1e88 |
%setup -q -n WebService-MusicBrainz-%{version}
|
|
|
b1a1e88 |
|
|
|
b1a1e88 |
%build
|
|
|
b1a1e88 |
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
b1a1e88 |
make %{?_smp_mflags}
|
|
|
b1a1e88 |
|
|
|
b1a1e88 |
%install
|
|
|
b1a1e88 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
b1a1e88 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
b1a1e88 |
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|
|
b1a1e88 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
b1a1e88 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
b1a1e88 |
|
|
|
b1a1e88 |
%check
|
|
|
b1a1e88 |
%{?_with_testsuite:make test}
|
|
|
b1a1e88 |
|
|
|
b1a1e88 |
%files
|
|
|
b1a1e88 |
%doc Changes README.md
|
|
|
b1a1e88 |
%{_mandir}/man3/WebService::MusicBrainz*.3pm*
|
|
|
b1a1e88 |
%perl_vendorlib/WebService
|
|
|
b1a1e88 |
|
|
|
b1a1e88 |
%changelog
|
|
|
b1a1e88 |
* Tue Oct 08 2019 Gerald Cox <gbcox@fedoraproject.org> - 1.0.5-3
|
|
|
b1a1e88 |
- Description change, files changes rhbz#1758929
|
|
|
b1a1e88 |
|
|
|
b1a1e88 |
* Mon Oct 07 2019 Gerald Cox <gbcox@fedoraproject.org> - 1.0.5-2
|
|
|
b1a1e88 |
- BuildArch noarch, License Artistic 2.0 or GPL+ rhbz#1758929
|
|
|
b1a1e88 |
|
|
|
b1a1e88 |
* Sun Oct 06 2019 Gerald Cox <gbcox@fedoraproject.org> - 1.0.5-1
|
|
|
b1a1e88 |
- Initial build rhbz#1758929
|