2024-01-06 08:52:58 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Devel-Symdump
|
2024-01-06 08:52:58 +01:00
|
|
|
Version: 2.12
|
2024-01-06 08:52:58 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Devel::Symdump - Dump symbol names or the symbol table
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Davide Madrisan <davide.madrisan@qilinux.it>
|
|
|
|
URL: http://www.cpan.org
|
|
|
|
Source: http://www.cpan.org/authors/id/A/AN/ANDK/Devel-Symdump-%{version}.tar.gz
|
|
|
|
License: Perl, GPL, Artistic
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: perl-devel >= %perl_major_ver
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
This little package serves to access the symbol table of perl.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%setup -q -n Devel-Symdump-%{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
|
2024-01-06 08:52:58 +01:00
|
|
|
* Sat Jul 05 2014 Automatic Build System <autodist@mambasoft.it> 2.12-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:52:58 +01:00
|
|
|
* Wed Oct 30 2013 Automatic Build System <autodist@mambasoft.it> 2.11-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 30 2013 Automatic Build System <autodist@mambasoft.it> 2.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.08_53-2mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Mon May 21 2012 Automatic Build System <autodist@mambasoft.it> 2.08_53-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Nov 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.08-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri May 30 2008 gil <puntogil@libero.it> 2.08-1mamba
|
|
|
|
- package created by autospec
|
|
|
|
|
|
|
|
* Mon Jan 24 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.03-1qilnx
|
|
|
|
- package created by autospec
|