automatic update by autodist [release 0.103006-1mamba;Fri Oct 25 2013]
This commit is contained in:
parent
9b81fc4d86
commit
ece7ba2a6c
@ -1,2 +1,4 @@
|
|||||||
# perl-Software-License
|
# perl-Software-License
|
||||||
|
|
||||||
|
Software::License - packages that provide templated software licenses
|
||||||
|
|
||||||
|
72
perl-Software-License.spec
Normal file
72
perl-Software-License.spec
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
|
Name: perl-Software-License
|
||||||
|
Version: 0.103006
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Software::License - packages that provide templated software licenses
|
||||||
|
Group: System/Libraries/Perl
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
||||||
|
URL: http://www.cpan.org
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Software-License-%{version}.tar.gz
|
||||||
|
License: GPL, Artistic
|
||||||
|
Requires: perl >= %perl_major_ver
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: perl-Data-Section
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
BuildRequires: perl-Sub-Install
|
||||||
|
BuildRequires: perl-Text-Template
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
Software::License - packages that provide templated software licenses
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%setup -q -n Software-License-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||||
|
%make
|
||||||
|
%make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall_perl
|
||||||
|
packlist=`find %{buildroot} -name .packlist`
|
||||||
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
||||||
|
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
|
||||||
|
sort -u > .packlist && rm $packlist
|
||||||
|
|
||||||
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
||||||
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
||||||
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
||||||
|
done
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
rm -f .packlist
|
||||||
|
|
||||||
|
%files -f .packlist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Oct 25 2013 Automatic Build System <autodist@mambasoft.it> 0.103006-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Fri Jan 11 2013 Automatic Build System <autodist@mambasoft.it> 0.103005-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Nov 19 2012 Automatic Build System <autodist@mambasoft.it> 0.103004-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.008-3mamba
|
||||||
|
- perl 5.16 mass rebuild
|
||||||
|
|
||||||
|
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.008-2mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Mon Oct 20 2008 gil <puntogil@libero.it> 0.008-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user