perl-MusicBrainz-Queries/perl-MusicBrainz-Queries.spec

Name: perl-MusicBrainz-Queries
Summary: Perl module that implements MusicBrainz RDF Query Constants
Version: 0.11
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/MusicBrainz-Queries/
Description: perl-MusicBrainz-Queries is a Perl module that implements MusicBrainz RDF Query Constants.

CentOS 7 x86_64

The build could not start because the following file is missing: MusicBrainz-Queries-0.11.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: MusicBrainz-Queries-0.11.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Sander van Zoest <svanzoest$cpan,org>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name MusicBrainz-Queries

Summary: Perl module that implements MusicBrainz RDF Query Constants
Name: perl-MusicBrainz-Queries
Version: 0.11
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/MusicBrainz-Queries/

Source: http://www.cpan.org/modules/by-module/MusicBrainz/MusicBrainz-Queries-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl

%description
perl-MusicBrainz-Queries is a Perl module that implements MusicBrainz
RDF Query Constants.

%prep
%setup -n %{real_name}-%{version}

%build
CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README
%doc %{_mandir}/man3/MusicBrainz::Queries.3pm*
%dir %{perl_vendorarch}/MusicBrainz/
%{perl_vendorarch}/MusicBrainz/Queries.pm
%dir %{perl_vendorarch}/auto/MusicBrainz/
%{perl_vendorarch}/auto/MusicBrainz/Queries/

%changelog
* Wed Oct 10 2007 Dag Wieers <dag@wieers.com> - 0.11-1
- Initial package. (using DAR)