2024-01-06 09:36:22 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Software-License
|
2024-01-06 09:36:23 +01:00
|
|
|
Version: 0.104004
|
2024-01-06 09:36:23 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 09:36:22 +01:00
|
|
|
Summary: Software::License - packages that provide templated software licenses
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 09:36:22 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 09:36:22 +01:00
|
|
|
URL: https://www.cpan.org/
|
2024-01-06 09:36:22 +01:00
|
|
|
Source: https://cpan.metacpan.org/authors/id/L/LE/LEONT/Software-License-%{version}.tar.gz
|
2024-01-06 09:36:22 +01:00
|
|
|
License: GPL, Artistic
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 09:36:22 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-06 09:36:22 +01:00
|
|
|
BuildRequires: perl-Data-Section
|
|
|
|
BuildRequires: perl-Text-Template
|
2024-01-06 09:36:22 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-06 09:36:22 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 09:36:22 +01:00
|
|
|
BuildRequires: perl >= 2:5.36.0
|
2024-01-06 09:36:22 +01:00
|
|
|
Requires: perl >= %perl_major_ver
|
2024-01-06 09:36:22 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Software::License - packages that provide templated software licenses
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Software-License-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 09:36:22 +01:00
|
|
|
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
2024-01-06 09:36:22 +01:00
|
|
|
%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
|
2024-01-06 09:36:23 +01:00
|
|
|
* Wed May 24 2023 Automatic Build System <autodist@mambasoft.it> 0.104004-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:36:23 +01:00
|
|
|
* Sat May 20 2023 Automatic Build System <autodist@mambasoft.it> 0.104003-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:36:22 +01:00
|
|
|
* Mon Apr 17 2023 Sdk Build System <sdk@mambasoft.it> 0.104002-2mamba
|
|
|
|
- rebuilt with perl 5.36.0
|
|
|
|
|
2024-01-06 09:36:22 +01:00
|
|
|
* Fri Feb 03 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.104002-1mamba
|
|
|
|
- update to 0.104002
|
|
|
|
|
2024-01-06 09:36:22 +01:00
|
|
|
* Mon Jan 10 2022 Automatic Build System <autodist@mambasoft.it> 0.104001-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:36:22 +01:00
|
|
|
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 0.103012-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:36:22 +01:00
|
|
|
* Wed Jan 27 2016 Automatic Build System <autodist@mambasoft.it> 0.103011-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:36:22 +01:00
|
|
|
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 0.103010-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:36:22 +01:00
|
|
|
* 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
|