Merged from SVN repos fedora and centos
This commit is contained in:
49
fedora/SPECS/perl-Audio-Cuefile-Parser.spec
Normal file
49
fedora/SPECS/perl-Audio-Cuefile-Parser.spec
Normal file
@@ -0,0 +1,49 @@
|
||||
# END SourceDeps(oneline)
|
||||
%define module_version 0.02
|
||||
%define module_name Audio-Cuefile-Parser
|
||||
%define _unpackaged_files_terminate_build 1
|
||||
BuildRequires: perl-devel perl-podlators
|
||||
BuildRequires: perl-ExtUtils-MakeMaker
|
||||
|
||||
Name: perl-%module_name
|
||||
Version: 0.02
|
||||
Release: 1%{?dist}
|
||||
Summary: perl module %module_name
|
||||
Group: Development/Perl
|
||||
License: perl
|
||||
Url: %module_name
|
||||
|
||||
Source0: http://cpan.org.ua/authors/id/M/MA/MATTK/%module_name-%module_version.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
%summary
|
||||
|
||||
%prep
|
||||
%setup -n %module_name
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%files
|
||||
%doc README Changes
|
||||
%perl_vendorlib/A*
|
||||
%_mandir/man3/Audio::Cuefile::Parser.3pm.gz
|
||||
|
||||
%changelog
|
||||
* Thu Sep 19 2013 Igor Vlasenko <viy@altlinux.ru> 0.02-alt1
|
||||
- initial import by package builder
|
||||
|
||||
Reference in New Issue
Block a user