perl-XML-XQL-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Name: perl-XML-XQL
  2. Version: 0.68
  3. Release: 4%{?_dist_release}
  4. Summary: Perl module for querying XML tree structures with XQL
  5. Summary(ja): XQL を利用して XML ツリー構造を問い合わせるための Perl モジュール
  6. License: GPL+ or Artistic
  7. Group: Development/Libraries
  8. URL: http://search.cpan.org/dist/XML-XQL/
  9. Source0: http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-XQL-%{version}.tar.gz
  10. Patch0: %{name}-tput-147465.patch
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. BuildArch: noarch
  15. BuildRequires: perl(Date::Manip) >= 5.33
  16. BuildRequires: perl(ExtUtils::MakeMaker)
  17. BuildRequires: perl(LWP::UserAgent)
  18. BuildRequires: perl(Parse::Yapp)
  19. BuildRequires: perl(XML::DOM)
  20. BuildRequires: perl(XML::Parser)
  21. Requires: perl(XML::DOM)
  22. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  23. Source99: XML-XQL-filter-provides.sh
  24. %global real_perl_provides %{__perl_provides}
  25. %define __perl_provides %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)-filter-provides
  26. %description
  27. This is a Perl extension that allows you to perform XQL queries on XML
  28. object trees. Currently only the XML::DOM module is supported, but
  29. other implementations, like XML::Grove, may soon follow.
  30. %prep
  31. %setup -q -n XML-XQL-%{version}
  32. %patch0 -p0
  33. sed -e 's,@@PERL_PROV@@,%{real_perl_provides},' %{SOURCE99} > %{__perl_provides}
  34. chmod +x %{__perl_provides}
  35. %build
  36. %{__perl} Makefile.PL INSTALLDIRS=vendor
  37. make %{?_smp_mflags}
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  41. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  42. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  43. %{_fixperms} $RPM_BUILD_ROOT/*
  44. %check
  45. make test
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT %{__perl_provides}
  48. %files
  49. %defattr(-,root,root,-)
  50. %doc Changes README
  51. %{_bindir}/xql.pl
  52. %{perl_vendorlib}/XML/
  53. %{_mandir}/man3/XML::XQL*.3*
  54. %changelog
  55. * Mon May 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.68-4
  56. - rebuilt with perl-5.26.
  57. * Tue Jul 01 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.68-3
  58. - rebuild with perl-5.16.3
  59. * Sun Mar 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.68-2
  60. - rebuild with perl-5.12.3
  61. * Wed Sep 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.68-1
  62. - initial build for Vine Linux
  63. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-8
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  65. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-7
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  67. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.68-6
  68. - Rebuild for perl 5.10 (again)
  69. * Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.68-5
  70. - rebuild for new perl
  71. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.68-4
  72. - Reformat to match cpanspec output.
  73. - Fix find option order.
  74. - Use fixperms macro instead of our own chmod incantation.
  75. - BR ExtUtils::MakeMaker.
  76. * Sun Aug 27 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.68-3
  77. - Rebuild for FC6
  78. * Thu Jun 08 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.68-2
  79. - rebuilt and spec clean.
  80. * Sun Nov 6 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.68-1
  81. - First Fedora Extras release.
  82. * Thu Nov 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.68-0.3
  83. - Add minimum version to XML::DOM build dependency, filter out
  84. versionless perl(XML::DOM) provision (#172332, Ralf Corsepius).
  85. * Thu Nov 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.68-0.2
  86. - Fix insecure $PATH error in taint mode (#147465).
  87. - Avoid warnings with empty (but defined) $TERM (#147465).
  88. * Thu Oct 27 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.68-0.1
  89. - First build (#128879).