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