source: projects/specs/trunk/p/perl-Curses/perl-Curses-vl.spec @ 9512

Revision 9512, 4.8 KB checked in by inagaki, 9 years ago (diff)

2015-04-16 Ryoichi INAGAKI <ryo1@…>

  • perl-{Cairo, Clone, Curses, Event, Guard, IO-AIO,

IO-Socket-SSL, IPC-Run, Tk, URI}: updated


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