auto-import changelog data from perl-XML-NamespaceSupport-1.08-5.src.rpm
Thu Oct 17 2002 cturner@redhat.com - Specfile autogenerated
This commit is contained in:
parent
64c8385159
commit
4fd72a2310
@ -0,0 +1 @@
|
||||
XML-NamespaceSupport-1.08.tar.gz
|
||||
53
perl-XML-NamespaceSupport.spec
Normal file
53
perl-XML-NamespaceSupport.spec
Normal file
@ -0,0 +1,53 @@
|
||||
Name: perl-XML-NamespaceSupport
|
||||
Version: 1.08
|
||||
Release: 5
|
||||
Summary: XML-NamespaceSupport Perl module
|
||||
License: distributable
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/search?mode=module&query=XML%3a%3aNamespaceSupport
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
Buildarch: noarch
|
||||
BuildRequires: perl >= 1:5.6.1
|
||||
Requires: %(perl -MConfig -le 'if (defined $Config{useithreads}) { print "perl(:WITH_ITHREADS)" } else { print "perl(:WITHOUT_ITHREADS)" }')
|
||||
Requires: %(perl -MConfig -le 'if (defined $Config{usethreads}) { print "perl(:WITH_THREADS)" } else { print "perl(:WITHOUT_THREADS)" }')
|
||||
Requires: %(perl -MConfig -le 'if (defined $Config{uselargefiles}) { print "perl(:WITH_LARGEFILES)" } else { print "perl(:WITHOUT_LARGEFILES)" }')
|
||||
Source0: XML-NamespaceSupport-1.08.tar.gz
|
||||
|
||||
%description
|
||||
XML-NamespaceSupport Perl module
|
||||
%prep
|
||||
%setup -q -n XML-NamespaceSupport-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
|
||||
make
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%install
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
eval `perl '-V:installarchlib'`
|
||||
mkdir -p $RPM_BUILD_ROOT/$installarchlib
|
||||
%makeinstall
|
||||
rm -f `find $RPM_BUILD_ROOT -type f -name perllocal.pod -o -name .packlist`
|
||||
|
||||
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
|
||||
|
||||
find $RPM_BUILD_ROOT/usr -type f -print | \
|
||||
sed "s@^$RPM_BUILD_ROOT@@g" | \
|
||||
grep -v perllocal.pod | \
|
||||
grep -v "\.packlist" > XML-NamespaceSupport-%{version}-filelist
|
||||
if [ "$(cat XML-NamespaceSupport-%{version}-filelist)X" = "X" ] ; then
|
||||
echo "ERROR: EMPTY FILE LIST"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
%files -f XML-NamespaceSupport-%{version}-filelist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Thu Oct 17 2002 cturner@redhat.com
|
||||
- Specfile autogenerated
|
||||
|
||||
Loading…
Reference in New Issue
Block a user