source: projects/specs/trunk/p/perl-Tk-TableMatrix/perl-Tk-TableMatrix-vl.spec @ 8731

Revision 8731, 2.3 KB checked in by tomop, 10 years ago (diff)

updated perl modules.

Line 
1%define pkgname Tk-TableMatrix
2
3Summary:       Perl module for creating and manipulating tables.
4Name:          perl-%{pkgname}
5Version:       1.23
6Release:       1%{?_dist_release}
7Group:         Development/Libraries
8License:       Artistic
9Url:           http://search.cpan.org/author/CERNEY/%{pkgname}-%{version}/
10Source:        http://search.cpan.org/CPAN/authors/id/C/CE/CERNEY/%{pkgname}-%{version}.tar.gz
11BuildRoot:     %{_tmppath}/%{name}-%{version}-root
12BuildRequires: perl(Tk), xorg-x11-devel
13Requires:      perl(Tk)
14Requires:      perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
15
16%description
17The TableMatrix command creates a 2-dimensional grid of cells. The
18table can use a Tcl array variable or Tcl command for data storage and
19retrieval.
20
21%prep
22%setup -q -n %{pkgname}-%{version}
23
24%build
25perl Makefile.PL X11LIB=%{_libdir} INSTALLDIRS=vendor
26find . -name Makefile | xargs perl -pi -e's/pod2man --center (.*) "--"/pod2man -- --center $1/'
27make
28
29%install
30rm -rf %{buildroot}
31%makeinstall DESTDIR=$RPM_BUILD_ROOT
32
33[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
34
35find $RPM_BUILD_ROOT/usr -type f -print | \
36        sed "s@^$RPM_BUILD_ROOT@@g" | \
37        grep -v perllocal.pod | \
38        grep -v "\.packlist" > %{pkgname}-%{version}-filelist
39if [ "$(cat %{pkgname}-%{version}-filelist)X" = "X" ] ; then
40    echo "ERROR: EMPTY FILE LIST"
41    exit -1
42fi
43
44%clean
45rm -rf %{buildroot}
46
47%files -f %{pkgname}-%{version}-filelist
48%defattr(-,root,root,-)
49%{perl_archlib}/perllocal.pod
50%{perl_vendorarch}/auto/Tk/TableMatrix/.packlist
51
52%changelog
53* Thu Jul 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.23-1
54- new upstream release.
55
56* Sun May 22 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.22-3
57- rebuild with perl-5.12.3
58
59* Sat Oct 11 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.22-2vl5
60- removed BuildRequires: pwlib-devel
61- installed to vendor_perl dir
62
63* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.01-1vl5
64- applied new versioning policy
65- built with perl-5.10.0
66
67* Mon Dec 31 2007 Shu KONNO <owa@bg.wakwak.com> 1.01-0vl3
68- added X11LIB to build (for x86_64)
69
70* Tue Aug 29 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.01-0vl2
71- new upstream release
72- rebuild with pwlib-1.10.1
73
74* Wed Mar  3 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.01-0vl1
75- initial build for Vine Linux
76
Note: See TracBrowser for help on using the repository browser.