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