perl-Config-IniFiles-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. %define pkgname Config-IniFiles
  2. Summary: A perl module for reading .ini-style configuration files.
  3. Name: perl-%{pkgname}
  4. Version: 3.000002
  5. Release: 1%{?_dist_release}
  6. Group: Development/Libraries
  7. License: GPL+ or Artistic
  8. URL: http://config-inifiles.sourceforge.net/
  9. Source0: %{pkgname}-%{version}.tar.gz
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  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. BuildArch: noarch
  40. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  41. %description
  42. Config::IniFiles provides a way to have readable configuration files
  43. outside your Perl script. Configurations can be imported (inherited,
  44. stacked,...), sections can be grouped, and settings can be accessed
  45. from a tied hash.
  46. %prep
  47. %setup -q -n %{pkgname}-%{version}
  48. # Normalize end-of-lines
  49. sed -i -e 's/\r$//' Changes OLD-Changes.txt
  50. %build
  51. perl Build.PL installdirs=vendor
  52. ./Build
  53. %install
  54. ./Build install destdir=%{buildroot} create_packlist=0
  55. %{_fixperms} %{buildroot}/*
  56. %check
  57. ./Build test
  58. %clean
  59. rm -rf %{buildroot}
  60. %files
  61. %license LICENSE
  62. %doc Changes OLD-Changes.txt README
  63. %{perl_vendorlib}/Config/
  64. %{_mandir}/man3/*.3pm*
  65. %changelog
  66. * Tue Sep 03 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.000002-1
  67. - new upstream release.
  68. - built with perl-5.26.2.
  69. * Sun Dec 7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.83-1
  70. - new upstream release
  71. - added BR: perl(List::MoreUtils)
  72. - built with perl 5.16.3
  73. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.68-1
  74. - updated to 2.68
  75. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.39-2
  76. - rebuild with perl-5.12.3
  77. * Tue Jan 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.39-1
  78. - apply new versioning policy
  79. * Wed May 16 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.39-0vl1
  80. - new upstream release
  81. * Sun Oct 03 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.38-0vl1
  82. - initial build for Vine Linux