source: projects/specs/trunk/p/perl-Data-ShowTable/perl-Data-ShowTable-vl.spec @ 9081

Revision 9081, 3.3 KB checked in by inagaki, 9 years ago (diff)

2014-11-12 Ryoichi INAGAKI <ryo1@…>


Line 
1%define name perl-Data-ShowTable
2%define real_name Data-ShowTable
3%define version 4.6
4%define release 1%{?_dist_release}
5
6Summary: Perl 5 module to print arrays of data
7Name: %{name}
8Version: %{version}
9Release: %{release}
10License: GPL
11Group: Development/Libraries
12URL: http://search.cpan.org/~akste/Data-ShowTable/
13
14Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Data/%{real_name}-%{version}.tar.gz
15
16BuildArch: noarch
17Buildroot: %{_tmppath}/%{name}-%{version}-root
18BuildRequires:  perl(ExtUtils::MakeMaker)
19Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
23
24%description
25ShowTable.pm, version 4.6, is a Perl 5 module which defines subroutines to
26print arrays of data in a nicely formatted listing, using one of four possible
27formats: simple table, boxed table, list style, and HTML-formatting (for
28World-Wide-Web output). See the documentation on ShowTable.pm for details on
29the formatting.
30
31%prep
32%setup -q -n %{real_name}-%{version}
33
34%build
35perl Makefile.PL INSTALLDIRS=vendor
36make
37
38%check
39make test
40
41%install
42[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
43make install DESTDIR=$RPM_BUILD_ROOT
44
45[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
46
47find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
48
49find $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
53if [ "$(cat Data-ShowTable-%{version}-filelist)X" = "X" ] ; then
54    echo "ERROR: EMPTY FILE LIST"
55    exit -1
56fi
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
Note: See TracBrowser for help on using the repository browser.