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

Revision 12120, 2.5 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

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