source: projects/specs/trunk/p/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu-vl.spec @ 9463

Revision 9463, 2.7 KB checked in by inagaki, 9 years ago (diff)

2015-03-22 Ryoichi INAGAKI <ryo1@…>

  • device-mapper-multipath, lvm2, libqalculate, ntp, perl-Term-ReadLine?-Gnu, physfs, postgresql: rebuilt


Line 
1Name:           perl-Term-ReadLine-Gnu
2Version:        1.26
3Release:        1%{?_dist_release}
4Summary:        Perl extension for the GNU Readline/History Library
5Summary(ja):    GNU Readline/History ライブラリのための Perl 拡張
6License:        GPL+ or Artistic
7Group:          Development/Libraries
8URL:            http://search.cpan.org/dist/Term-ReadLine-Gnu/
9Source0:        http://www.cpan.org/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-%{version}.tar.gz
10
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12BuildRequires:  expect
13BuildRequires:  ncurses-devel
14BuildRequires:  perl(ExtUtils::MakeMaker)
15BuildRequires:  readline-devel >= 2.1
16Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17
18%description
19An implementation of Term::ReadLine using the GNU Readline/History Library.
20
21%prep
22%setup -q -n Term-ReadLine-Gnu-%{version}
23
24%build
25# Fix permissions and shebang paths at one shot
26find . -type f -exec chmod 0664 '{}' \; \
27       -exec sed 's,^#! */usr/local,#!%{_prefix},' -i '{}' \;
28%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
29make %{?_smp_mflags}
30
31
32%install
33rm -rf $RPM_BUILD_ROOT
34
35make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
36
37find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
38find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
39find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
40
41%{_fixperms} $RPM_BUILD_ROOT
42
43%check
44# Expect is used so that we get a PTY, as if we were
45# in a real terminal, where readline works
46expect -c '
47        spawn make test
48        expect eof
49        exit [lindex [wait] 3]
50'
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55
56%files
57%defattr(-,root,root,-)
58%doc README
59%{_bindir}/perlsh
60%{perl_vendorarch}/auto/*
61%{perl_vendorarch}/Term*
62%{_mandir}/man1/perlsh.1*
63%{_mandir}/man3/*
64
65
66%changelog
67* Sun Mar 22 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.26-1
68- new upstream release
69- built with readline 6.3
70
71* Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.24-1
72- updated to 1.24
73- dropt Patch0
74- built with perl 5.16.3
75
76* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.17a-2
77- rebuild with perl-5.12.3
78
79* Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.17a-1
80- initial build for Vine Linux
81
82* Wed Jul 02 2008 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> 1.17a-4
83- Remote the workaround introduced in previous change
84- Disable Visual Bell test
85
86* Tue Jul 01 2008 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> 1.17a-3
87- Patch around rt#56500 perl bug hoping for better tomorrows
88
89* Sat Jun 28 2008 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> 1.17a-2
90- Tun the test suite with a pseudo-terminal
91
92* Fri Jun 27 2008 Lubomir Rintel (Good Data) <lubo.rintel@gooddata.com> 1.17a-1
93- Specfile autogenerated by cpanspec 1.75.
Note: See TracBrowser for help on using the repository browser.