Initial import after review
This commit is contained in:
parent
8704ea8eb6
commit
5fe7029607
|
@ -0,0 +1,4 @@
|
||||||
|
Software-License-0.008.tar.gz
|
||||||
|
.build*.log
|
||||||
|
*.rpm
|
||||||
|
noarch
|
|
@ -0,0 +1,62 @@
|
||||||
|
Name: perl-Software-License
|
||||||
|
Version: 0.008
|
||||||
|
Release: 3%{?dist}
|
||||||
|
Summary: Package that provides templated software licenses
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://search.cpan.org/dist/Software-License/
|
||||||
|
# For unknown reasons this module URL is currently missing
|
||||||
|
#Source0: http://www.cpan.org/modules/by-module/Software/Software-License-%{version}.tar.gz
|
||||||
|
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Software-License-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl >= 1:5.6.0
|
||||||
|
BuildRequires: perl(Data::Section) >= 0.000
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(Sub::Install) >= 0.000
|
||||||
|
BuildRequires: perl(Text::Template) >= 0.000
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
Software-License contains templates for common open source software licenses.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Software-License-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||||
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes LICENSE README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Sep 20 2008 Daniel P. Berrange <berrange@redhat.com> 0.008-3
|
||||||
|
- Remove explicit requires that duplicate automatic perl deps
|
||||||
|
|
||||||
|
* Sat Sep 06 2008 Daniel P. Berrange <berrange@redhat.com> 0.008-2
|
||||||
|
- Fix description
|
||||||
|
- Add missing Test::More BR
|
||||||
|
|
||||||
|
* Fri Sep 05 2008 Daniel P. Berrange <berrange@redhat.com> 0.008-1
|
||||||
|
- Specfile autogenerated by cpanspec 1.77.
|
Loading…
Reference in New Issue