%define module XML-NamespaceSupport %define version 1.04 %define release 2mdk Summary: %{module} module for perl Name: perl-%{module} Version: %{version} Release: %{release} License: MPL Group: Development/Perl Source0: %{module}-%{version}.tar.bz2 Url: http://www.cpan.org BuildRequires: perl-devel BuildRoot: %{_tmppath}/%{name}-%{version}buildroot/ Requires: perl >= 5.600 BuildArch: noarch %description %{module} module for perl This module offers a simple to process namespaced XML names (unames) from within any application that may need them. It also helps maintain a prefix to namespace URI map, and provides a number of basic checks. %prep %setup -q -n %{module}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL 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 make PREFIX=$RPM_BUILD_ROOT%{_prefix} install # call spec-helper before creating the file list s=/usr/share/spec-helper/spec-helper ; [ -x $s ] && $s find $RPM_BUILD_ROOT%{_prefix} -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" | grep -v perllocal.pod > %{module}-%{version}-filelist chmod 644 Changes MANIFEST README %files -f %{module}-%{version}-filelist %defattr(-,root,root) %doc Changes MANIFEST README %changelog * Wed Jan 30 2002 Christian Belisle <cbelisle@mandrakesoft.com> 1.04-2mdk - Fix changelog * Tue Jan 29 2002 Christian Belisle <cbelisle@mandrakesoft.com> 1.04-1mdk - initial RPM