perl 5.16 mass rebuild [release 2.07-3mamba;Tue Nov 13 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 09:51:41 +01:00
parent 1ec51cb02a
commit 01f2518fc7
2 changed files with 67 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-Unicode-Jcode # perl-Unicode-Jcode
This module implements following subs as XS.

65
perl-Unicode-Jcode.spec Normal file
View File

@ -0,0 +1,65 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Unicode-Jcode
Version: 2.07
Release: 3mamba
Summary: This module implements following subs as XS
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cpan.org
Source: http://www.cpan.org/authors/id/D/DA/DANKOGAI/Jcode-%{version}.tar.gz
License: Artistic, GPL
Requires: perl >= %perl_major_ver
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This module implements following subs as XS.
%prep
%setup -q -n Jcode-%{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
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.07-3mamba
- perl 5.16 mass rebuild
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.07-2mamba
- automatic rebuild by autodist
* Sat Jul 26 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.07-1mamba
- update to 2.07
* Wed Oct 11 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.06-1qilnx
- update to version 2.06 by autospec
* Thu Dec 29 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.03-1qilnx
- package created by autospec