]> git.pld-linux.org Git - packages/perl-Term-ReadLine-Gnu.git/blame - perl-Term-ReadLine-Gnu.spec
rebuild with perl 5.32
[packages/perl-Term-ReadLine-Gnu.git] / perl-Term-ReadLine-Gnu.spec
CommitLineData
0d3ad900 1#
2# Conditional build:
1c10f237 3%bcond_with tests # perform "make test" (require a working X connection)
0d3ad900 4#
d314aeb2 5%define pdir Term
6%define pnam ReadLine-Gnu
3006d682
JB
7Summary: Term::ReadLine::Gnu - Perl interface for the GNU Readline/History library
8Summary(pl.UTF-8): Term::ReadLine::Gnu - perlowy interfejs do biblioteki GNU Readline/History
43694a7f 9Name: perl-Term-ReadLine-Gnu
4bee7399 10Version: 1.36
8c0624b4 11Release: 4
772b11c3 12# same as perl
13License: GPL v1+ or Artistic
43694a7f 14Group: Development/Languages/Perl
33136c64 15Source0: http://www.cpan.org/modules/by-module/Term/HAYASHI/%{pdir}-%{pnam}-%{version}.tar.gz
4bee7399 16# Source0-md5: f8636c8e17b3266f3a686521a0c06886
3006d682 17URL: http://search.cpan.org/dist/Term-ReadLine-Gnu/
7fd756d0 18BuildRequires: ncurses-devel >= 5.2
49bfff56 19BuildRequires: perl-devel >= 1:5.8.0
7fd756d0 20BuildRequires: readline-devel >= 4.2
e7ec2b2d 21BuildRequires: rpm-perlprov >= 4.1-13
7586bb8a 22Provides: perl(Term::ReadLine::Gnu::XS)
4f8ade09 23Obsoletes: perl-Term-Readline-Gnu
1c10f237 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43694a7f
AF
25
26%description
3006d682
JB
27Term::ReadLine::Gnu Perl module is an implementation of the interface
28to the GNU Readline Library. This module gives you input line editing
29facility, input history management facility, word completion facility,
30etc. It uses the real GNU Readline Library. And this module has the
31interface with the almost all variables and functions which are
32documented in the GNU Readline/History Library. So you can program
33your custom editing function, your custom completion function, and so
34on with Perl. This may be useful for prototyping before programming
35with C.
ac1041ac 36
727d2cb1 37%description -l pl.UTF-8
3006d682 38Moduł Perla Term::ReadLine::Gnu jest implementacją interfejsu do
727d2cb1
JR
39biblioteki GNU Readline. Udostępnia linię wprowadzania tekstu z
40możliwością edycji, zarządzania historią, automatycznym dopełnianiem
41itp. Używa biblioteki GNU Readline, ma interfejs do prawie wszystkich
42zmiennych i funkcji bibliotek Readline i History - można więc
43oprogramować własne funkcje edycji, dopełniania itp.
43694a7f
AF
44
45%prep
c80ffb16 46%setup -q -n %{pdir}-%{pnam}-%{version}
43694a7f
AF
47
48%build
e7ec2b2d 49%{__perl} Makefile.PL \
67215c0c 50 INSTALLDIRS=vendor
772b11c3 51%{__make} \
ece509ae 52 CC="%{__cc}" \
772b11c3 53 OPTIMIZE="%{rpmcflags} -DPERL_POLLUTE"
43694a7f 54
1c10f237 55%{?with_tests:%{__make} test}
0d3ad900 56
43694a7f
AF
57%install
58rm -rf $RPM_BUILD_ROOT
2970fa93 59install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
43694a7f 60
33136c64 61%{__make} install \
ece509ae 62 CC="%{__cc}" \
33136c64
JB
63 DESTDIR=$RPM_BUILD_ROOT
64
1995eade 65rm -f eg/*.orig
2970fa93 66install eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
43694a7f 67
43694a7f
AF
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%files
72%defattr(644,root,root,755)
c443125a 73%doc README
e7ec2b2d 74%dir %{perl_vendorarch}/Term/ReadLine
75%{perl_vendorarch}/Term/ReadLine/Gnu*
76%dir %{perl_vendorarch}/auto/Term/ReadLine
77%dir %{perl_vendorarch}/auto/Term/ReadLine/Gnu
33136c64 78%attr(755,root,root) %{perl_vendorarch}/auto/Term/ReadLine/Gnu/Gnu.so
fc120e1e 79# empty autosplit.ix and *.al files, but requred
e7ec2b2d 80%dir %{perl_vendorarch}/auto/Term/ReadLine/Gnu/XS
fc120e1e 81%{perl_vendorarch}/auto/Term/ReadLine/Gnu/XS/*.al
e7ec2b2d 82%{perl_vendorarch}/auto/Term/ReadLine/Gnu/XS/autosplit.ix
33136c64 83%{_mandir}/man3/Term::ReadLine::Gnu.3pm*
5d383880 84%dir %{_examplesdir}/%{name}-%{version}
1fc097ce 85%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*
This page took 0.0903 seconds and 4 git commands to generate.