79 lines
2.0 KiB
RPMSpec
79 lines
2.0 KiB
RPMSpec
Name: perl-XML-NamespaceSupport
|
|
Version: 1.09
|
|
Release: 2%{?dist}.1
|
|
Summary: A simple generic namespace support class
|
|
|
|
Group: Development/Libraries
|
|
License: GPL+ or Artistic
|
|
Url: http://search.cpan.org/dist/XML-NamespaceSupport/
|
|
Source0: http://www.cpan.org/authors/id/R/RB/RBERJON/XML-NamespaceSupport-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
|
|
%prep
|
|
%setup -q -n XML-NamespaceSupport-%{version}
|
|
chmod -c 644 Changes README *.pm
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc Changes README
|
|
%{perl_vendorlib}/XML/
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
%changelog
|
|
* Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.09-2.1
|
|
- correct license tag
|
|
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
|
* Sat Feb 17 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.09-2
|
|
- Minor specfile cleanups.
|
|
- Dist tag.
|
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.09-1.2.1
|
|
- rebuild
|
|
|
|
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1.09-1.2
|
|
- rebuild for new perl-5.8.8
|
|
|
|
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
- rebuilt for new gcc
|
|
|
|
* Fri Sep 9 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.09-1
|
|
- Update to 1.09.
|
|
|
|
* Sat Apr 30 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.08-7
|
|
- Bring up to date with current Fedora.Extras perl spec template. (#156511)
|
|
|
|
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 1.08-6
|
|
- rebuild
|
|
|
|
* Thu Oct 17 2002 cturner@redhat.com
|
|
- Specfile autogenerated
|
|
|