2004-09-09 10:08:53 +00:00
|
|
|
%define _use_internal_dependency_generator 0
|
|
|
|
|
2004-09-09 10:08:34 +00:00
|
|
|
Summary: A Perl module for inspecting Perl's symbol table.
|
|
|
|
Name: perl-Devel-Symdump
|
|
|
|
Version: 2.03
|
2004-09-09 10:09:09 +00:00
|
|
|
Release: 13
|
2004-09-09 10:08:34 +00:00
|
|
|
License: distributable
|
|
|
|
Group: Applications/CPAN
|
|
|
|
Source0: Devel-Symdump-%{version}.tar.gz
|
|
|
|
Url: http://www.cpan.org
|
|
|
|
BuildRoot: /var/tmp/perl-Devel-Symdump-buildroot/
|
|
|
|
BuildRequires: perl >= 0:5.00503
|
|
|
|
Requires: perl >= 0:5.00503
|
|
|
|
Provides: perl(Devel::Symdump)
|
|
|
|
|
|
|
|
%description
|
|
|
|
The perl module Devel::Symdump provides a convenient way to inspect
|
|
|
|
perl's symbol table and the class hierarchie within a running program.
|
|
|
|
|
|
|
|
# Provide perl-specific find-{provides,requires}.
|
|
|
|
%define __find_provides /usr/lib/rpm/find-provides.perl
|
|
|
|
%define __find_requires /usr/lib/rpm/find-requires.perl
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Devel-Symdump-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
|
|
|
|
make
|
|
|
|
make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install
|
|
|
|
|
|
|
|
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
|
|
|
|
|
2004-09-09 10:08:53 +00:00
|
|
|
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
|
|
|
|
|
2004-09-09 10:08:34 +00:00
|
|
|
find $RPM_BUILD_ROOT/usr -type f -print |
|
|
|
|
sed "s@^$RPM_BUILD_ROOT@@g" |
|
|
|
|
grep -v perllocal.pod |
|
|
|
|
grep -v "\.packlist" > Devel-Symdump-%{version}-filelist
|
|
|
|
if [ "$(cat Devel-Symdump-%{version}-filelist)X" = "X" ] ; then
|
|
|
|
echo "ERROR: EMPTY FILE LIST"
|
|
|
|
exit -1
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files -f Devel-Symdump-%{version}-filelist
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 10:08:53 +00:00
|
|
|
%dir /usr/lib/perl5/vendor_perl/%(perl -MConfig -e 'print $Config{version}')/Devel/Symdump
|
2004-09-09 10:08:34 +00:00
|
|
|
|
|
|
|
%changelog
|
2004-09-09 10:09:09 +00:00
|
|
|
* Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 10:08:34 +00:00
|
|
|
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
|
|
|
|
- automated release bump and build
|
|
|
|
|
|
|
|
* Tue Jun 4 2002 Chip Turner <cturner@redhat.com>
|
|
|
|
- properly claim directories owned by package so they are removed when package is removed
|
|
|
|
|
|
|
|
* Sat Jan 26 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- added provides
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Mon Apr 30 2001 Chip Turner <cturner@redhat.com>
|
|
|
|
- Spec file was autogenerated.
|