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

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

perl-5.26 and friends

Line 
1Name:           perl-TermReadKey
2Version:        2.38
3Release:        1%{?_dist_release}
4Summary:        A perl module for simple terminal control
5
6Group:          Development/Libraries
7License:        Copyright only
8URL:            http://search.cpan.org/dist/TermReadKey/
9Source0:        http://www.cpan.org/authors/id/J/JS/JSTOWE/TermReadKey-%{version}.tar.gz
10BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
11
12Vendor:         Project Vine
13Distribution:   Vine Linux
14
15BuildRequires:  libxcrypt-devel
16BuildRequires:  perl(ExtUtils::MakeMaker)
17Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18
19%description
20Term::ReadKey is a compiled perl module dedicated to providing simple
21control over terminal driver modes (cbreak, raw, cooked, etc.)
22support for non-blocking reads, if the architecture allows, and some
23generalized handy functions for working with terminals.  One of the
24main goals is to have the functions as portable as possible, so you
25can just plug in "use Term::ReadKey" on any architecture and have a
26good likelyhood of it working.
27
28
29%prep
30%setup -q -n TermReadKey-%{version}
31
32
33%build
34CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS=vendor
35make %{?_smp_mflags} OPTIMIZE="%{optflags}"
36
37
38%install
39rm -rf %{buildroot}
40make pure_install PERL_INSTALL_ROOT=%{buildroot}
41find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
42find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
43find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
44chmod -R u+w %{buildroot}/*
45
46
47%check
48make test
49
50
51%clean
52rm -rf %{buildroot}
53
54
55%files
56%defattr(-,root,root,-)
57%doc README
58%{perl_vendorarch}/Term/
59%{perl_vendorarch}/auto/Term/
60%{_mandir}/man3/*.3*
61
62
63%changelog
64* Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.38-1
65- new upstream release.
66- rebuilt with perl-5.26.
67- added BR:libxcrypt-devel.
68
69* Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.30-5
70- build with Perl 5.16
71
72* Tue Mar 13 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.30-4
73- rebuild
74
75* Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 2.30-3vl6
76- build with perl 5.12.3
77
78* Thu Jan 29 2009 IWAI, Masaharu <iwai@alib.jp> - 2.30-2
79- do not require perl(:MODULE_COMPAT_x.y.z) on Vine Linux 4.x
80
81* Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30-1
82- initial build for Vine Linux
83
84* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.30-6
85- Rebuild for perl 5.10 (again)
86
87* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.30-5
88- Autorebuild for GCC 4.3
89
90* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.36-4
91- rebuild for new perl
92
93* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 2.30-3
94- fix various issues from package review:
95- remove extra || : from %%check
96- add dist tag to release
97- remove BR: perl
98- fix tabs and spacing
99
100* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.30-2
101- correct license tag
102- add BR: perl(ExtUtils::MakeMaker)
103
104* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
105- rebuild
106
107* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.30-1.2.2
108- bump again for double-long bug on ppc(64)
109
110* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.30-1.2.1
111- rebuilt for new gcc4.1 snapshot and glibc changes
112
113* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 2.30-1.2
114- rebuild for new perl-5.8.8
115
116* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
117- rebuilt for new gcc
118
119* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.30-1
120- Update to 2.30.
121- spec cleanup (#153200)
122
123* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
124- rebuilt
125
126* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
127- rebuilt
128
129* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
130- rebuilt
131
132* Tue Jun 17 2003 Chip Turner <cturner@redhat.com> 2.20-12
133- rebuild
134
135* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
136- version bump and rebuild
137
138* Wed Nov 20 2002 Chip Turner <cturner@redhat.com>
139- rebuild
140
141* Tue Sep 10 2002 Chip Turner <cturner@redhat.com>
142- remove 'make test' as it seems to open a tty and hang
143
144* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
145- automated release bump and build
146
147* Tue Aug  6 2002 Chip Turner <cturner@localhost.localdomain>
148- update to 2.20
149
150* Wed Jan 30 2002 cturner@redhat.com
151- Specfile autogenerated
152
Note: See TracBrowser for help on using the repository browser.