perl-XML-Parser-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. Summary: XML-Parser module for perl
  2. Name: perl-XML-Parser
  3. Version: 2.47
  4. Release: 1%{?_dist_release}
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: distributable
  9. URL: https://metacpan.org/pod/XML::Parser
  10. Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: perl >= 5.24.2, libexpat >= 1.95.0, expat-devel
  13. BuildRequires: libxcrypt-devel
  14. Requires: perl >= 5.8.6
  15. %description
  16. This is a Perl extension interface to James Clark's XML parser, expat.
  17. %debug_package
  18. %prep
  19. %setup -q -n XML-Parser-%{version}
  20. %build
  21. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
  22. make
  23. find samples -type f | xargs perl -pi -e "s|^#!(\s)?/usr/local/bin/perl|#!%{__perl}|g"
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. mkdir -p $RPM_BUILD_ROOT{%{_prefix},%{_mandir}/man3}
  27. make DESTDIR=$RPM_BUILD_ROOT install
  28. find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
  29. -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
  30. find $RPM_BUILD_ROOT%{_prefix} -type f -print |
  31. sed "s@^$RPM_BUILD_ROOT@@g" |
  32. grep -v ^%{_mandir} |
  33. grep -v perllocal.pod |
  34. grep -v "\.packlist" > %{name}.files
  35. if [ "$(cat %{name}.files)X" = "X" ] ; then
  36. echo "ERROR: EMPTY FILE LIST"
  37. exit -1
  38. fi
  39. install -m 644 blib/man3/* %{buildroot}%{_mandir}/man3
  40. # %check
  41. # make test
  42. %files -f %{name}.files
  43. %license LICENSE
  44. %doc README.md Changes samples
  45. %dir %{perl_vendorarch}/auto/XML
  46. %dir %{perl_vendorarch}/auto/XML/Parser
  47. %dir %{perl_vendorarch}/auto/XML/Parser/Expat
  48. %dir %{perl_vendorarch}/XML
  49. %dir %{perl_vendorarch}/XML/Parser
  50. %dir %{perl_vendorarch}/XML/Parser/Encodings
  51. %dir %{perl_vendorarch}/XML/Parser/Style
  52. %{_mandir}/*/*
  53. %changelog
  54. * Wed Jun 11 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.47-1
  55. - new upstream release.
  56. - built with perl-5.40.0.
  57. * Tue Nov 16 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.46-1
  58. - new upstream release.
  59. - built with perl-5.34.0.
  60. * Wed May 15 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.44-1
  61. - new upstream release.
  62. - added BR:libxcrypt-devel.
  63. * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.40-2
  64. - build with Perl 5.16
  65. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 2.40-1
  66. - new upstream release
  67. - add Requires: perl(:MODULE_COMPAT_...)
  68. - fix date for 2.36-2 in changelog
  69. - add directory in files
  70. - add Vendor and Distribution tags
  71. * Sun Mar 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.36-2
  72. - rebuild with perl-5.12.3
  73. - drop %%check
  74. * Fri May 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.36-1vl5
  75. - new upstream release
  76. * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.34-1vl5
  77. - rebuild with perl-5.10.0
  78. - installed modules into vendor_perl directory
  79. * Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.34-0vl5
  80. - rebuild with expat-2.0.1
  81. * Fri Aug 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.34-0vl4
  82. - s/Copyright/License/
  83. - add BuildRequires: expat-devel
  84. * Mon Nov 29 2004 IWAI, Masaharu <iwai@alib.jp> 2.34-0vl3
  85. - build on perl-5.8.6-0vl1
  86. * Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 2.34-0vl2
  87. - built on perl-5.8.2
  88. * Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 2.34-0vl1
  89. - new upstream version
  90. - built on perl-5.8.1
  91. * Thu Apr 17 2003 IWAI Masaharu <iwai@alib.jp> 2.31-0vl2
  92. - rebuild with perl-5.8.0
  93. * Mon Apr 15 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 2.31-0vl1
  94. - first release for Vine Linux