[5803] | 1 | Name: perl-Curses |
---|
| 2 | Version: 1.28 |
---|
| 3 | Release: 1%{?_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 | * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.28-1 |
---|
| 73 | - initial build for Vine Linux |
---|
| 74 | |
---|
| 75 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-5 |
---|
| 76 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 77 | |
---|
| 78 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.28-4 |
---|
| 79 | - Perl mass rebuild |
---|
| 80 | |
---|
| 81 | * Tue Jun 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.28-3 |
---|
| 82 | - Perl mass rebuild |
---|
| 83 | |
---|
| 84 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-2 |
---|
| 85 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 86 | |
---|
| 87 | * Sun Feb 6 2011 Steve Traylen <steve.traylen@cern.ch> - 1.28-1 |
---|
| 88 | - Upstream to 1.28 |
---|
| 89 | |
---|
| 90 | * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.27-5 |
---|
| 91 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
| 92 | |
---|
| 93 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.27-4 |
---|
| 94 | - Mass rebuild with perl-5.12.0 |
---|
| 95 | |
---|
| 96 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.27-3 |
---|
| 97 | - rebuild against perl 5.10.1 |
---|
| 98 | |
---|
| 99 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-2 |
---|
| 100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 101 | |
---|
| 102 | * Thu Jul 16 2009 kwizart < kwizart at gmail.com > - 1.27-1 |
---|
| 103 | - Update to 1.27 |
---|
| 104 | - Remove exec perm for demo* provided as %%doc - Fix #510186 |
---|
| 105 | |
---|
| 106 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-4 |
---|
| 107 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 108 | |
---|
| 109 | * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.20-3 |
---|
| 110 | - rebuild for new perl |
---|
| 111 | |
---|
| 112 | * Thu Feb 14 2008 Garrick Staples <garrick@usc.edu> 1.20-2 |
---|
| 113 | - forgot to update tarball, building |
---|
| 114 | |
---|
| 115 | * Thu Feb 14 2008 Garrick Staples <garrick@usc.edu> 1.20-1 |
---|
| 116 | - bump to 1.20 |
---|
| 117 | |
---|
| 118 | * Fri Aug 17 2007 Garrick Staples <garrick@usc.edu> 1.16-4 |
---|
| 119 | - fix /usr//bin/perl, bz#253336 |
---|
| 120 | |
---|
| 121 | * Thu Aug 16 2007 Garrick Staples <garrick@usc.edu> 1.16-3 |
---|
| 122 | - need BR: perl(Test::More) |
---|
| 123 | |
---|
| 124 | * Thu Aug 16 2007 Garrick Staples <garrick@usc.edu> 1.16-2 |
---|
| 125 | - rebuild |
---|
| 126 | |
---|
| 127 | * Thu Aug 16 2007 Garrick Staples <garrick@usc.edu> 1.16-1 |
---|
| 128 | - bump to 1.16 |
---|
| 129 | - correct License: tag |
---|
| 130 | - need BR: perl-devel |
---|
| 131 | |
---|
| 132 | * Sun Aug 27 2006 Garrick Staples <garrick@usc.edu> 1.15-1 |
---|
| 133 | - bump to 1.15 |
---|
| 134 | |
---|
| 135 | * Sun Aug 27 2006 Garrick Staples <garrick@usc.edu> 1.14-2 |
---|
| 136 | - rebuild |
---|
| 137 | |
---|
| 138 | * Sun Aug 27 2006 Garrick Staples <garrick@usc.edu> 1.14-1 |
---|
| 139 | - bump to 1.14 |
---|
| 140 | - FC6 mass rebuild |
---|
| 141 | |
---|
| 142 | * Fri Apr 21 2006 Garrick Staples <garrick@usc.edu> 1.13-3 |
---|
| 143 | - add a note about the falsely alarming warning |
---|
| 144 | - don't remove execute bit from demos |
---|
| 145 | |
---|
| 146 | * Thu Apr 20 2006 Garrick Staples <garrick@usc.edu> 1.13-2 |
---|
| 147 | - spec cleanups |
---|
| 148 | - add doc files |
---|
| 149 | |
---|
| 150 | * Wed Apr 19 2006 Garrick Staples <garrick@usc.edu> 1.13-1 |
---|
| 151 | - Initial spec file |
---|