perl-Config-IniFiles-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. %define pkgname Config-IniFiles
  2. Summary: A perl module for reading .ini-style configuration files.
  3. Name: perl-%{pkgname}
  4. Version: 3.000003
  5. Release: 1%{?_dist_release}
  6. Group: programming
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: GPL+ or Artistic
  10. URL: http://config-inifiles.sourceforge.net/
  11. Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{pkgname}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildArch: noarch
  14. BuildRequires: perl(Module::Build)
  15. BuildRequires: perl(strict)
  16. BuildRequires: perl(warnings)
  17. BuildRequires: sed
  18. # Run-time:
  19. BuildRequires: perl(Carp)
  20. BuildRequires: perl(Fcntl)
  21. BuildRequires: perl(File::Basename)
  22. BuildRequires: perl(File::Temp)
  23. BuildRequires: perl(IO::Scalar)
  24. BuildRequires: perl(List::Util)
  25. BuildRequires: perl(Symbol)
  26. BuildRequires: perl(vars)
  27. # Tests:
  28. BuildRequires: perl(base)
  29. BuildRequires: perl(English)
  30. BuildRequires: perl(Exporter)
  31. BuildRequires: perl(File::Spec)
  32. BuildRequires: perl(IO::File)
  33. BuildRequires: perl(IO::Handle)
  34. BuildRequires: perl(IPC::Open3)
  35. BuildRequires: perl(lib)
  36. BuildRequires: perl(parent)
  37. BuildRequires: perl(Scalar::Util)
  38. BuildRequires: perl(Test::More)
  39. Requires: perl(:SCRIPT_COMPAT_5)
  40. %description
  41. Config::IniFiles provides a way to have readable configuration files
  42. outside your Perl script. Configurations can be imported (inherited,
  43. stacked,...), sections can be grouped, and settings can be accessed
  44. from a tied hash.
  45. %prep
  46. %setup -q -n %{pkgname}-%{version}
  47. # Normalize end-of-lines
  48. sed -i -e 's/\r$//' Changes OLD-Changes.txt
  49. %build
  50. perl Build.PL installdirs=vendor
  51. ./Build
  52. %install
  53. ./Build install destdir=%{buildroot} create_packlist=0
  54. %{_fixperms} %{buildroot}/*
  55. %check
  56. ./Build test
  57. %clean
  58. rm -rf %{buildroot}
  59. %files
  60. %license LICENSE
  61. %doc Changes OLD-Changes.txt README
  62. %{perl_vendorlib}/Config/
  63. %{_mandir}/man3/*.3pm*
  64. %changelog
  65. * Fri Oct 28 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.000003-1
  66. - new upstream release.
  67. - built with perl-5.34.0.
  68. * Tue Sep 03 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.000002-1
  69. - new upstream release.
  70. - built with perl-5.26.2.
  71. * Sun Dec 7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.83-1
  72. - new upstream release
  73. - added BR: perl(List::MoreUtils)
  74. - built with perl 5.16.3
  75. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.68-1
  76. - updated to 2.68
  77. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.39-2
  78. - rebuild with perl-5.12.3
  79. * Tue Jan 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.39-1
  80. - apply new versioning policy
  81. * Wed May 16 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.39-0vl1
  82. - new upstream release
  83. * Sun Oct 03 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.38-0vl1
  84. - initial build for Vine Linux