- Minor spec cleanup.
- Add COPYING and Artistic.
This commit is contained in:
parent
c2ace78dda
commit
d7611f0de1
@ -1,59 +1,61 @@
|
||||
Name: perl-Module-Build
|
||||
Version: 0.2611
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Perl module for building and installing Perl modules
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
URL: http://search.cpan.org/dist/Module-Build/
|
||||
Source0: http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Module-Build-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::ParseXS), perl(YAML) >= 0.35, perl(YAML) < 0.49
|
||||
Requires: perl(ExtUtils::ParseXS), perl(YAML) >= 0.35, perl(YAML) < 0.49
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
Perl module for building and installing Perl modules, a replacement to
|
||||
ExtUtils::MakeMaker.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n Module-Build-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%check || :
|
||||
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
||||
|
||||
perldoc -t perlgpl > COPYING
|
||||
perldoc -t perlartistic > Artistic
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%doc Changes README COPYING Artistic
|
||||
%{_bindir}/config_data
|
||||
%{perl_vendorlib}/Module
|
||||
%{_mandir}/man1/config_data.1*
|
||||
%{_mandir}/man3/Module::Build*.3*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> - 0.2611-2
|
||||
- Minor spec cleanup.
|
||||
- Add COPYING and Artistic.
|
||||
|
||||
* Wed Jul 06 2005 Steven Pritchard <steve@kspei.com> - 0.2611-1
|
||||
- Update to 0.2611
|
||||
- Update to 0.2611.
|
||||
|
||||
* Sat May 7 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.2610-3
|
||||
- Rebuild.
|
||||
|
Loading…
Reference in New Issue
Block a user