1 | Name: perl-Curses |
---|
2 | Version: 1.28 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Perl bindings for ncurses |
---|
5 | |
---|
6 | Group: Development/Libraries |
---|
7 | License: GPL+ |
---|
8 | URL: http://search.cpan.org/dist/Curses/ |
---|
9 | Source0: http://search.cpan.org/CPAN/authors/id/G/GI/GIRAFFED/Curses-%{version}.tgz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
11 | |
---|
12 | BuildRequires: ncurses-devel perl(Test::More) |
---|
13 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
14 | |
---|
15 | %description |
---|
16 | Perl bindings for ncurses, bringing terminal-independent character |
---|
17 | handling capabilities to Perl. |
---|
18 | |
---|
19 | |
---|
20 | %prep |
---|
21 | %setup -q -n Curses-%{version} |
---|
22 | test -f hints/c-linux.ncursesw.h || cp hints/c-linux.ncurses.h hints/c-linux.ncursesw.h |
---|
23 | sed -i -e 's|/usr/local/bin/perl|%{__perl}|' demo* |
---|
24 | sed -i -e 's|/usr//bin/perl|%{__perl}|' demo* |
---|
25 | |
---|
26 | %build |
---|
27 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" \ |
---|
28 | PANELS MENUS FORMS |
---|
29 | make %{?_smp_mflags} |
---|
30 | |
---|
31 | # A note about the following alarming output... |
---|
32 | # |
---|
33 | # WARNING: Your Curses form.h file appears to be in the default |
---|
34 | # system search path, which will not work for us because of |
---|
35 | # the conflicting Perl form.h file. This means your 'make' will |
---|
36 | # probably fail unless you fix this, as described in the INSTALL |
---|
37 | # file. |
---|
38 | # |
---|
39 | #... can be ignored because /usr/include/form.h is a symlink to |
---|
40 | #/usr/include/ncurses/form.h, which the Makefile.PL finds and |
---|
41 | #uses quite happily. |
---|
42 | |
---|
43 | |
---|
44 | %install |
---|
45 | rm -rf %{buildroot} |
---|
46 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
47 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
48 | find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' |
---|
49 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
50 | chmod -R u+w %{buildroot}/* |
---|
51 | |
---|
52 | #Remove exec perm for file aimed to be bundled as %%doc |
---|
53 | chmod -x demo* |
---|
54 | |
---|
55 | %check |
---|
56 | make test |
---|
57 | |
---|
58 | |
---|
59 | %clean |
---|
60 | rm -rf %{buildroot} |
---|
61 | |
---|
62 | |
---|
63 | %files |
---|
64 | %defattr(-,root,root,-) |
---|
65 | %doc Copying Artistic README demo* |
---|
66 | %{perl_vendorarch}/auto/* |
---|
67 | %{perl_vendorarch}/Curses.pm |
---|
68 | %{_mandir}/man3/*.3* |
---|
69 | |
---|
70 | |
---|
71 | %changelog |
---|
72 | * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.28-2 |
---|
73 | - build with Perl 5.16 |
---|
74 | |
---|
75 | * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.28-1 |
---|
76 | - initial build for Vine Linux |
---|
77 | |
---|
78 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-5 |
---|
79 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
80 | |
---|
81 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.28-4 |
---|
82 | - Perl mass rebuild |
---|
83 | |
---|
84 | * Tue Jun 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.28-3 |
---|
85 | - Perl mass rebuild |
---|
86 | |
---|
87 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-2 |
---|
88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
89 | |
---|
90 | * Sun Feb 6 2011 Steve Traylen <steve.traylen@cern.ch> - 1.28-1 |
---|
91 | - Upstream to 1.28 |
---|
92 | |
---|
93 | * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.27-5 |
---|
94 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
95 | |
---|
96 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.27-4 |
---|
97 | - Mass rebuild with perl-5.12.0 |
---|
98 | |
---|
99 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.27-3 |
---|
100 | - rebuild against perl 5.10.1 |
---|
101 | |
---|
102 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-2 |
---|
103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
104 | |
---|
105 | * Thu Jul 16 2009 kwizart < kwizart at gmail.com > - 1.27-1 |
---|
106 | - Update to 1.27 |
---|
107 | - Remove exec perm for demo* provided as %%doc - Fix #510186 |
---|
108 | |
---|
109 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-4 |
---|
110 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
111 | |
---|
112 | * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.20-3 |
---|
113 | - rebuild for new perl |
---|
114 | |
---|
115 | * Thu Feb 14 2008 Garrick Staples <garrick@usc.edu> 1.20-2 |
---|
116 | - forgot to update tarball, building |
---|
117 | |
---|
118 | * Thu Feb 14 2008 Garrick Staples <garrick@usc.edu> 1.20-1 |
---|
119 | - bump to 1.20 |
---|
120 | |
---|
121 | * Fri Aug 17 2007 Garrick Staples <garrick@usc.edu> 1.16-4 |
---|
122 | - fix /usr//bin/perl, bz#253336 |
---|
123 | |
---|
124 | * Thu Aug 16 2007 Garrick Staples <garrick@usc.edu> 1.16-3 |
---|
125 | - need BR: perl(Test::More) |
---|
126 | |
---|
127 | * Thu Aug 16 2007 Garrick Staples <garrick@usc.edu> 1.16-2 |
---|
128 | - rebuild |
---|
129 | |
---|
130 | * Thu Aug 16 2007 Garrick Staples <garrick@usc.edu> 1.16-1 |
---|
131 | - bump to 1.16 |
---|
132 | - correct License: tag |
---|
133 | - need BR: perl-devel |
---|
134 | |
---|
135 | * Sun Aug 27 2006 Garrick Staples <garrick@usc.edu> 1.15-1 |
---|
136 | - bump to 1.15 |
---|
137 | |
---|
138 | * Sun Aug 27 2006 Garrick Staples <garrick@usc.edu> 1.14-2 |
---|
139 | - rebuild |
---|
140 | |
---|
141 | * Sun Aug 27 2006 Garrick Staples <garrick@usc.edu> 1.14-1 |
---|
142 | - bump to 1.14 |
---|
143 | - FC6 mass rebuild |
---|
144 | |
---|
145 | * Fri Apr 21 2006 Garrick Staples <garrick@usc.edu> 1.13-3 |
---|
146 | - add a note about the falsely alarming warning |
---|
147 | - don't remove execute bit from demos |
---|
148 | |
---|
149 | * Thu Apr 20 2006 Garrick Staples <garrick@usc.edu> 1.13-2 |
---|
150 | - spec cleanups |
---|
151 | - add doc files |
---|
152 | |
---|
153 | * Wed Apr 19 2006 Garrick Staples <garrick@usc.edu> 1.13-1 |
---|
154 | - Initial spec file |
---|