perl-XML-NamespaceSupport-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Summary: a simple generic namespace support class for perl
  2. Name: perl-XML-NamespaceSupport
  3. Version: 1.11
  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. * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.11-1
  46. - new upstream release.
  47. * Fri May 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.09-2
  48. - rebuild with perl-5.12.3
  49. * Fri May 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.09-1
  50. - new upsteram release
  51. - used vendor_perl dir
  52. - changed Group to Development/Libraries
  53. - rebuilt with perl 5.10.0-2
  54. * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 1.08-0vl2
  55. - build on perl-5.8.6-0vl1
  56. * Sun Oct 17 2004 Satoshi MACHINO <machino@vinelinux.org> 1.08-0vl1
  57. - new upstream version
  58. - changed to License
  59. * Mon Apr 15 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.04-0vl1
  60. - first build for Vine Linux