diff --git a/README.md b/README.md index 9d2d599..6827623 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Devel-Symdump +This little package serves to access the symbol table of perl. + diff --git a/perl-Devel-Symdump.spec b/perl-Devel-Symdump.spec new file mode 100644 index 0000000..9a4b53d --- /dev/null +++ b/perl-Devel-Symdump.spec @@ -0,0 +1,74 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Devel-Symdump +Version: 2.11 +Release: 1mamba +Summary: Devel::Symdump - Dump symbol names or the symbol table +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +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 +* Wed Oct 30 2013 Automatic Build System 2.11-1mamba +- automatic update by autodist + +* Sat Mar 30 2013 Automatic Build System 2.10-1mamba +- automatic version update by autodist + +* Mon Nov 12 2012 Silvan Calarco 2.08_53-2mamba +- perl 5.16 mass rebuild + +* Mon May 21 2012 Automatic Build System 2.08_53-1mamba +- automatic version update by autodist + +* Tue Nov 04 2008 Silvan Calarco 2.08-2mamba +- automatic rebuild by autodist + +* Fri May 30 2008 gil 2.08-1mamba +- package created by autospec + +* Mon Jan 24 2005 Davide Madrisan 2.03-1qilnx +- package created by autospec \ No newline at end of file