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

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