source: projects/specs/branches/6/p/perl-TermReadKey/perl-TermReadKey-vl.spec @ 3131

Revision 3131, 4.0 KB checked in by iwaim, 13 years ago (diff)

perl-TermReadKey?-2.30-3vl6

Line 
1Name:           perl-TermReadKey
2Version:        2.30
3Release:        3%{?_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
12BuildRequires:  perl(ExtUtils::MakeMaker)
13%if "%{?_dist_release}" == "vl4"
14Requires:       perl = %(rpm -q --qf '%%{epoch}:%%{version}' perl)
15%else
16Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17%endif
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="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
35make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
36
37
38%install
39rm -rf $RPM_BUILD_ROOT
40make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
41find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
42find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
43find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
44chmod -R u+w $RPM_BUILD_ROOT/*
45
46
47%check
48make test
49
50
51%clean
52rm -rf $RPM_BUILD_ROOT
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* Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 2.30-3vl6
65- build with perl 5.12.3
66
67* Thu Jan 29 2009 IWAI, Masaharu <iwai@alib.jp> - 2.30-2
68- do not require perl(:MODULE_COMPAT_x.y.z) on Vine Linux 4.x
69
70* Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30-1
71- initial build for Vine Linux
72
73* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.30-6
74- Rebuild for perl 5.10 (again)
75
76* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.30-5
77- Autorebuild for GCC 4.3
78
79* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.36-4
80- rebuild for new perl
81
82* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 2.30-3
83- fix various issues from package review:
84- remove extra || : from %%check
85- add dist tag to release
86- remove BR: perl
87- fix tabs and spacing
88
89* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.30-2
90- correct license tag
91- add BR: perl(ExtUtils::MakeMaker)
92
93* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
94- rebuild
95
96* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.30-1.2.2
97- bump again for double-long bug on ppc(64)
98
99* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.30-1.2.1
100- rebuilt for new gcc4.1 snapshot and glibc changes
101
102* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 2.30-1.2
103- rebuild for new perl-5.8.8
104
105* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
106- rebuilt for new gcc
107
108* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.30-1
109- Update to 2.30.
110- spec cleanup (#153200)
111
112* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
113- rebuilt
114
115* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
116- rebuilt
117
118* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
119- rebuilt
120
121* Tue Jun 17 2003 Chip Turner <cturner@redhat.com> 2.20-12
122- rebuild
123
124* Mon Jan 27 2003 Chip Turner <cturner@redhat.com>
125- version bump and rebuild
126
127* Wed Nov 20 2002 Chip Turner <cturner@redhat.com>
128- rebuild
129
130* Tue Sep 10 2002 Chip Turner <cturner@redhat.com>
131- remove 'make test' as it seems to open a tty and hang
132
133* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
134- automated release bump and build
135
136* Tue Aug  6 2002 Chip Turner <cturner@localhost.localdomain>
137- update to 2.20
138
139* Wed Jan 30 2002 cturner@redhat.com
140- Specfile autogenerated
141
Note: See TracBrowser for help on using the repository browser.