perl-XML-NamespaceSupport-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Summary: a simple generic namespace support class for perl
  2. Name: perl-XML-NamespaceSupport
  3. Version: 1.09
  4. Release: 1%{?_dist_release}
  5. License: distributable
  6. Group: Development/Libraries
  7. Source0: http://www.cpan.org/authors/id/R/RB/RBERJON/XML-NamespaceSupport-%{version}.tar.gz
  8. Url: http://search.cpan.org/search?dist=XML-NamespaceSupport
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl >= 5.004
  12. Requires: perl >= 5.004
  13. %description
  14. This module offers a simple to process namespaced XML names
  15. (unames) from within any application that may need them. It
  16. also helps maintain a prefix to namespace URI map, and provides
  17. a number of basic checks.
  18. %prep
  19. %setup -q -n XML-NamespaceSupport-%{version}
  20. %build
  21. %{__perl} Makefile.PL INSTALLDIRS=vendor
  22. make OPTIMIZE="$RPM_OPT_FLAGS"
  23. %install
  24. rm -rf $RPM_BUILD_ROOT
  25. make DESTDIR=$RPM_BUILD_ROOT install
  26. [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
  27. find $RPM_BUILD_ROOT%{_prefix} -type f -print |
  28. sed "s@^$RPM_BUILD_ROOT@@g" |
  29. grep -v ^%{_mandir} |
  30. grep -v perllocal.pod |
  31. grep -v "\.packlist" > %{name}.files
  32. if [ "$(cat %{name}.files)X" = "X" ] ; then
  33. echo "ERROR: EMPTY FILE LIST"
  34. exit -1
  35. fi
  36. %check
  37. make test
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %files -f %{name}.files
  41. %defattr(-,root,root)
  42. %doc README Changes
  43. %{_mandir}/man?/*
  44. %changelog
  45. * Fri May 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.09-1
  46. - new upsteram release
  47. - used vendor_perl dir
  48. - changed Group to Development/Libraries
  49. - rebuilt with perl 5.10.0-2
  50. * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 1.08-0vl2
  51. - build on perl-5.8.6-0vl1
  52. * Sun Oct 17 2004 Satoshi MACHINO <machino@vinelinux.org> 1.08-0vl1
  53. - new upstream version
  54. - changed to License
  55. * Mon Apr 15 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.04-0vl1
  56. - first build for Vine Linux