perl-Data-ShowTable-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. %define name perl-Data-ShowTable
  2. %define real_name Data-ShowTable
  3. %define version 4.6
  4. %define release 1%{?_dist_release}
  5. Summary: Perl 5 module to print arrays of data
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. License: GPL
  10. Group: Development/Libraries
  11. URL: http://search.cpan.org/~akste/Data-ShowTable/
  12. Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Data/%{real_name}-%{version}.tar.gz
  13. BuildArch: noarch
  14. Buildroot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: perl(ExtUtils::MakeMaker)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. ShowTable.pm, version 4.6, is a Perl 5 module which defines subroutines to
  21. print arrays of data in a nicely formatted listing, using one of four possible
  22. formats: simple table, boxed table, list style, and HTML-formatting (for
  23. World-Wide-Web output). See the documentation on ShowTable.pm for details on
  24. the formatting.
  25. %prep
  26. %setup -q -n %{real_name}-%{version}
  27. %build
  28. perl Makefile.PL INSTALLDIRS=vendor
  29. make
  30. %check
  31. make test
  32. %install
  33. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  34. make install DESTDIR=$RPM_BUILD_ROOT
  35. [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
  36. find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
  37. find $RPM_BUILD_ROOT/usr -type f -print |
  38. sed "s@^$RPM_BUILD_ROOT@@g" |
  39. grep -v perllocal.pod |
  40. grep -v "\.packlist" > Data-ShowTable-%{version}-filelist
  41. if [ "$(cat Data-ShowTable-%{version}-filelist)X" = "X" ] ; then
  42. echo "ERROR: EMPTY FILE LIST"
  43. exit -1
  44. fi
  45. %clean
  46. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  47. %files -f Data-ShowTable-%{version}-filelist
  48. %defattr(-,root,root)
  49. %changelog
  50. * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.6-1
  51. - updated to 4.6
  52. - built with perl 5.16.3
  53. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3-8
  54. - rebuild with perl-5.12.3
  55. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 3.3-7vl5
  56. - applied new versioning policy
  57. * Sat Jul 21 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3-6vl6
  58. - changed Group to Development/Libraries
  59. * Sat Jul 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.3-6vl5
  60. - changed Group to Development/Languages
  61. * Mon Jan 10 2005 Satoshi MACHINO <machino@vinelinux.org> 3.3-6vl4
  62. - rebuilt with perl-5.8.6
  63. * Sat Feb 23 2002 Satoshi MACHINO <machino@vinelinux.org> 3.3-6vl3
  64. - changed ftp site of source
  65. * Fri Feb 01 2002 Satoshi MACHINO <machino@vinelinux.org> 3.3-6vl2
  66. - modified spec file
  67. * Sun Jan 27 2002 Satoshi MACHINO <machino@vinelinux.org> 3.3-6vl1
  68. - build on VineLinux
  69. - fixed spec file
  70. * Thu Nov 08 2001 Fran輟is Pons <fpons@mandrakesoft.com> 3.3-6mdk
  71. - added url tag.
  72. * Tue Oct 16 2001 Stefan van der Eijk <stefan@eijk.nu> 3.3-5mdk
  73. - BuildRequires: perl-devel
  74. * Sun Jun 17 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 3.3-4mdk
  75. - Rebuild against latest perl.
  76. * Thu Aug 03 2000 Fran輟is Pons <fpons@mandrakesoft.com> 3.3-3mdk
  77. - macroszifications.
  78. - noarch.
  79. * Mon Apr 3 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 3.3-2mdk
  80. - fixed group
  81. - rebuild with new perl
  82. - fixed location
  83. - patched the source in order to build, the tests in order to test
  84. - fixed install process for correct man1 install
  85. * Sun Dec 05 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
  86. - First spec file